laura is hosted by Hepforge, IPPP Durham
Laura++  v1r0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauCacheData.cc
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 
15 #include "LauCacheData.hh"
16 
17 ClassImp(LauCacheData)
18 
19 
21  m13Sq_(0.0),
22  m23Sq_(0.0),
23  mPrime_(0.0),
24  thPrime_(0.0),
25  eff_(0.0),
26  scfFraction_(0.0),
27  jacobian_(0.0)
28 {
29 }
30 
32 {
33 }
34 
36 {
37  this->storem13Sq(rhs.retrievem13Sq());
38  this->storem23Sq(rhs.retrievem23Sq());
39  this->storemPrime(rhs.retrievemPrime());
40  this->storethPrime(rhs.retrievethPrime());
41  this->storeEff(rhs.retrieveEff());
43  this->storeJacobian(rhs.retrieveJacobian());
44  this->storeRealAmp(rhs.retrieveRealAmp());
45  this->storeImagAmp(rhs.retrieveImagAmp());
46 }
47 
49 {
50  if (&rhs != this) {
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());
60  }
61  return *this;
62 }
63 
Double_t retrievemPrime() const
Retrieve the square Dalitz plot coordinate, m'.
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
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
void storeScfFraction(Double_t scfFraction)
Set the fraction of poorly constructed events (the self cross feed fraction)
Definition: LauCacheData.hh:85
Double_t retrievem13Sq() const
Retrieve the invariant mass squared of the first and third daugthers.
virtual ~LauCacheData()
Destructor.
Definition: LauCacheData.cc:31
File containing declaration of LauCacheData class.
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 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
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
void storethPrime(Double_t thPrime)
Set the square Dalitz plot coordinate, theta&#39;.
Definition: LauCacheData.hh:73
Double_t retrieveEff() const
Retrieve the efficiency.