laura is hosted by Hepforge, IPPP Durham
Laura++  v2r0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauResonanceInfo.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2006 - 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 
19 #ifndef LAU_RESONANCE_INFO
20 #define LAU_RESONANCE_INFO
21 
22 #include "TString.h"
23 
24 
26 
27  public:
29 
37  LauResonanceInfo(const TString& name, Double_t mass, Double_t width, Int_t spin, Int_t charge, Double_t range = 4.0);
38 
40  virtual ~LauResonanceInfo(){}
41 
43 
46  TString getName() const {return name_;}
47 
49 
52  Double_t getMass() const {return mass_;}
53 
55 
58  Double_t getWidth() const {return width_;}
59 
61 
64  Int_t getSpin() const {return spin_;}
65 
67 
70  Int_t getCharge() const {return charge_;}
71 
73 
76  Double_t getRange() const {return range_;}
77 
78  protected:
79 
80  private:
82  TString name_;
83 
85  Double_t mass_;
86 
88  Double_t width_;
89 
91  Int_t spin_;
92 
94  Int_t charge_;
95 
97  Double_t range_;
98 
99  ClassDef(LauResonanceInfo, 0) // Specify each allowed resonance
100 
101 };
102 
103 #endif
Int_t getCharge() const
Retrieve the charge of the resonant particle.
Double_t width_
The width of the resonant particle.
TString getName() const
Retrieve the name of the resonant particle.
Int_t spin_
The spin of the resonant particle.
Class for defining the properties of a resonant particle.
Double_t range_
The range of the resonant particle.
Double_t mass_
The mass of the resonant particle.
Int_t charge_
The charge of the resonant particle.
TString name_
The name of the resonant particle.
Int_t getSpin() const
Retrieve the spin of the resonant particle.
Double_t getRange() const
Retrieve the range of the resonant particle.
virtual ~LauResonanceInfo()
Destructor.
Double_t getMass() const
Retrieve the mass of the resonant particle.
LauResonanceInfo(const TString &name, Double_t mass, Double_t width, Int_t spin, Int_t charge, Double_t range=4.0)
Constructor.
Double_t getWidth() const
Retrieve the width of the resonant particle.