CMS 3D CMS Logo

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

#include <BPHDecayToResFlyingBuilder.h>

Inheritance diagram for BPHDecayToResFlyingBuilder< ProdType, ResType, FlyingType >:
BPHDecayToResFlyingBuilderBase BPHDecayConstrainedBuilder< ProdType, ResType > BPHDecayToFlyingCascadeBuilder< ProdType, FlyingType > BPHDecaySpecificBuilder< ProdType > BPHDecayGenericBuilder< ProdType > BPHDecaySpecificBuilderBase BPHDecayGenericBuilder< ProdType > BPHDecayToFlyingCascadeBuilderBase BPHDecayGenericBuilder< ProdType > BPHDecayConstrainedBuilderBase BPHDecayToFlyingCascadeBuilderBase BPHDecayConstrainedBuilderBase BPHDecaySpecificBuilderBase

Public Member Functions

 BPHDecayToResFlyingBuilder (const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::vector< res_ptr > &resCollection, const std::string &flyName, double flyMass, double flyMSigma, const std::vector< flying_ptr > &flyCollection)
 
 BPHDecayToResFlyingBuilder (const BPHDecayToResFlyingBuilder &x)=delete
 
BPHDecayToResFlyingBuilderoperator= (const BPHDecayToResFlyingBuilder &x)=delete
 
 ~BPHDecayToResFlyingBuilder () override=default
 
- Public Member Functions inherited from BPHDecayToResFlyingBuilderBase
 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
 
- 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 BPHDecayToFlyingCascadeBuilder< ProdType, FlyingType >
 BPHDecayToFlyingCascadeBuilder (const BPHEventSetupWrapper &es, const std::string &flyName, double flyMass, double flyMSigma, const std::vector< flying_ptr > &flyCollection)
 
 BPHDecayToFlyingCascadeBuilder (const BPHDecayToFlyingCascadeBuilder &x)=delete
 
BPHDecayToFlyingCascadeBuilderoperator= (const BPHDecayToFlyingCascadeBuilder &x)=delete
 
 ~BPHDecayToFlyingCascadeBuilder () 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

 BPHDecayToResFlyingBuilder (const std::vector< res_ptr > &resCollection, const std::vector< flying_ptr > &flyCollection)
 
void fillRecList () override
 build candidates More...
 
- Protected Member Functions inherited from BPHDecayToResFlyingBuilderBase
 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
 BPHDecayConstrainedBuilderBase (const std::string &resName, double resMass, double resWidth, bool createFitSelObject=true)
 
 BPHDecayConstrainedBuilderBase ()
 
virtual BPHMassFitSelectmassFitSelector (double mMin, double mMax)
 
- Protected Member Functions inherited from BPHDecayToFlyingCascadeBuilderBase
 BPHDecayToFlyingCascadeBuilderBase (const std::string &flyName, double flyMass, double flyMSigma)
 
 BPHDecayToFlyingCascadeBuilderBase ()
 
- 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 BPHDecayToFlyingCascadeBuilder< ProdType, FlyingType >
void addFlyCollection (BPHRecoBuilder &brb) override
 
 BPHDecayToFlyingCascadeBuilder (const std::vector< flying_ptr > &flyCollection)
 
void fitAndFilter (std::vector< prod_ptr > &prodList)
 fit and select candidates More...
 
- Protected Member Functions inherited from BPHDecaySpecificBuilder< ProdType >
template<>
void fillRecList ()
 

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
 
- Public Types inherited from BPHDecayToFlyingCascadeBuilder< ProdType, FlyingType >
typedef FlyingType::const_pointer flying_ptr
 
- 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
 
- Protected Attributes inherited from BPHDecayConstrainedBuilder< ProdType, ResType >
const std::vector< res_ptr > * rCollection
 
- Protected Attributes inherited from BPHDecayGenericBuilder< ProdType >
std::vector< prod_ptrrecList
 
- Protected Attributes inherited from BPHDecayToFlyingCascadeBuilder< ProdType, FlyingType >
const std::vector< flying_ptr > * fCollection
 

Detailed Description

template<class ProdType, class ResType, class FlyingType>
class BPHDecayToResFlyingBuilder< ProdType, ResType, FlyingType >

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

Author
Paolo Ronchese INFN Padova

Definition at line 39 of file BPHDecayToResFlyingBuilder.h.

Constructor & Destructor Documentation

◆ BPHDecayToResFlyingBuilder() [1/3]

template<class ProdType, class ResType, class FlyingType>
BPHDecayToResFlyingBuilder< ProdType, ResType, FlyingType >::BPHDecayToResFlyingBuilder ( const BPHEventSetupWrapper es,
const std::string &  resName,
double  resMass,
double  resWidth,
const std::vector< res_ptr > &  resCollection,
const std::string &  flyName,
double  flyMass,
double  flyMSigma,
const std::vector< flying_ptr > &  flyCollection 
)
inline

◆ BPHDecayToResFlyingBuilder() [2/3]

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

◆ ~BPHDecayToResFlyingBuilder()

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

Destructor

◆ BPHDecayToResFlyingBuilder() [3/3]

template<class ProdType, class ResType, class FlyingType>
BPHDecayToResFlyingBuilder< ProdType, ResType, FlyingType >::BPHDecayToResFlyingBuilder ( const std::vector< res_ptr > &  resCollection,
const std::vector< flying_ptr > &  flyCollection 
)
inlineprotected

Member Function Documentation

◆ fillRecList()

template<class ProdType, class ResType, class FlyingType>
void BPHDecayToResFlyingBuilder< ProdType, ResType, FlyingType >::fillRecList ( )
inlineoverrideprotectedvirtual

build candidates

Operations

Reimplemented from BPHDecaySpecificBuilder< ProdType >.

Definition at line 78 of file BPHDecayToResFlyingBuilder.h.

78  {
80  this->fitAndFilter(this->recList);
81  return;
82  }
void fitAndFilter(std::vector< prod_ptr > &prodList)
fit and select candidates
void fillRecList() override
build candidates
std::vector< prod_ptr > recList

◆ operator=()

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