laura is hosted by Hepforge, IPPP Durham
Laura++  v3r0p1
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...
 
 LauAsymmCalc (const LauAsymmCalc &rhs)
 Copy constructor. More...
 
LauAsymmCalcoperator= (const LauAsymmCalc &rhs)
 Copy assignment operator. 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 47 of file LauAsymmCalc.cc.

LauAsymmCalc::LauAsymmCalc ( const LauAsymmCalc rhs)

Copy constructor.

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 51 of file LauAsymmCalc.cc.

Double_t LauAsymmCalc::getAsymmetry ( )
inline

Retrieve the asymmetry.

Returns
the asymmetry

Definition at line 48 of file LauAsymmCalc.hh.

LauAsymmCalc & LauAsymmCalc::operator= ( const LauAsymmCalc rhs)

Copy assignment operator.

Definition at line 37 of file LauAsymmCalc.cc.

Member Data Documentation

Double_t LauAsymmCalc::asymm_
private

The asymmetry.

Definition at line 65 of file LauAsymmCalc.hh.

Double_t LauAsymmCalc::negValue_
private

The negative value.

Definition at line 59 of file LauAsymmCalc.hh.

Double_t LauAsymmCalc::posValue_
private

The positive value.

Definition at line 62 of file LauAsymmCalc.hh.


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