laura is hosted by Hepforge, IPPP Durham
Laura++  v2r1
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauResonanceMaker.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2004 - 2013.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 
6 // Authors:
7 // Thomas Latham
8 // John Back
9 // Paul Harrison
10 
21 #ifndef LAU_RESONANCE_MAKER
22 #define LAU_RESONANCE_MAKER
23 
24 #include "LauResonanceInfo.hh"
25 #include "TString.h"
26 
27 #include <vector>
28 
29 class LauAbsResonance;
30 class LauDaughters;
31 
32 
34 
35  public:
37 
40  LauResonanceMaker(const LauDaughters* daughters);
41 
43  virtual ~LauResonanceMaker();
44 
46 
53  LauAbsResonance* getResonance(const TString& resName, Int_t resPairAmpInt, const TString& resType);
54 
56 
60  Int_t resTypeInt(const TString& name) const;
61 
63 
66  UInt_t getNResDefMax() const {return nResDefMax_;}
67 
68  protected:
70  void createResonanceVector();
71 
72  private:
74  UInt_t nResDefMax_;
75 
78 
80  std::vector<LauResonanceInfo> resInfo_;
81 
82  ClassDef(LauResonanceMaker,0) // Kinematic routines
83 };
84 
85 #endif
const LauDaughters * daughters_
The daughters.
File containing declaration of LauResonanceInfo class.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:33
UInt_t getNResDefMax() const
Retrieve the number of defined resonances.
LauAbsResonance * getResonance(const TString &resName, Int_t resPairAmpInt, const TString &resType)
Create a resonance.
Int_t resTypeInt(const TString &name) const
Retrieve the integer index for the specified resonance.
Class for creating resonances.
void createResonanceVector()
Create the list of known resonances.
LauResonanceMaker(const LauDaughters *daughters)
Constructor.
virtual ~LauResonanceMaker()
Destructor.
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc...
std::vector< LauResonanceInfo > resInfo_
The known resonances.
UInt_t nResDefMax_
The number of known resonances.