laura is hosted by Hepforge, IPPP Durham
Laura++  v3r5
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. More...
 
virtual ~LauVetoes ()
 Destructor. More...
 
 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. More...
 
std::vector< Int_t > vetoPair_
 The index of the vetoed mass-squared variable for each veto. More...
 
std::vector< Double_t > vetoMinMass_
 The minimum mass-squared for each veto. More...
 
std::vector< Double_t > vetoMaxMass_
 The maximum mass-squared for each veto. More...
 

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 50 of file LauVetoes.hh.

Constructor & Destructor Documentation

LauVetoes::LauVetoes ( )

Constructor.

Definition at line 37 of file LauVetoes.cc.

LauVetoes::~LauVetoes ( )
virtual

Destructor.

Definition at line 42 of file LauVetoes.cc.

LauVetoes::LauVetoes ( const LauVetoes other)

Copy constructor.

Parameters
[in]otherthe object to be copied

Definition at line 46 of file LauVetoes.cc.

Member Function Documentation

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 74 of file LauVetoes.cc.

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 65 of file LauVetoes.cc.

UInt_t LauVetoes::getNVetoes ( ) const
inlineprotected

Retrieve the number of vetoes.

Returns
the number of vetoes

Definition at line 111 of file LauVetoes.hh.

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 129 of file LauVetoes.hh.

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 123 of file LauVetoes.hh.

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 117 of file LauVetoes.hh.

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

Copy assignment operator.

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

Definition at line 54 of file LauVetoes.cc.

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 118 of file LauVetoes.cc.

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 135 of file LauVetoes.cc.

Member Data Documentation

UInt_t LauVetoes::nVetoes_
private

The number of vetoes.

Definition at line 133 of file LauVetoes.hh.

std::vector<Double_t> LauVetoes::vetoMaxMass_
private

The maximum mass-squared for each veto.

Definition at line 142 of file LauVetoes.hh.

std::vector<Double_t> LauVetoes::vetoMinMass_
private

The minimum mass-squared for each veto.

Definition at line 139 of file LauVetoes.hh.

std::vector<Int_t> LauVetoes::vetoPair_
private

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

Definition at line 136 of file LauVetoes.hh.


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