laura is hosted by Hepforge, IPPP Durham
Laura++  3.6.0
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.
 
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.
 
const LauDaughtersgetDaughters () const
 Return the daughters object.
 
- Public Member Functions inherited from LauAbsEffModel
 LauAbsEffModel ()
 Constructor.
 
virtual ~LauAbsEffModel ()
 Destructor.
 

Private Member Functions

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

Private Attributes

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

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 47 of file LauWeightedSumEffModel.hh.

Constructor & Destructor Documentation

◆ LauWeightedSumEffModel()

LauWeightedSumEffModel::LauWeightedSumEffModel ( const LauDaughters daughters)

Constructor.

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

Definition at line 42 of file LauWeightedSumEffModel.cc.

Member Function Documentation

◆ addEffModel()

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 56 of file LauWeightedSumEffModel.cc.

◆ calcEfficiency()

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 76 of file LauWeightedSumEffModel.cc.

◆ passVeto()

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 120 of file LauWeightedSumEffModel.cc.


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