CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions
BPHDecaySpecificBuilder< ProdType > Class Template Reference

#include <BPHDecaySpecificBuilder.h>

Inheritance diagram for BPHDecaySpecificBuilder< ProdType >:
BPHDecaySpecificBuilderBase BPHDecayGenericBuilder< ProdType > BPHDecayGenericBuilderBase BPHDecayToResFlyingBuilder< ProdType, ResType, FlyingType > BPHDecayToResResBuilder< ProdType, Res1Type, Res2Type > BPHDecayToResTrkBuilder< ProdType, ResType >

Public Member Functions

 BPHDecaySpecificBuilder ()
 
 BPHDecaySpecificBuilder (const BPHDecaySpecificBuilder &x)=delete
 
BPHDecaySpecificBuilderoperator= (const BPHDecaySpecificBuilder &x)=delete
 
 ~BPHDecaySpecificBuilder () override=default
 
- Public Member Functions inherited from BPHDecaySpecificBuilderBase
virtual ~BPHDecaySpecificBuilderBase ()=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 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

template<>
void fillRecList ()
 
void fillRecList () override
 build candidates More...
 
- 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 BPHDecayGenericBuilder< ProdType >
 BPHDecayGenericBuilder ()
 

Additional Inherited Members

- Public Types inherited from BPHDecayGenericBuilder< ProdType >
typedef ProdType::const_pointer prod_ptr
 
- Protected Attributes inherited from BPHDecayGenericBuilder< ProdType >
std::vector< prod_ptrrecList
 
- Protected Attributes inherited from BPHDecayGenericBuilderBase
BPHChi2Selectchi2Sel
 
const BPHEventSetupWrapperevSetup
 
BPHMassSelectmassSel
 
BPHMassFitSelectmFitSel
 
double minPDiff
 
bool outdated
 

Detailed Description

template<class ProdType>
class BPHDecaySpecificBuilder< ProdType >

Description: Class to plug the usage of BPHRecoBuilder inside BPHGenericBuilder

Author
Paolo Ronchese INFN Padova

Definition at line 44 of file BPHDecaySpecificBuilder.h.

Constructor & Destructor Documentation

◆ BPHDecaySpecificBuilder() [1/2]

template<class ProdType>
BPHDecaySpecificBuilder< ProdType >::BPHDecaySpecificBuilder ( )
inline

Constructor

Definition at line 49 of file BPHDecaySpecificBuilder.h.

49 {}

◆ BPHDecaySpecificBuilder() [2/2]

template<class ProdType>
BPHDecaySpecificBuilder< ProdType >::BPHDecaySpecificBuilder ( const BPHDecaySpecificBuilder< ProdType > &  x)
delete

◆ ~BPHDecaySpecificBuilder()

template<class ProdType>
BPHDecaySpecificBuilder< ProdType >::~BPHDecaySpecificBuilder ( )
overridedefault

Destructor

Member Function Documentation

◆ fillRecList() [1/2]

template<>
void BPHDecaySpecificBuilder< BPHPlusMinusCandidate >::fillRecList ( )
protectedvirtual

Implements BPHDecayGenericBuilderBase.

Reimplemented in BPHDecayToResFlyingBuilder< BPHRecoCandidate, BPHPlusMinusCandidate, BPHPlusMinusCandidate >.

Definition at line 41 of file BPHDecaySpecificBuilder.cc.

41  {
42  BPHRecoBuilder brb(*evSetup);
44  fill(brb, &buildPar);
45  this->recList = BPHPlusMinusCandidate::build(brb, buildPar);
46  return;
47 }
static std::vector< BPHPlusMinusConstCandPtr > build(const BPHRecoBuilder &builder, const BuilderParameters &par)
virtual void fill(BPHRecoBuilder &brb, void *parameters)=0
const BPHEventSetupWrapper * evSetup
std::vector< prod_ptr > recList

◆ fillRecList() [2/2]

template<class ProdType>
void BPHDecaySpecificBuilder< ProdType >::fillRecList ( )
overrideprotectedvirtual

◆ operator=()

template<class ProdType>
BPHDecaySpecificBuilder& BPHDecaySpecificBuilder< ProdType >::operator= ( const BPHDecaySpecificBuilder< ProdType > &  x)
delete