laura is hosted by Hepforge, IPPP Durham
Laura++  v3r2
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauAsymmCalc.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2004 - 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 
19 #ifndef LAU_ASYMM_CALC
20 #define LAU_ASYMM_CALC
21 
22 #include "Rtypes.h"
23 
24 
25 class LauAsymmCalc {
26 
27  public:
29 
33  LauAsymmCalc(Double_t negValue, Double_t posValue);
34 
36  virtual ~LauAsymmCalc();
37 
39  LauAsymmCalc(const LauAsymmCalc& rhs);
40 
42  LauAsymmCalc& operator=(const LauAsymmCalc& rhs);
43 
45 
48  Double_t getAsymmetry() {return asymm_;}
49 
50  protected:
52 
55  Double_t calcAsymmetry();
56 
57  private:
59  Double_t negValue_;
60 
62  Double_t posValue_;
63 
65  Double_t asymm_;
66 
67  ClassDef(LauAsymmCalc,0) // Calculate asymmetry between two variables
68 };
69 
70 #endif
Double_t asymm_
The asymmetry.
Definition: LauAsymmCalc.hh:65
LauAsymmCalc & operator=(const LauAsymmCalc &rhs)
Copy assignment operator.
Definition: LauAsymmCalc.cc:37
Class for calculating the asymmetry between two variables.
Definition: LauAsymmCalc.hh:25
Double_t negValue_
The negative value.
Definition: LauAsymmCalc.hh:59
Double_t posValue_
The positive value.
Definition: LauAsymmCalc.hh:62
LauAsymmCalc(Double_t negValue, Double_t posValue)
Constructor.
Definition: LauAsymmCalc.cc:22
virtual ~LauAsymmCalc()
Destructor.
Definition: LauAsymmCalc.cc:47
Double_t calcAsymmetry()
Calculate the asymmetry.
Definition: LauAsymmCalc.cc:51
Double_t getAsymmetry()
Retrieve the asymmetry.
Definition: LauAsymmCalc.hh:48