laura is hosted by Hepforge, IPPP Durham
Laura++  v2r1
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 
42  Double_t getAsymmetry() {return asymm_;}
43 
44  protected:
46 
49  Double_t calcAsymmetry();
50 
51  private:
53  Double_t negValue_;
54 
56  Double_t posValue_;
57 
59  Double_t asymm_;
60 
61  ClassDef(LauAsymmCalc,0) // Calculate asymmetry between two variables
62 };
63 
64 #endif
Double_t asymm_
The asymmetry.
Definition: LauAsymmCalc.hh:59
Class for calculating the asymmetry between two variables.
Definition: LauAsymmCalc.hh:25
Double_t negValue_
The negative value.
Definition: LauAsymmCalc.hh:53
Double_t posValue_
The positive value.
Definition: LauAsymmCalc.hh:56
LauAsymmCalc(Double_t negValue, Double_t posValue)
Constructor.
Definition: LauAsymmCalc.cc:22
virtual ~LauAsymmCalc()
Destructor.
Definition: LauAsymmCalc.cc:30
Double_t calcAsymmetry()
Calculate the asymmetry.
Definition: LauAsymmCalc.cc:34
Double_t getAsymmetry()
Retrieve the asymmetry.
Definition: LauAsymmCalc.hh:42