laura is hosted by Hepforge, IPPP Durham
Laura++  v3r5
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauCacheData.hh
Go to the documentation of this file.
1 
2 /*
3 Copyright 2005 University of Warwick
4 
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8 
9  http://www.apache.org/licenses/LICENSE-2.0
10 
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 */
17 
18 /*
19 Laura++ package authors:
20 John Back
21 Paul Harrison
22 Thomas Latham
23 */
24 
36 #ifndef LAU_CACHE_DATA
37 #define LAU_CACHE_DATA
38 
39 #include <vector>
40 
41 #include <Rtypes.h>
42 
43 
44 class LauCacheData {
45 
46  public:
48  LauCacheData();
49 
51  virtual ~LauCacheData();
52 
54 
57  LauCacheData(const LauCacheData& rhs);
58 
60 
63  LauCacheData& operator=(const LauCacheData& rhs);
64 
66 
69  inline void storem13Sq(Double_t m13Sq) {m13Sq_ = m13Sq;}
70 
72 
75  inline void storem23Sq(Double_t m23Sq) {m23Sq_ = m23Sq;}
76 
78 
81  inline void storemPrime(Double_t mPrime) {mPrime_ = mPrime;}
82 
84 
87  inline void storethPrime(Double_t thPrime) {thPrime_ = thPrime;}
88 
90 
93  inline void storeTagCat(Int_t tagCat) {tagCat_ = tagCat;}
94 
96 
99  inline void storeEff(Double_t eff) {eff_ = eff;}
100 
102 
105  inline void storeScfFraction(Double_t scfFraction) {scfFraction_ = scfFraction;}
106 
108 
111  inline void storeJacobian(Double_t jacobian) {jacobian_ = jacobian;}
112 
114 
117  inline void storeRealAmp(const std::vector<Double_t>& realAmp) {realAmp_ = realAmp;}
118 
120 
123  inline void storeImagAmp(const std::vector<Double_t>& imagAmp) {imagAmp_ = imagAmp;}
124 
126 
129  inline void storeIncohIntensities(const std::vector<Double_t>& incohIntensities) {incohIntensities_ = incohIntensities;}
130 
132 
135  inline Double_t retrievem13Sq() const {return m13Sq_;}
136 
138 
141  inline Double_t retrievem23Sq() const {return m23Sq_;}
142 
144 
147  inline Double_t retrievemPrime() const {return mPrime_;}
148 
150 
153  inline Double_t retrievethPrime() const {return thPrime_;}
154 
156 
159  inline Int_t retrieveTagCat() const {return tagCat_;}
160 
162 
165  inline Double_t retrieveEff() const {return eff_;}
166 
168 
171  inline Double_t retrieveScfFraction() const {return scfFraction_;}
172 
174 
177  inline Double_t retrieveJacobian() const {return jacobian_;}
178 
180 
183  inline const std::vector<Double_t>& retrieveRealAmp() const {return realAmp_;}
184 
186 
189  inline const std::vector<Double_t>& retrieveImagAmp() const {return imagAmp_;}
190 
192 
195  inline const std::vector<Double_t>& retrieveIncohIntensities() const {return incohIntensities_;}
196 
198 
201  inline std::vector<Double_t>& retrieveRealAmp() {return realAmp_;}
202 
204 
207  inline std::vector<Double_t>& retrieveImagAmp() {return imagAmp_;}
208 
210 
213  inline std::vector<Double_t>& retrieveIncohIntensities() {return incohIntensities_;}
214 
215  protected:
216 
217  private:
219  Double_t m13Sq_;
220 
222  Double_t m23Sq_;
223 
225  Double_t mPrime_;
226 
228  Double_t thPrime_;
229 
231  Int_t tagCat_;
232 
234  Double_t eff_;
235 
237  Double_t scfFraction_;
238 
240  Double_t jacobian_;
241 
243  std::vector<Double_t> realAmp_;
244 
246  std::vector<Double_t> imagAmp_;
247 
249  std::vector<Double_t> incohIntensities_;
250 
251  ClassDef(LauCacheData,0) // Cached Data Class
252 };
253 
254 #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:34
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:75
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:81
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:44
Double_t eff_
The efficiency.
void storeScfFraction(Double_t scfFraction)
Set the fraction of poorly constructed events (the self cross feed fraction)
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:45
void storeTagCat(Int_t tagCat)
Set the tagging category.
Definition: LauCacheData.hh:93
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:63
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:69
Double_t m23Sq_
The invariant mass squared of the second and third daugthers.
void storeEff(Double_t eff)
Set the efficiency.
Definition: LauCacheData.hh:99
void storeJacobian(Double_t jacobian)
Set the Jacobian for the transformation into square Dalitz coordinates.
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:87
std::vector< Double_t > & retrieveRealAmp()
Retrieve the real parts of the amplitudes.
Double_t retrieveEff() const
Retrieve the efficiency.