laura is hosted by Hepforge, IPPP Durham
Laura++  3.6.0
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  m13Sq_( 0.0 ),
33  m23Sq_( 0.0 ),
34  mPrime_( 0.0 ),
35  thPrime_( 0.0 ),
36  eff_( 0.0 ),
37  scfFraction_( 0.0 ),
38  jacobian_( 0.0 )
39 {
40 }
41 
43 {
44 }
45 
47 {
48  this->storem13Sq( rhs.retrievem13Sq() );
49  this->storem23Sq( rhs.retrievem23Sq() );
50  this->storemPrime( rhs.retrievemPrime() );
51  this->storethPrime( rhs.retrievethPrime() );
52  this->storeEff( rhs.retrieveEff() );
54  this->storeJacobian( rhs.retrieveJacobian() );
55  this->storeRealAmp( rhs.retrieveRealAmp() );
56  this->storeImagAmp( rhs.retrieveImagAmp() );
58 }
59 
61 {
62  if ( &rhs != this ) {
63  this->storem13Sq( rhs.retrievem13Sq() );
64  this->storem23Sq( rhs.retrievem23Sq() );
65  this->storemPrime( rhs.retrievemPrime() );
66  this->storethPrime( rhs.retrievethPrime() );
67  this->storeEff( rhs.retrieveEff() );
69  this->storeJacobian( rhs.retrieveJacobian() );
70  this->storeRealAmp( rhs.retrieveRealAmp() );
71  this->storeImagAmp( rhs.retrieveImagAmp() );
73  }
74  return *this;
75 }
void storeScfFraction(Double_t scfFraction)
Set the fraction of poorly constructed events (the self cross feed fraction)
File containing declaration of LauCacheData class.
void storeJacobian(Double_t jacobian)
Set the Jacobian for the transformation into square Dalitz coordinates.
void storem13Sq(Double_t m13Sq)
Set the invariant mass squared of the first and third daugthers.
Definition: LauCacheData.hh:68
const std::vector< Double_t > & retrieveImagAmp() const
Retrieve the imaginary parts of the amplitudes.
Double_t retrieveEff() const
Retrieve the efficiency.
void storeEff(Double_t eff)
Set the efficiency.
Definition: LauCacheData.hh:98
void storem23Sq(Double_t m23Sq)
Set the invariant mass squared of the second and third daugthers.
Definition: LauCacheData.hh:74
void storeIncohIntensities(const std::vector< Double_t > &incohIntensities)
Set the incoherent intensities.
Class to contain cached data relating to an event.
Definition: LauCacheData.hh:43
void storethPrime(Double_t thPrime)
Set the square Dalitz plot coordinate, theta'.
Definition: LauCacheData.hh:86
Double_t retrievem13Sq() const
Retrieve the invariant mass squared of the first and third daugthers.
LauCacheData & operator=(const LauCacheData &rhs)
Copy assignment operator.
Definition: LauCacheData.cc:60
void storeRealAmp(const std::vector< Double_t > &realAmp)
Set the real parts of the amplitudes.
Double_t retrievem23Sq() const
Retrieve the invariant mass squared of the second and third daugthers.
Double_t retrieveJacobian() const
Retrieve the Jacobian for the transformation into square-Dalitz-plot coordinates.
const std::vector< Double_t > & retrieveIncohIntensities() const
Retrieve the incoherent intensities.
void storemPrime(Double_t mPrime)
Set the square Dalitz plot coordinate, m'.
Definition: LauCacheData.hh:80
const std::vector< Double_t > & retrieveRealAmp() const
Retrieve the real parts of the amplitudes.
Double_t retrievemPrime() const
Retrieve the square Dalitz plot coordinate, m'.
LauCacheData()
Constructor.
Definition: LauCacheData.cc:31
Double_t retrievethPrime() const
Retrieve the square Dalitz plot coordinate, theta'.
virtual ~LauCacheData()
Destructor.
Definition: LauCacheData.cc:42
Double_t retrieveScfFraction() const
Retrieve the fraction of poorly reconstructed events (the so-called self cross feed fraction)
void storeImagAmp(const std::vector< Double_t > &imagAmp)
Set the imaginary parts of the amplitudes.