CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
BPHDecayToFlyingCascadeBuilderBase Class Referenceabstract

#include <BPHDecayToFlyingCascadeBuilderBase.h>

Inheritance diagram for BPHDecayToFlyingCascadeBuilderBase:
BPHDecaySpecificBuilderBase BPHDecayGenericBuilderBase BPHDecayToFlyingCascadeBuilder< ProdType, FlyingType > BPHDecayToFlyingCascadeBuilder< BPHRecoCandidate, BPHPlusMinusCandidate > BPHDecayToResFlyingBuilderBase BPHDecayToResFlyingBuilder< ProdType, ResType, FlyingType > BPHDecayToResFlyingBuilder< BPHRecoCandidate, BPHPlusMinusCandidate, BPHPlusMinusCandidate > BPHDecayToResFlyingBuilder< ProdType, ResType, FlyingType > BPHDecayToResFlyingBuilder< BPHRecoCandidate, BPHPlusMinusCandidate, BPHPlusMinusCandidate > BPHBdToJPsiKsBuilder BPHLbToJPsiL0Builder BPHBdToJPsiKsBuilder BPHLbToJPsiL0Builder

Public Member Functions

 BPHDecayToFlyingCascadeBuilderBase (const BPHEventSetupWrapper &es, const std::string &flyName, double flyMass, double flyMSigma)
 
 BPHDecayToFlyingCascadeBuilderBase (const BPHDecayToFlyingCascadeBuilderBase &x)=delete
 
const std::map< const BPHRecoCandidate *, const BPHRecoCandidate * > & daughMap () const
 get original daughters map More...
 
double getFlyingMassMax () const
 
double getFlyingMassMin () const
 get current cuts More...
 
double getKinFitProbMin () const
 
BPHDecayToFlyingCascadeBuilderBaseoperator= (const BPHDecayToFlyingCascadeBuilderBase &x)=delete
 
void setFlyingMassMax (double m)
 
void setFlyingMassMin (double m)
 set cuts More...
 
void setFlyingMassRange (double mMin, double mMax)
 
void setKinFitProbMin (double p)
 
 ~BPHDecayToFlyingCascadeBuilderBase () override
 
- Public Member Functions inherited from BPHDecaySpecificBuilderBase
virtual ~BPHDecaySpecificBuilderBase ()=default
 
- Public Member Functions inherited from BPHDecayGenericBuilderBase
 BPHDecayGenericBuilderBase ()
 
 BPHDecayGenericBuilderBase (const BPHEventSetupWrapper &es, BPHMassFitSelect *mfs=new BPHMassFitSelect(-2.0e+06, -1.0e+06))
 
 BPHDecayGenericBuilderBase (const BPHDecayGenericBuilderBase &x)=delete
 
double getMassFitMax () const
 
double getMassFitMin () const
 
double getMassMax () const
 
double getMassMin () const
 get current cuts More...
 
double getMinPDiff ()
 
double getProbMin () const
 
BPHDecayGenericBuilderBaseoperator= (const BPHDecayGenericBuilderBase &x)=delete
 
void setMassFitMax (double m)
 
void setMassFitMin (double m)
 
void setMassFitRange (double mMin, double mMax)
 
void setMassMax (double m)
 
void setMassMin (double m)
 set cuts More...
 
void setMassRange (double mMin, double mMax)
 
void setMinPDiff (double mpd)
 track min p difference More...
 
void setProbMin (double p)
 
virtual ~BPHDecayGenericBuilderBase ()
 

Protected Member Functions

virtual void addFlyCollection (BPHRecoBuilder &brb)=0
 
 BPHDecayToFlyingCascadeBuilderBase (const std::string &flyName, double flyMass, double flyMSigma)
 
 BPHDecayToFlyingCascadeBuilderBase ()
 
- Protected Member Functions inherited from BPHDecaySpecificBuilderBase
virtual void fill (BPHRecoBuilder &brb, void *parameters)=0
 
virtual void setup (void *parameters)=0
 
- Protected Member Functions inherited from BPHDecayGenericBuilderBase
virtual void fillRecList ()=0
 

Protected Attributes

std::map< const BPHRecoCandidate *, const BPHRecoCandidate * > dMap
 
BPHMassFitSelectflySel
 
double fMass
 
double fMSigma
 
std::string fName
 
BPHKinFitChi2SelectkfChi2Sel
 
- Protected Attributes inherited from BPHDecayGenericBuilderBase
BPHChi2Selectchi2Sel
 
const BPHEventSetupWrapperevSetup
 
BPHMassSelectmassSel
 
BPHMassFitSelectmFitSel
 
double minPDiff
 
bool outdated
 

Detailed Description

Description: Base class to build a particle having a flying particle in the final state

Author
Paolo Ronchese INFN Padova

Definition at line 37 of file BPHDecayToFlyingCascadeBuilderBase.h.

Constructor & Destructor Documentation

◆ BPHDecayToFlyingCascadeBuilderBase() [1/4]

BPHDecayToFlyingCascadeBuilderBase::BPHDecayToFlyingCascadeBuilderBase ( const BPHEventSetupWrapper es,
const std::string &  flyName,
double  flyMass,
double  flyMSigma 
)

Constructor

◆ BPHDecayToFlyingCascadeBuilderBase() [2/4]

BPHDecayToFlyingCascadeBuilderBase::BPHDecayToFlyingCascadeBuilderBase ( const BPHDecayToFlyingCascadeBuilderBase x)
delete

◆ ~BPHDecayToFlyingCascadeBuilderBase()

BPHDecayToFlyingCascadeBuilderBase::~BPHDecayToFlyingCascadeBuilderBase ( )
override

Destructor

Definition at line 58 of file BPHDecayToFlyingCascadeBuilderBase.cc.

References flySel, and kfChi2Sel.

58  {
59  delete flySel;
60  delete kfChi2Sel;
61 }

◆ BPHDecayToFlyingCascadeBuilderBase() [3/4]

BPHDecayToFlyingCascadeBuilderBase::BPHDecayToFlyingCascadeBuilderBase ( const std::string &  flyName,
double  flyMass,
double  flyMSigma 
)
protected

◆ BPHDecayToFlyingCascadeBuilderBase() [4/4]

BPHDecayToFlyingCascadeBuilderBase::BPHDecayToFlyingCascadeBuilderBase ( )
protected

Member Function Documentation

◆ addFlyCollection()

virtual void BPHDecayToFlyingCascadeBuilderBase::addFlyCollection ( BPHRecoBuilder brb)
protectedpure virtual

◆ daughMap()

const std::map<const BPHRecoCandidate*, const BPHRecoCandidate*>& BPHDecayToFlyingCascadeBuilderBase::daughMap ( ) const
inline

get original daughters map

Operations

Definition at line 58 of file BPHDecayToFlyingCascadeBuilderBase.h.

Referenced by BPHWriteSpecificDecay::fill().

58 { return dMap; }
std::map< const BPHRecoCandidate *, const BPHRecoCandidate * > dMap

◆ getFlyingMassMax()

double BPHDecayToFlyingCascadeBuilderBase::getFlyingMassMax ( ) const
inline

◆ getFlyingMassMin()

double BPHDecayToFlyingCascadeBuilderBase::getFlyingMassMin ( ) const
inline

get current cuts

Definition at line 67 of file BPHDecayToFlyingCascadeBuilderBase.h.

References flySel, and BPHMassCuts::getMassMin().

Referenced by BPHBdToJPsiKsBuilder::getK0MassMin(), and BPHLbToJPsiL0Builder::getLambda0MassMin().

67 { return flySel->getMassMin(); }
double getMassMin() const
get current mass cuts
Definition: BPHMassCuts.h:58

◆ getKinFitProbMin()

double BPHDecayToFlyingCascadeBuilderBase::getKinFitProbMin ( ) const
inline

Definition at line 69 of file BPHDecayToFlyingCascadeBuilderBase.h.

References BPHKinFitChi2Select::getProbMin(), and kfChi2Sel.

69 { return kfChi2Sel->getProbMin(); }
double getProbMin() const
get current prob min

◆ operator=()

BPHDecayToFlyingCascadeBuilderBase& BPHDecayToFlyingCascadeBuilderBase::operator= ( const BPHDecayToFlyingCascadeBuilderBase x)
delete

◆ setFlyingMassMax()

void BPHDecayToFlyingCascadeBuilderBase::setFlyingMassMax ( double  m)

◆ setFlyingMassMin()

void BPHDecayToFlyingCascadeBuilderBase::setFlyingMassMin ( double  m)

◆ setFlyingMassRange()

void BPHDecayToFlyingCascadeBuilderBase::setFlyingMassRange ( double  mMin,
double  mMax 
)

◆ setKinFitProbMin()

void BPHDecayToFlyingCascadeBuilderBase::setKinFitProbMin ( double  p)

Member Data Documentation

◆ dMap

std::map<const BPHRecoCandidate*, const BPHRecoCandidate*> BPHDecayToFlyingCascadeBuilderBase::dMap
protected

◆ flySel

BPHMassFitSelect* BPHDecayToFlyingCascadeBuilderBase::flySel
protected

◆ fMass

double BPHDecayToFlyingCascadeBuilderBase::fMass
protected

◆ fMSigma

double BPHDecayToFlyingCascadeBuilderBase::fMSigma
protected

◆ fName

std::string BPHDecayToFlyingCascadeBuilderBase::fName
protected

◆ kfChi2Sel

BPHKinFitChi2Select* BPHDecayToFlyingCascadeBuilderBase::kfChi2Sel
protected