laura is hosted by Hepforge, IPPP Durham
Laura++  v2r1
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 storeEff(Double_t eff) {eff_ = eff;}
80 
82 
85  inline void storeScfFraction(Double_t scfFraction) {scfFraction_ = scfFraction;}
86 
88 
91  inline void storeJacobian(Double_t jacobian) {jacobian_ = jacobian;}
92 
94 
97  inline void storeRealAmp(const std::vector<Double_t>& realAmp) {realAmp_ = realAmp;}
98 
100 
103  inline void storeImagAmp(const std::vector<Double_t>& imagAmp) {imagAmp_ = imagAmp;}
104 
106 
109  inline Double_t retrievem13Sq() const {return m13Sq_;}
110 
112 
115  inline Double_t retrievem23Sq() const {return m23Sq_;}
116 
118 
121  inline Double_t retrievemPrime() const {return mPrime_;}
122 
124 
127  inline Double_t retrievethPrime() const {return thPrime_;}
128 
130 
133  inline Double_t retrieveEff() const {return eff_;}
134 
136 
139  inline Double_t retrieveScfFraction() const {return scfFraction_;}
140 
142 
145  inline Double_t retrieveJacobian() const {return jacobian_;}
146 
148 
151  inline const std::vector<Double_t>& retrieveRealAmp() const {return realAmp_;}
152 
154 
157  inline const std::vector<Double_t>& retrieveImagAmp() const {return imagAmp_;}
158 
159  protected:
160 
161  private:
163  Double_t m13Sq_;
164 
166  Double_t m23Sq_;
167 
169  Double_t mPrime_;
170 
172  Double_t thPrime_;
173 
175  Double_t eff_;
176 
178  Double_t scfFraction_;
179 
181  Double_t jacobian_;
182 
184  std::vector<Double_t> realAmp_;
185 
187  std::vector<Double_t> imagAmp_;
188 
189  ClassDef(LauCacheData,0) // Cached Data Class
190 };
191 
192 #endif
Double_t retrievemPrime() const
Retrieve the square Dalitz plot coordinate, m&#39;.
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:85
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.
virtual ~LauCacheData()
Destructor.
Definition: LauCacheData.cc:31
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 > & retrieveRealAmp() const
Retrieve the real parts of the amplitudes.
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:48
void storeRealAmp(const std::vector< Double_t > &realAmp)
Set the real parts of the amplitudes.
Definition: LauCacheData.hh:97
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:79
void storeJacobian(Double_t jacobian)
Set the Jacobian for the transformation into square Dalitz coordinates.
Definition: LauCacheData.hh:91
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
Double_t retrieveEff() const
Retrieve the efficiency.