laura is hosted by Hepforge, IPPP Durham
Laura++  v2r2p1
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 
52  LauAbsResonance* getResonance(const TString& resName, const Int_t resPairAmpInt, const LauAbsResonance::LauResonanceModel resType);
53 
55 
59  Int_t resTypeInt(const TString& name) const;
60 
62 
65  UInt_t getNResDefMax() const {return nResDefMax_;}
66 
67  protected:
69  void createResonanceVector();
70 
71  private:
73  UInt_t nResDefMax_;
74 
77 
79  std::vector<LauResonanceInfo> resInfo_;
80 
81  ClassDef(LauResonanceMaker,0) // Kinematic routines
82 };
83 
84 #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, const Int_t resPairAmpInt, const LauAbsResonance::LauResonanceModel 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.
LauResonanceModel
Define the allowed resonance types.
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.