laura is hosted by Hepforge, IPPP Durham
Laura++  v3r5
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauCacheData.cc
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 
29 #include "LauCacheData.hh"
30 
32 
33 
35  m13Sq_(0.0),
36  m23Sq_(0.0),
37  mPrime_(0.0),
38  thPrime_(0.0),
39  eff_(0.0),
40  scfFraction_(0.0),
41  jacobian_(0.0)
42 {
43 }
44 
46 {
47 }
48 
50 {
51  this->storem13Sq(rhs.retrievem13Sq());
52  this->storem23Sq(rhs.retrievem23Sq());
53  this->storemPrime(rhs.retrievemPrime());
54  this->storethPrime(rhs.retrievethPrime());
55  this->storeEff(rhs.retrieveEff());
57  this->storeJacobian(rhs.retrieveJacobian());
58  this->storeRealAmp(rhs.retrieveRealAmp());
59  this->storeImagAmp(rhs.retrieveImagAmp());
61 }
62 
64 {
65  if (&rhs != this) {
66  this->storem13Sq(rhs.retrievem13Sq());
67  this->storem23Sq(rhs.retrievem23Sq());
68  this->storemPrime(rhs.retrievemPrime());
69  this->storethPrime(rhs.retrievethPrime());
70  this->storeEff(rhs.retrieveEff());
72  this->storeJacobian(rhs.retrieveJacobian());
73  this->storeRealAmp(rhs.retrieveRealAmp());
74  this->storeImagAmp(rhs.retrieveImagAmp());
76  }
77  return *this;
78 }
79 
Double_t retrievemPrime() const
Retrieve the square Dalitz plot coordinate, m'.
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.
ClassImp(LauAbsCoeffSet)
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
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
void storeScfFraction(Double_t scfFraction)
Set the fraction of poorly constructed events (the self cross feed fraction)
Double_t retrievem13Sq() const
Retrieve the invariant mass squared of the first and third daugthers.
virtual ~LauCacheData()
Destructor.
Definition: LauCacheData.cc:45
File containing declaration of LauCacheData class.
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.
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 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
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.
void storethPrime(Double_t thPrime)
Set the square Dalitz plot coordinate, theta&#39;.
Definition: LauCacheData.hh:87
Double_t retrieveEff() const
Retrieve the efficiency.