laura is hosted by Hepforge, IPPP Durham
Laura++  v2r2p1
A maximum likelihood fitting package for performing Dalitz-plot analysis.

Class for calculating the asymmetry between two variables. More...

#include <LauAsymmCalc.hh>

Public Member Functions

 LauAsymmCalc (Double_t negValue, Double_t posValue)
 Constructor. More...
 
virtual ~LauAsymmCalc ()
 Destructor. More...
 
Double_t getAsymmetry ()
 Retrieve the asymmetry. More...
 

Protected Member Functions

Double_t calcAsymmetry ()
 Calculate the asymmetry. More...
 

Private Attributes

Double_t negValue_
 The negative value. More...
 
Double_t posValue_
 The positive value. More...
 
Double_t asymm_
 The asymmetry. More...
 

Detailed Description

Class for calculating the asymmetry between two variables.

Definition at line 25 of file LauAsymmCalc.hh.

Constructor & Destructor Documentation

LauAsymmCalc::LauAsymmCalc ( Double_t  negValue,
Double_t  posValue 
)

Constructor.

Parameters
[in]negValuethe negative value
[in]posValuethe positive value

Definition at line 22 of file LauAsymmCalc.cc.

LauAsymmCalc::~LauAsymmCalc ( )
virtual

Destructor.

Definition at line 30 of file LauAsymmCalc.cc.

Member Function Documentation

Double_t LauAsymmCalc::calcAsymmetry ( )
protected

Calculate the asymmetry.

Returns
the asymmetry

Definition at line 34 of file LauAsymmCalc.cc.

Double_t LauAsymmCalc::getAsymmetry ( )
inline

Retrieve the asymmetry.

Returns
the asymmetry

Definition at line 42 of file LauAsymmCalc.hh.

Member Data Documentation

Double_t LauAsymmCalc::asymm_
private

The asymmetry.

Definition at line 59 of file LauAsymmCalc.hh.

Double_t LauAsymmCalc::negValue_
private

The negative value.

Definition at line 53 of file LauAsymmCalc.hh.

Double_t LauAsymmCalc::posValue_
private

The positive value.

Definition at line 56 of file LauAsymmCalc.hh.


The documentation for this class was generated from the following files: