laura is hosted by Hepforge, IPPP Durham
Laura++  v1r2
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 (Int_t resPairAmpInt, Double_t minMass, Double_t maxMass)
 Add a veto to the Dalitz plot. More...
 
void addMassSqVeto (Int_t resPairAmpInt, Double_t minMassSq, Double_t maxMassSq)
 Add a veto to the Dalitz plot. More...
 
Bool_t passVeto (Double_t &m12Sq, Double_t &m23Sq, Double_t &m13Sq) const
 Check whether the specified Dalitz plot point passes the vetoes. More...
 
Bool_t passVeto (const LauKinematics *kinematics) const
 Check whether the specified Dalitz plot point passes the vetoes. More...
 
Int_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

Int_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.

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.

Definition at line 33 of file LauVetoes.hh.

Constructor & Destructor Documentation

LauVetoes::LauVetoes ( )

Constructor.

Definition at line 23 of file LauVetoes.cc.

LauVetoes::~LauVetoes ( )
virtual

Destructor.

Definition at line 28 of file LauVetoes.cc.

LauVetoes::LauVetoes ( const LauVetoes other)

Copy constructor.

Parameters
[in]otherthe object to be copied

Definition at line 32 of file LauVetoes.cc.

Member Function Documentation

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

Add a veto to the Dalitz plot.

Parameters
[in]resPairAmpIntthe index of the mass-squared variable to be vetoed
[in]minMassSqthe minimum mass-squared of the veto
[in]maxMassSqthe maximum mass-squared of the veto

Definition at line 60 of file LauVetoes.cc.

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

Add a veto to the Dalitz plot.

Parameters
[in]resPairAmpIntthe index of the mass-squared variable to be vetoed
[in]minMassthe minimum mass of the veto
[in]maxMassthe maximum mass of the veto

Definition at line 51 of file LauVetoes.cc.

Int_t LauVetoes::getNVetoes ( ) const
inline

Retrieve the number of vetoes.

Returns
the number of vetoes

Definition at line 91 of file LauVetoes.hh.

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

Retrieve the maximum mass-squared for each veto.

Returns
the maximum mass-squared for each veto

Definition at line 109 of file LauVetoes.hh.

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

Retrieve the minimum mass-squared for each veto.

Returns
the minimum mass-squared for each veto

Definition at line 103 of file LauVetoes.hh.

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

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

Bool_t LauVetoes::passVeto ( Double_t &  m12Sq,
Double_t &  m23Sq,
Double_t &  m13Sq 
) const

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
Returns
true if the specified Dalitz plot point is outside all veto regions, false otherwise

Definition at line 109 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 94 of file LauVetoes.cc.

Member Data Documentation

Int_t LauVetoes::nVetoes_
private

The number of vetoes.

Definition at line 113 of file LauVetoes.hh.

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

The maximum mass-squared for each veto.

Definition at line 122 of file LauVetoes.hh.

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

The minimum mass-squared for each veto.

Definition at line 119 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 116 of file LauVetoes.hh.


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