CMS 3D CMS Logo

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

#include <BPHDecayGenericBuilderBase.h>

Inheritance diagram for BPHDecayGenericBuilderBase:
BPHDecayConstrainedBuilderBase BPHDecayGenericBuilder< ProdType > BPHDecayGenericBuilder< BPHPlusMinusCandidate > BPHDecayGenericBuilder< BPHRecoCandidate > BPHDecayToChargedXXbarBuilder BPHDecayToFlyingCascadeBuilderBase BPHDecayToTkpTknSymChargeBuilder BPHDecayToV0Builder BPHOniaToMuMuBuilder

Public Member Functions

 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 fillRecList ()=0
 

Protected Attributes

BPHChi2Selectchi2Sel
 
const BPHEventSetupWrapperevSetup
 
BPHMassSelectmassSel
 
BPHMassFitSelectmFitSel
 
double minPDiff
 
bool outdated
 

Detailed Description

Description: Class to build a generic decay applying selections to the reconstructed particle

Author
Paolo Ronchese INFN Padova

Definition at line 34 of file BPHDecayGenericBuilderBase.h.

Constructor & Destructor Documentation

◆ BPHDecayGenericBuilderBase() [1/3]

BPHDecayGenericBuilderBase::BPHDecayGenericBuilderBase ( )

◆ BPHDecayGenericBuilderBase() [2/3]

BPHDecayGenericBuilderBase::BPHDecayGenericBuilderBase ( const BPHEventSetupWrapper es,
BPHMassFitSelect mfs = new BPHMassFitSelect(-2.0e+06, -1.0e+06) 
)

◆ BPHDecayGenericBuilderBase() [3/3]

BPHDecayGenericBuilderBase::BPHDecayGenericBuilderBase ( const BPHDecayGenericBuilderBase x)
delete

◆ ~BPHDecayGenericBuilderBase()

BPHDecayGenericBuilderBase::~BPHDecayGenericBuilderBase ( )
virtual

Destructor

Definition at line 47 of file BPHDecayGenericBuilderBase.cc.

References chi2Sel, evSetup, massSel, and mFitSel.

47  {
48  delete massSel;
49  delete chi2Sel;
50  delete mFitSel;
51  delete evSetup;
52 }
const BPHEventSetupWrapper * evSetup

Member Function Documentation

◆ fillRecList()

virtual void BPHDecayGenericBuilderBase::fillRecList ( )
protectedpure virtual

◆ getMassFitMax()

double BPHDecayGenericBuilderBase::getMassFitMax ( ) const
inline

Definition at line 66 of file BPHDecayGenericBuilderBase.h.

References BPHMassCuts::getMassMax(), and mFitSel.

Referenced by BPHWriteSpecificDecay::fill().

66 { return mFitSel->getMassMax(); }
double getMassMax() const
Definition: BPHMassCuts.h:59

◆ getMassFitMin()

double BPHDecayGenericBuilderBase::getMassFitMin ( ) const
inline

Definition at line 65 of file BPHDecayGenericBuilderBase.h.

References BPHMassCuts::getMassMin(), and mFitSel.

Referenced by BPHWriteSpecificDecay::fill().

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

◆ getMassMax()

double BPHDecayGenericBuilderBase::getMassMax ( ) const
inline

◆ getMassMin()

double BPHDecayGenericBuilderBase::getMassMin ( ) const
inline

get current cuts

Definition at line 62 of file BPHDecayGenericBuilderBase.h.

References BPHMassCuts::getMassMin(), and massSel.

Referenced by BPHDecayToChargedXXbarBuilder::fillRecList(), and BPHDecayToTkpTknSymChargeBuilder::fillRecList().

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

◆ getMinPDiff()

double BPHDecayGenericBuilderBase::getMinPDiff ( )
inline

Definition at line 70 of file BPHDecayGenericBuilderBase.h.

References minPDiff.

◆ getProbMin()

double BPHDecayGenericBuilderBase::getProbMin ( ) const
inline

Definition at line 64 of file BPHDecayGenericBuilderBase.h.

References chi2Sel, and BPHChi2Select::getProbMin().

64 { return chi2Sel->getProbMin(); }
double getProbMin() const
get current prob min
Definition: BPHChi2Select.h:66

◆ operator=()

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

◆ setMassFitMax()

void BPHDecayGenericBuilderBase::setMassFitMax ( double  m)

◆ setMassFitMin()

void BPHDecayGenericBuilderBase::setMassFitMin ( double  m)

◆ setMassFitRange()

void BPHDecayGenericBuilderBase::setMassFitRange ( double  mMin,
double  mMax 
)

◆ setMassMax()

void BPHDecayGenericBuilderBase::setMassMax ( double  m)

◆ setMassMin()

void BPHDecayGenericBuilderBase::setMassMin ( double  m)

◆ setMassRange()

void BPHDecayGenericBuilderBase::setMassRange ( double  mMin,
double  mMax 
)

◆ setMinPDiff()

void BPHDecayGenericBuilderBase::setMinPDiff ( double  mpd)
inline

track min p difference

Definition at line 69 of file BPHDecayGenericBuilderBase.h.

References minPDiff.

Referenced by BPHDecayToResTrkTrkSameMassBuilderBase::fillTrkTrkList().

◆ setProbMin()

void BPHDecayGenericBuilderBase::setProbMin ( double  p)

Member Data Documentation

◆ chi2Sel

BPHChi2Select* BPHDecayGenericBuilderBase::chi2Sel
protected

◆ evSetup

const BPHEventSetupWrapper* BPHDecayGenericBuilderBase::evSetup
protected

◆ massSel

BPHMassSelect* BPHDecayGenericBuilderBase::massSel
protected

◆ mFitSel

BPHMassFitSelect* BPHDecayGenericBuilderBase::mFitSel
protected

◆ minPDiff

double BPHDecayGenericBuilderBase::minPDiff
protected

◆ outdated

bool BPHDecayGenericBuilderBase::outdated
protected

Definition at line 80 of file BPHDecayGenericBuilderBase.h.

Referenced by BPHOniaToMuMuBuilder::BPHOniaToMuMuBuilder(), BPHDecayConstrainedBuilderBase::setConstr(), BPHDecayToChargedXXbarBuilder::setDzMax(), BPHDecayToTkpTknSymChargeBuilder::setDzMax(), BPHDecayToChargedXXbarBuilder::setEtaMax(), BPHDecayToFlyingCascadeBuilderBase::setFlyingMassMax(), BPHDecayToFlyingCascadeBuilderBase::setFlyingMassMin(), BPHDecayToFlyingCascadeBuilderBase::setFlyingMassRange(), BPHDecayToFlyingCascadeBuilderBase::setKinFitProbMin(), BPHBdToKxMuMuBuilder::setKxMassMax(), BPHBdToKxMuMuBuilder::setKxMassMin(), setMassFitMax(), setMassFitMin(), setMassFitRange(), BPHDecayConstrainedBuilderBase::setMassFitSelect(), setMassMax(), setMassMin(), setMassRange(), BPHBdToKxMuMuBuilder::setOniaMassMax(), BPHBdToKxMuMuBuilder::setOniaMassMin(), setProbMin(), BPHDecayToChargedXXbarBuilder::setPtMin(), BPHDecayToResResBuilderBase::setRes2MassMax(), BPHDecayToResResBuilderBase::setRes2MassMin(), BPHDecayToResResBuilderBase::setRes2MassRange(), BPHDecayConstrainedBuilderBase::setResMassMax(), BPHDecayConstrainedBuilderBase::setResMassMin(), BPHDecayConstrainedBuilderBase::setResMassRange(), BPHDecayToTkpTknSymChargeBuilder::setTrk1EtaMax(), BPHDecayToTkpTknSymChargeBuilder::setTrk1PtMin(), BPHDecayToTkpTknSymChargeBuilder::setTrk2EtaMax(), BPHDecayToTkpTknSymChargeBuilder::setTrk2PtMin(), BPHDecayToResTrkBuilderBase::setTrkEtaMax(), BPHDecayToResTrkTrkSameMassBuilderBase::setTrkEtaMax(), BPHDecayToResTrkTrkSameMassBuilderBase::setTrkPtMin(), and BPHDecayToResTrkBuilderBase::setTrkPtMin().