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

Class for defining vetoes within the Dalitz plot. More...

#include <LauVetoes.hh>

Public Member Functions

 LauVetoes ()
 Constructor.
 
virtual ~LauVetoes ()
 Destructor.
 
 LauVetoes (const LauVetoes &other)
 Copy constructor. More...
 
LauVetoesoperator= (const LauVetoes &other)
 Copy assignment operator. More...
 
void addMassVeto (const Int_t resPairAmpInt, const Double_t minMass, const Double_t maxMass)
 Add a veto to the Dalitz plot. More...
 
void addMassSqVeto (const Int_t resPairAmpInt, const Double_t minMassSq, const Double_t maxMassSq)
 Add a veto to the Dalitz plot. More...
 
Bool_t passVeto (const LauKinematics *kinematics) const
 Check whether the specified Dalitz plot point passes the vetoes. More...
 

Protected Member Functions

Bool_t passVeto (const Double_t m12Sq, const Double_t m23Sq, const Double_t m13Sq, const Bool_t symmetricDP, const Bool_t fullySymmetricDP) const
 Check whether the specified Dalitz plot point passes the vetoes. More...
 
UInt_t getNVetoes () const
 Retrieve the number of vetoes. More...
 
const std::vector< Int_t > & getVetoPairs () const
 Retrieve the index of the vetoed mass-squared variable for each veto. More...
 
const std::vector< Double_t > & getVetoMinMass () const
 Retrieve the minimum mass-squared for each veto. More...
 
const std::vector< Double_t > & getVetoMaxMass () const
 Retrieve the maximum mass-squared for each veto. More...
 

Private Attributes

UInt_t nVetoes_
 The number of vetoes.
 
std::vector< Int_t > vetoPair_
 The index of the vetoed mass-squared variable for each veto.
 
std::vector< Double_t > vetoMinMass_
 The minimum mass-squared for each veto.
 
std::vector< Double_t > vetoMaxMass_
 The maximum mass-squared for each veto.
 

Detailed Description

Class for defining vetoes within the Dalitz plot.

Each veto is defined by an index corresponding to one of the three invariant mass-squared variables, and maximum and minimum values for the veto's range in the specified variable.

Each mass-squared variable is numbered according to the index of the daughter not involved in the vetoed mass-squared variable. For example a veto in m12 squared would receive the index 3.

Since v3r2, in the case of a symmetric DP, vetoes in m13 or m23 will automatically be symmetrised to the other variable (so only one needs to be specified). However, if one wants to veto a region from a symmetric DP in the already-symmetrised co-ordinates, the special indices 4 and 5 can be used that will apply the veto to mMin or mMax, respectively.

Definition at line 49 of file LauVetoes.hh.

Constructor & Destructor Documentation

◆ LauVetoes()

LauVetoes::LauVetoes ( const LauVetoes other)

Copy constructor.

Parameters
[in]otherthe object to be copied

Definition at line 44 of file LauVetoes.cc.

Member Function Documentation

◆ addMassSqVeto()

void LauVetoes::addMassSqVeto ( const Int_t  resPairAmpInt,
const Double_t  minMassSq,
const Double_t  maxMassSq 
)

Add a veto to the Dalitz plot.

Parameters
[in]resPairAmpIntthe index of the mass-squared variable to be vetoed (in the case of symmetric DPs the special indices 4 and 5 can be used to indicate that a veto should be applied to mMinSq or mMaxSq)
[in]minMassSqthe minimum mass-squared of the veto
[in]maxMassSqthe maximum mass-squared of the veto

Definition at line 72 of file LauVetoes.cc.

◆ addMassVeto()

void LauVetoes::addMassVeto ( const Int_t  resPairAmpInt,
const Double_t  minMass,
const Double_t  maxMass 
)

Add a veto to the Dalitz plot.

Parameters
[in]resPairAmpIntthe index of the mass-squared variable to be vetoed (in the case of symmetric DPs the special indices 4 and 5 can be used to indicate that a veto should be applied to mMin or mMax)
[in]minMassthe minimum mass of the veto
[in]maxMassthe maximum mass of the veto

Definition at line 63 of file LauVetoes.cc.

◆ getNVetoes()

UInt_t LauVetoes::getNVetoes ( ) const
inlineprotected

Retrieve the number of vetoes.

Returns
the number of vetoes

Definition at line 114 of file LauVetoes.hh.

◆ getVetoMaxMass()

const std::vector<Double_t>& LauVetoes::getVetoMaxMass ( ) const
inlineprotected

Retrieve the maximum mass-squared for each veto.

Returns
the maximum mass-squared for each veto

Definition at line 132 of file LauVetoes.hh.

◆ getVetoMinMass()

const std::vector<Double_t>& LauVetoes::getVetoMinMass ( ) const
inlineprotected

Retrieve the minimum mass-squared for each veto.

Returns
the minimum mass-squared for each veto

Definition at line 126 of file LauVetoes.hh.

◆ getVetoPairs()

const std::vector<Int_t>& LauVetoes::getVetoPairs ( ) const
inlineprotected

Retrieve the index of the vetoed mass-squared variable for each veto.

Returns
the index of the vetoed mass-squared variable for each veto

Definition at line 120 of file LauVetoes.hh.

◆ operator=()

LauVetoes & LauVetoes::operator= ( const LauVetoes other)

Copy assignment operator.

Parameters
[in]otherthe object to be copied
Returns
the assigned vetoes object

Definition at line 52 of file LauVetoes.cc.

◆ passVeto() [1/2]

Bool_t LauVetoes::passVeto ( const Double_t  m12Sq,
const Double_t  m23Sq,
const Double_t  m13Sq,
const Bool_t  symmetricDP,
const Bool_t  fullySymmetricDP 
) const
protected

Check whether the specified Dalitz plot point passes the vetoes.

Parameters
[in]m12Sqthe mass-squared of the first and second daughters
[in]m23Sqthe mass-squared of the second and third daughters
[in]m13Sqthe mass-squared of the first and third daughters
[in]symmetricDPis the DP symmetric
[in]fullySymmetricDPis the DP fully symmetric
Returns
true if the specified Dalitz plot point is outside all veto regions, false otherwise

Definition at line 141 of file LauVetoes.cc.

◆ passVeto() [2/2]

Bool_t LauVetoes::passVeto ( const LauKinematics kinematics) const

Check whether the specified Dalitz plot point passes the vetoes.

Parameters
[in]kinematicsa point in the Dalitz plot
Returns
true if the specified Dalitz plot point is outside all veto regions, false otherwise

Definition at line 124 of file LauVetoes.cc.


The documentation for this class was generated from the following files:
  • /home/epp/phsdba/Development/Laura++/master-dev/laura/inc/LauVetoes.hh
  • /home/epp/phsdba/Development/Laura++/master-dev/laura/src/LauVetoes.cc