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

Class that implements the efficiency description across the signal Dalitz plot. More...

#include <LauWeightedSumEffModel.hh>

Inheritance diagram for LauWeightedSumEffModel:
LauAbsEffModel

Public Member Functions

 LauWeightedSumEffModel (const LauDaughters *daughters)
 Constructor. More...
 
virtual ~LauWeightedSumEffModel ()
 Destructor. More...
 
void addEffModel (const LauAbsEffModel *effModel, Double_t coeff)
 Add an efficiency variation across the phase space using a predetermined LauAbsEffModel object. More...
 
Double_t calcEfficiency (const LauKinematics *kinematics) const
 Determine the efficiency for a given point in the Dalitz plot. More...
 
Bool_t passVeto (const LauKinematics *kinematics) const
 Determine whether the given DP position is outside the vetoes. More...
 
Bool_t fluctuateEffHisto () const
 Determine whether the efficiency histogram has had its bins fluctuated within their errors. More...
 
const LauDaughtersgetDaughters () const
 Return the daughters object. More...
 
Bool_t usingSquareDP () const
 Determine whether the efficiency histogram is in the square DP. More...
 
- Public Member Functions inherited from LauAbsEffModel
 LauAbsEffModel ()
 Constructor. More...
 
virtual ~LauAbsEffModel ()
 Destructor. More...
 

Private Member Functions

 LauWeightedSumEffModel (const LauWeightedSumEffModel &rhs)
 Copy constructor - not implemented. More...
 
LauWeightedSumEffModeloperator= (const LauWeightedSumEffModel &rhs)
 Copy assignment operator - not implemented. More...
 

Private Attributes

const LauDaughtersdaughters_
 The daughters object. More...
 
std::vector< const
LauAbsEffModel * > 
effModel_
 The efficiency model objects. More...
 
std::vector< Double_t > coeff_
 The efficiency model objects. More...
 
Bool_t squareDP_
 Use of the square Dalitz plot. More...
 
Bool_t fluctuateEffHisto_
 Fluctuate histogram within the error. More...
 
Bool_t lowBinWarningIssued_
 Flag to track whether a warning has been issued for bin values less than zero. More...
 
Bool_t highBinWarningIssued_
 Flag to track whether a warning has been issued for bin values greater than one. More...
 

Detailed Description

Class that implements the efficiency description across the signal Dalitz plot.

Class that defines the efficiency model variation across the signal Dalitz plot. The phase space acceptance is determined from a weighted sum of LauAbsEffModel objects. This is useful for samples that contain two different categories of signal with different efficiencies. The efficiency variation is defined in terms of x = m_13^2, y = m_23^2 for the Dalitz plot (default) or x = m', y = theta' for the square Dalitz plot

Definition at line 34 of file LauWeightedSumEffModel.hh.

Constructor & Destructor Documentation

LauWeightedSumEffModel::LauWeightedSumEffModel ( const LauDaughters daughters)

Constructor.

Parameters
[in]daughtersthe daughters particles of the Dalitz plot model

Definition at line 29 of file LauWeightedSumEffModel.cc.

virtual LauWeightedSumEffModel::~LauWeightedSumEffModel ( )
inlinevirtual

Destructor.

Definition at line 44 of file LauWeightedSumEffModel.hh.

LauWeightedSumEffModel::LauWeightedSumEffModel ( const LauWeightedSumEffModel rhs)
private

Copy constructor - not implemented.

Member Function Documentation

void LauWeightedSumEffModel::addEffModel ( const LauAbsEffModel effModel,
Double_t  coeff 
)

Add an efficiency variation across the phase space using a predetermined LauAbsEffModel object.

The efficiency is defined in terms of x = m_13^2, y = m_23^2 or x = m', y = theta' for the square Dalitz plot

Parameters
[in]effModelthe LauAbsEffModel object that describes the efficiency variation
[in]coeffthe coefficient to multiply this efficiency by

Definition at line 43 of file LauWeightedSumEffModel.cc.

Double_t LauWeightedSumEffModel::calcEfficiency ( const LauKinematics kinematics) const
virtual

Determine the efficiency for a given point in the Dalitz plot.

The method uses the models set by the addEffModel() function and the vetoes information.

Parameters
[in]kinematicsthe object that defines the DP position
Returns
the efficiency value at the given point in the DP

Implements LauAbsEffModel.

Definition at line 66 of file LauWeightedSumEffModel.cc.

Bool_t LauWeightedSumEffModel::fluctuateEffHisto ( ) const
inlinevirtual

Determine whether the efficiency histogram has had its bins fluctuated within their errors.

Implements LauAbsEffModel.

Definition at line 72 of file LauWeightedSumEffModel.hh.

const LauDaughters* LauWeightedSumEffModel::getDaughters ( ) const
inlinevirtual

Return the daughters object.

Implements LauAbsEffModel.

Definition at line 78 of file LauWeightedSumEffModel.hh.

LauWeightedSumEffModel& LauWeightedSumEffModel::operator= ( const LauWeightedSumEffModel rhs)
private

Copy assignment operator - not implemented.

Bool_t LauWeightedSumEffModel::passVeto ( const LauKinematics kinematics) const
virtual

Determine whether the given DP position is outside the vetoes.

Parameters
[in]kinematicsthe object that defines the DP position
Returns
kTRUE if the DP position is outside all veto regions, kFALSE otherwise

Implements LauAbsEffModel.

Definition at line 104 of file LauWeightedSumEffModel.cc.

Bool_t LauWeightedSumEffModel::usingSquareDP ( ) const
inlinevirtual

Determine whether the efficiency histogram is in the square DP.

Implements LauAbsEffModel.

Definition at line 84 of file LauWeightedSumEffModel.hh.

Member Data Documentation

std::vector<Double_t> LauWeightedSumEffModel::coeff_
private

The efficiency model objects.

Definition at line 100 of file LauWeightedSumEffModel.hh.

const LauDaughters* LauWeightedSumEffModel::daughters_
private

The daughters object.

Definition at line 94 of file LauWeightedSumEffModel.hh.

std::vector<const LauAbsEffModel*> LauWeightedSumEffModel::effModel_
private

The efficiency model objects.

Definition at line 97 of file LauWeightedSumEffModel.hh.

Bool_t LauWeightedSumEffModel::fluctuateEffHisto_
private

Fluctuate histogram within the error.

Definition at line 105 of file LauWeightedSumEffModel.hh.

Bool_t LauWeightedSumEffModel::highBinWarningIssued_
mutableprivate

Flag to track whether a warning has been issued for bin values greater than one.

Definition at line 111 of file LauWeightedSumEffModel.hh.

Bool_t LauWeightedSumEffModel::lowBinWarningIssued_
mutableprivate

Flag to track whether a warning has been issued for bin values less than zero.

Definition at line 108 of file LauWeightedSumEffModel.hh.

Bool_t LauWeightedSumEffModel::squareDP_
private

Use of the square Dalitz plot.

Definition at line 103 of file LauWeightedSumEffModel.hh.


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