CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions
BPHDecayToResFlyingBuilderBase Class Reference

#include <BPHDecayToResFlyingBuilderBase.h>

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

Public Member Functions

 BPHDecayToResFlyingBuilderBase (const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::string &flyName, double flyMass, double flyMSigma)
 
 BPHDecayToResFlyingBuilderBase (const BPHDecayToResFlyingBuilderBase &x)=delete
 
BPHDecayToResFlyingBuilderBaseoperator= (const BPHDecayToResFlyingBuilderBase &x)=delete
 
 ~BPHDecayToResFlyingBuilderBase () override=default
 
- Public Member Functions inherited from BPHDecaySpecificBuilderBase
virtual ~BPHDecaySpecificBuilderBase ()=default
 
- Public Member Functions inherited from BPHDecayConstrainedBuilderBase
 BPHDecayConstrainedBuilderBase (const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth)
 
 BPHDecayConstrainedBuilderBase (const BPHDecayConstrainedBuilderBase &x)=delete
 
bool getConstr () const
 
BPHMassFitSelectgetMassFitSelect () const
 
double getResMassMax () const
 
double getResMassMin () const
 get current cuts More...
 
BPHDecayConstrainedBuilderBaseoperator= (const BPHDecayConstrainedBuilderBase &x)=delete
 
void setConstr (bool flag)
 
void setMassFitSelect (BPHMassFitSelect *mfs)
 
void setResMassMax (double m)
 
void setResMassMin (double m)
 set cuts More...
 
void setResMassRange (double mMin, double mMax)
 
 ~BPHDecayConstrainedBuilderBase () override
 
- 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 ()
 
- Public Member Functions inherited from BPHDecayToFlyingCascadeBuilderBase
 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
 

Protected Member Functions

 BPHDecayToResFlyingBuilderBase ()
 
void fill (BPHRecoBuilder &brb, void *parameters) override
 build candidates More...
 
- Protected Member Functions inherited from BPHDecaySpecificBuilderBase
virtual void setup (void *parameters)=0
 
- Protected Member Functions inherited from BPHDecayConstrainedBuilderBase
virtual void addResCollection (BPHRecoBuilder &brb)=0
 
 BPHDecayConstrainedBuilderBase (const std::string &resName, double resMass, double resWidth, bool createFitSelObject=true)
 
 BPHDecayConstrainedBuilderBase ()
 
virtual BPHMassFitSelectmassFitSelector (double mMin, double mMax)
 
- Protected Member Functions inherited from BPHDecayGenericBuilderBase
virtual void fillRecList ()=0
 
- Protected Member Functions inherited from BPHDecayToFlyingCascadeBuilderBase
virtual void addFlyCollection (BPHRecoBuilder &brb)=0
 
 BPHDecayToFlyingCascadeBuilderBase (const std::string &flyName, double flyMass, double flyMSigma)
 
 BPHDecayToFlyingCascadeBuilderBase ()
 

Additional Inherited Members

- Protected Attributes inherited from BPHDecayConstrainedBuilderBase
bool massConstr
 
bool mfSelForce
 
BPHMassSelectresoSel
 
double rMass
 
std::string rName
 
double rWidth
 
- Protected Attributes inherited from BPHDecayGenericBuilderBase
BPHChi2Selectchi2Sel
 
const BPHEventSetupWrapperevSetup
 
BPHMassSelectmassSel
 
BPHMassFitSelectmFitSel
 
double minPDiff
 
bool outdated
 
- Protected Attributes inherited from BPHDecayToFlyingCascadeBuilderBase
std::map< const BPHRecoCandidate *, const BPHRecoCandidate * > dMap
 
BPHMassFitSelectflySel
 
double fMass
 
double fMSigma
 
std::string fName
 
BPHKinFitChi2SelectkfChi2Sel
 

Detailed Description

Description: Base class to build a particle decaying to a particle, decaying itself in cascade, and an additional flying particle

Author
Paolo Ronchese INFN Padova

Definition at line 38 of file BPHDecayToResFlyingBuilderBase.h.

Constructor & Destructor Documentation

◆ BPHDecayToResFlyingBuilderBase() [1/3]

BPHDecayToResFlyingBuilderBase::BPHDecayToResFlyingBuilderBase ( const BPHEventSetupWrapper es,
const std::string &  resName,
double  resMass,
double  resWidth,
const std::string &  flyName,
double  flyMass,
double  flyMSigma 
)

Constructor

◆ BPHDecayToResFlyingBuilderBase() [2/3]

BPHDecayToResFlyingBuilderBase::BPHDecayToResFlyingBuilderBase ( const BPHDecayToResFlyingBuilderBase x)
delete

◆ ~BPHDecayToResFlyingBuilderBase()

BPHDecayToResFlyingBuilderBase::~BPHDecayToResFlyingBuilderBase ( )
overridedefault

Destructor

◆ BPHDecayToResFlyingBuilderBase() [3/3]

BPHDecayToResFlyingBuilderBase::BPHDecayToResFlyingBuilderBase ( )
protected

Definition at line 44 of file BPHDecayToResFlyingBuilderBase.cc.

44 {}

Member Function Documentation

◆ fill()

void BPHDecayToResFlyingBuilderBase::fill ( BPHRecoBuilder brb,
void *  parameters 
)
overrideprotectedvirtual

build candidates

Implements BPHDecaySpecificBuilderBase.

Definition at line 50 of file BPHDecayToResFlyingBuilderBase.cc.

References BPHDecayToFlyingCascadeBuilderBase::addFlyCollection(), BPHDecayConstrainedBuilderBase::addResCollection(), BPHRecoBuilder::filter(), BPHMassCuts::getMassMax(), BPHDecayGenericBuilderBase::massSel, BPHDecayGenericBuilderBase::minPDiff, BPHRecoBuilder::setMinPDiffererence(), and BPHDecaySpecificBuilderBase::setup().

50  {
52  addResCollection(brb);
53  addFlyCollection(brb);
54 
55  if (massSel->getMassMax() >= 0.0)
56  brb.filter(*massSel);
57 
59 
60  return;
61 }
virtual void addResCollection(BPHRecoBuilder &brb)=0
void setMinPDiffererence(double pMin)
void filter(const std::string &name, const BPHRecoSelect &sel) const
double getMassMax() const
Definition: BPHMassCuts.h:59
virtual void setup(void *parameters)=0
virtual void addFlyCollection(BPHRecoBuilder &brb)=0

◆ operator=()

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