CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions
BPHDecayToResTrkBuilder< ProdType, ResType > Class Template Reference

#include <BPHDecayToResTrkBuilder.h>

Inheritance diagram for BPHDecayToResTrkBuilder< ProdType, ResType >:
BPHDecayToResTrkBuilderBase BPHDecayConstrainedBuilder< ProdType, ResType > BPHDecaySpecificBuilder< ProdType > BPHDecaySpecificBuilderBase BPHDecayConstrainedBuilderBase BPHDecayConstrainedBuilderBase BPHDecayGenericBuilder< ProdType > BPHDecaySpecificBuilderBase BPHDecayGenericBuilder< ProdType > BPHDecayGenericBuilderBase BPHDecayGenericBuilderBase BPHDecayGenericBuilderBase BPHDecayGenericBuilderBase

Public Member Functions

 BPHDecayToResTrkBuilder (const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::vector< res_ptr > &resCollection, const std::string &trkName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *trkCollection)
 
 BPHDecayToResTrkBuilder (const BPHDecayToResTrkBuilder &x)=delete
 
BPHDecayToResTrkBuilderoperator= (const BPHDecayToResTrkBuilder &x)=delete
 
 ~BPHDecayToResTrkBuilder () override=default
 
- Public Member Functions inherited from BPHDecayToResTrkBuilderBase
 BPHDecayToResTrkBuilderBase (const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::string &trkName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *trkCollection)
 
 BPHDecayToResTrkBuilderBase (const BPHDecayToResTrkBuilderBase &x)=delete
 
double getTrkEtaMax () const
 
double getTrkPtMin () const
 get current cuts More...
 
BPHDecayToResTrkBuilderBaseoperator= (const BPHDecayToResTrkBuilderBase &x)=delete
 
void setTrkEtaMax (double eta)
 
void setTrkPtMin (double pt)
 set cuts More...
 
 ~BPHDecayToResTrkBuilderBase () override
 
- 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 BPHDecayConstrainedBuilder< ProdType, ResType >
 BPHDecayConstrainedBuilder (const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::vector< res_ptr > &resCollection)
 
 BPHDecayConstrainedBuilder (const BPHDecayConstrainedBuilder &x)=delete
 
BPHDecayConstrainedBuilderoperator= (const BPHDecayConstrainedBuilder &x)=delete
 
 ~BPHDecayConstrainedBuilder () override=default
 
- Public Member Functions inherited from BPHDecayGenericBuilder< ProdType >
 BPHDecayGenericBuilder (const BPHEventSetupWrapper &es, BPHMassFitSelect *mfs)
 
 BPHDecayGenericBuilder (const BPHDecayGenericBuilder &x)=delete
 
virtual std::vector< prod_ptrbuild ()
 build candidates More...
 
BPHDecayGenericBuilderoperator= (const BPHDecayGenericBuilder &x)=delete
 
 ~BPHDecayGenericBuilder () override=default
 
- Public Member Functions inherited from BPHDecaySpecificBuilder< ProdType >
 BPHDecaySpecificBuilder ()
 
 BPHDecaySpecificBuilder (const BPHDecaySpecificBuilder &x)=delete
 
BPHDecaySpecificBuilderoperator= (const BPHDecaySpecificBuilder &x)=delete
 
 ~BPHDecaySpecificBuilder () override=default
 

Protected Member Functions

 BPHDecayToResTrkBuilder (const std::vector< res_ptr > &resCollection, const std::string &trkName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *trkCollection)
 
- Protected Member Functions inherited from BPHDecayToResTrkBuilderBase
 BPHDecayToResTrkBuilderBase (const std::string &trkName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *trkCollection)
 
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
 BPHDecayConstrainedBuilderBase (const std::string &resName, double resMass, double resWidth, bool createFitSelObject=true)
 
 BPHDecayConstrainedBuilderBase ()
 
virtual BPHMassFitSelectmassFitSelector (double mMin, double mMax)
 
- Protected Member Functions inherited from BPHDecayConstrainedBuilder< ProdType, ResType >
void addResCollection (BPHRecoBuilder &brb) override
 
 BPHDecayConstrainedBuilder (const std::vector< res_ptr > &resCollection)
 
- Protected Member Functions inherited from BPHDecayGenericBuilder< ProdType >
 BPHDecayGenericBuilder ()
 
- Protected Member Functions inherited from BPHDecaySpecificBuilder< ProdType >
template<>
void fillRecList ()
 
void fillRecList () override
 build candidates More...
 

Additional Inherited Members

- Public Types inherited from BPHDecayConstrainedBuilder< ProdType, ResType >
typedef ResType::const_pointer res_ptr
 
- Public Types inherited from BPHDecayGenericBuilder< ProdType >
typedef ProdType::const_pointer prod_ptr
 
- Protected Attributes inherited from BPHDecayToResTrkBuilderBase
BPHParticleEtaSelectetaSel
 
BPHParticlePtSelectptSel
 
const BPHRecoBuilder::BPHGenericCollectiontCollection
 
BPHParticleNeutralVetotknVeto
 
double tMass
 
std::string tName
 
double tSigma
 
- 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 BPHDecayConstrainedBuilder< ProdType, ResType >
const std::vector< res_ptr > * rCollection
 
- Protected Attributes inherited from BPHDecayGenericBuilder< ProdType >
std::vector< prod_ptrrecList
 

Detailed Description

template<class ProdType, class ResType>
class BPHDecayToResTrkBuilder< ProdType, ResType >

Description: Class to build a particle decaying to a particle, decaying itself in cascade, and an additional track, for generic particle types

Author
Paolo Ronchese INFN Padova

Definition at line 42 of file BPHDecayToResTrkBuilder.h.

Constructor & Destructor Documentation

◆ BPHDecayToResTrkBuilder() [1/3]

template<class ProdType, class ResType>
BPHDecayToResTrkBuilder< ProdType, ResType >::BPHDecayToResTrkBuilder ( const BPHEventSetupWrapper es,
const std::string &  resName,
double  resMass,
double  resWidth,
const std::vector< res_ptr > &  resCollection,
const std::string &  trkName,
double  trkMass,
double  trkSigma,
const BPHRecoBuilder::BPHGenericCollection trkCollection 
)
inline

Constructor

Definition at line 51 of file BPHDecayToResTrkBuilder.h.

60  : BPHDecayGenericBuilderBase(es, nullptr),
61  BPHDecayConstrainedBuilderBase(resName, resMass, resWidth),
62  BPHDecayToResTrkBuilderBase(trkName, trkMass, trkSigma, trkCollection),
BPHDecayToResTrkBuilderBase(const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::string &trkName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *trkCollection)

◆ BPHDecayToResTrkBuilder() [2/3]

template<class ProdType, class ResType>
BPHDecayToResTrkBuilder< ProdType, ResType >::BPHDecayToResTrkBuilder ( const BPHDecayToResTrkBuilder< ProdType, ResType > &  x)
delete

◆ ~BPHDecayToResTrkBuilder()

template<class ProdType, class ResType>
BPHDecayToResTrkBuilder< ProdType, ResType >::~BPHDecayToResTrkBuilder ( )
overridedefault

Destructor

◆ BPHDecayToResTrkBuilder() [3/3]

template<class ProdType, class ResType>
BPHDecayToResTrkBuilder< ProdType, ResType >::BPHDecayToResTrkBuilder ( const std::vector< res_ptr > &  resCollection,
const std::string &  trkName,
double  trkMass,
double  trkSigma,
const BPHRecoBuilder::BPHGenericCollection trkCollection 
)
inlineprotected

Definition at line 74 of file BPHDecayToResTrkBuilder.h.

79  : BPHDecayToResTrkBuilderBase(trkName, trkMass, trkSigma, trkCollection),
BPHDecayToResTrkBuilderBase(const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::string &trkName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *trkCollection)

Member Function Documentation

◆ operator=()

template<class ProdType, class ResType>
BPHDecayToResTrkBuilder& BPHDecayToResTrkBuilder< ProdType, ResType >::operator= ( const BPHDecayToResTrkBuilder< ProdType, ResType > &  x)
delete