laura is hosted by Hepforge, IPPP Durham
Laura++  v3r1
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauCacheData.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2005 - 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 
22 #ifndef LAU_CACHE_DATA
23 #define LAU_CACHE_DATA
24 
25 #include <vector>
26 
27 #include <Rtypes.h>
28 
29 
30 class LauCacheData {
31 
32  public:
34  LauCacheData();
35 
37  virtual ~LauCacheData();
38 
40 
43  LauCacheData(const LauCacheData& rhs);
44 
46 
49  LauCacheData& operator=(const LauCacheData& rhs);
50 
52 
55  inline void storem13Sq(Double_t m13Sq) {m13Sq_ = m13Sq;}
56 
58 
61  inline void storem23Sq(Double_t m23Sq) {m23Sq_ = m23Sq;}
62 
64 
67  inline void storemPrime(Double_t mPrime) {mPrime_ = mPrime;}
68 
70 
73  inline void storethPrime(Double_t thPrime) {thPrime_ = thPrime;}
74 
76 
79  inline void storeTagCat(Int_t tagCat) {tagCat_ = tagCat;}
80 
82 
85  inline void storeEff(Double_t eff) {eff_ = eff;}
86 
88 
91  inline void storeScfFraction(Double_t scfFraction) {scfFraction_ = scfFraction;}
92 
94 
97  inline void storeJacobian(Double_t jacobian) {jacobian_ = jacobian;}
98 
100 
103  inline void storeRealAmp(const std::vector<Double_t>& realAmp) {realAmp_ = realAmp;}
104 
106 
109  inline void storeImagAmp(const std::vector<Double_t>& imagAmp) {imagAmp_ = imagAmp;}
110 
112 
115  inline void storeIncohIntensities(const std::vector<Double_t>& incohIntensities) {incohIntensities_ = incohIntensities;}
116 
118 
121  inline Double_t retrievem13Sq() const {return m13Sq_;}
122 
124 
127  inline Double_t retrievem23Sq() const {return m23Sq_;}
128 
130 
133  inline Double_t retrievemPrime() const {return mPrime_;}
134 
136 
139  inline Double_t retrievethPrime() const {return thPrime_;}
140 
142 
145  inline Int_t retrieveTagCat() const {return tagCat_;}
146 
148 
151  inline Double_t retrieveEff() const {return eff_;}
152 
154 
157  inline Double_t retrieveScfFraction() const {return scfFraction_;}
158 
160 
163  inline Double_t retrieveJacobian() const {return jacobian_;}
164 
166 
169  inline const std::vector<Double_t>& retrieveRealAmp() const {return realAmp_;}
170 
172 
175  inline const std::vector<Double_t>& retrieveImagAmp() const {return imagAmp_;}
176 
178 
181  inline const std::vector<Double_t>& retrieveIncohIntensities() const {return incohIntensities_;}
182 
184 
187  inline std::vector<Double_t>& retrieveRealAmp() {return realAmp_;}
188 
190 
193  inline std::vector<Double_t>& retrieveImagAmp() {return imagAmp_;}
194 
196 
199  inline std::vector<Double_t>& retrieveIncohIntensities() {return incohIntensities_;}
200 
201  protected:
202 
203  private:
205  Double_t m13Sq_;
206 
208  Double_t m23Sq_;
209 
211  Double_t mPrime_;
212 
214  Double_t thPrime_;
215 
217  Int_t tagCat_;
218 
220  Double_t eff_;
221 
223  Double_t scfFraction_;
224 
226  Double_t jacobian_;
227 
229  std::vector<Double_t> realAmp_;
230 
232  std::vector<Double_t> imagAmp_;
233 
235  std::vector<Double_t> incohIntensities_;
236 
237  ClassDef(LauCacheData,0) // Cached Data Class
238 };
239 
240 #endif
Double_t retrievemPrime() const
Retrieve the square Dalitz plot coordinate, m&#39;.
std::vector< Double_t > incohIntensities_
The intensities of the incoherent contributions.
std::vector< Double_t > realAmp_
The real parts of the amplitudes.
LauCacheData()
Constructor.
Definition: LauCacheData.cc:20
Double_t retrievem23Sq() const
Retrieve the invariant mass squared of the second and third daugthers.
void storeImagAmp(const std::vector< Double_t > &imagAmp)
Set the imaginary parts of the amplitudes.
void storem23Sq(Double_t m23Sq)
Set the invariant mass squared of the second and third daugthers.
Definition: LauCacheData.hh:61
const std::vector< Double_t > & retrieveImagAmp() const
Retrieve the imaginary parts of the amplitudes.
void storemPrime(Double_t mPrime)
Set the square Dalitz plot coordinate, m&#39;.
Definition: LauCacheData.hh:67
std::vector< Double_t > imagAmp_
The imaginary parts of the amplitudes.
Double_t retrieveJacobian() const
Retrieve the Jacobian for the transformation into square-Dalitz-plot coordinates. ...
Class to contain cached data relating to an event.
Definition: LauCacheData.hh:30
Double_t eff_
The efficiency.
void storeScfFraction(Double_t scfFraction)
Set the fraction of poorly constructed events (the self cross feed fraction)
Definition: LauCacheData.hh:91
std::vector< Double_t > & retrieveImagAmp()
Retrieve the imaginary parts of the amplitudes.
Double_t m13Sq_
The invariant mass squared of the first and third daugthers.
Double_t retrievem13Sq() const
Retrieve the invariant mass squared of the first and third daugthers.
std::vector< Double_t > & retrieveIncohIntensities()
Retrieve the incoherent intensities.
virtual ~LauCacheData()
Destructor.
Definition: LauCacheData.cc:31
void storeTagCat(Int_t tagCat)
Set the tagging category.
Definition: LauCacheData.hh:79
Double_t thPrime_
The square Dalitz plot coordinate, theta&#39;.
Double_t jacobian_
The Jacobian for the transformation into square Dalitz coordinates.
const std::vector< Double_t > & retrieveIncohIntensities() const
Retrieve the incoherent intensities.
const std::vector< Double_t > & retrieveRealAmp() const
Retrieve the real parts of the amplitudes.
Int_t retrieveTagCat() const
Retrieve the tagging category.
void storeIncohIntensities(const std::vector< Double_t > &incohIntensities)
Set the incoherent intensities.
Double_t retrieveScfFraction() const
Retrieve the fraction of poorly reconstructed events (the so-called self cross feed fraction) ...
Double_t scfFraction_
The fraction of poorly constructed events (the self cross feed fraction)
Double_t retrievethPrime() const
Retrieve the square Dalitz plot coordinate, theta&#39;.
LauCacheData & operator=(const LauCacheData &rhs)
Copy assignment operator.
Definition: LauCacheData.cc:49
void storeRealAmp(const std::vector< Double_t > &realAmp)
Set the real parts of the amplitudes.
void storem13Sq(Double_t m13Sq)
Set the invariant mass squared of the first and third daugthers.
Definition: LauCacheData.hh:55
Double_t m23Sq_
The invariant mass squared of the second and third daugthers.
void storeEff(Double_t eff)
Set the efficiency.
Definition: LauCacheData.hh:85
void storeJacobian(Double_t jacobian)
Set the Jacobian for the transformation into square Dalitz coordinates.
Definition: LauCacheData.hh:97
Int_t tagCat_
The tagging category.
Double_t mPrime_
The square Dalitz plot coordinate, m&#39;.
void storethPrime(Double_t thPrime)
Set the square Dalitz plot coordinate, theta&#39;.
Definition: LauCacheData.hh:73
std::vector< Double_t > & retrieveRealAmp()
Retrieve the real parts of the amplitudes.
Double_t retrieveEff() const
Retrieve the efficiency.