CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
BPHDecayGenericBuilder< ProdType > Class Template Reference

#include <BPHDecayGenericBuilder.h>

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

Public Types

typedef ProdType::const_pointer prod_ptr
 

Public Member Functions

 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

 BPHDecayGenericBuilder ()
 
- Protected Member Functions inherited from BPHDecayGenericBuilderBase
virtual void fillRecList ()=0
 

Protected Attributes

std::vector< prod_ptrrecList
 
- Protected Attributes inherited from BPHDecayGenericBuilderBase
BPHChi2Selectchi2Sel
 
const BPHEventSetupWrapperevSetup
 
BPHMassSelectmassSel
 
BPHMassFitSelectmFitSel
 
double minPDiff
 
bool outdated
 

Detailed Description

template<class ProdType>
class BPHDecayGenericBuilder< ProdType >

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

Author
Paolo Ronchese INFN Padova

Definition at line 40 of file BPHDecayGenericBuilder.h.

Member Typedef Documentation

◆ prod_ptr

template<class ProdType>
typedef ProdType::const_pointer BPHDecayGenericBuilder< ProdType >::prod_ptr

Definition at line 42 of file BPHDecayGenericBuilder.h.

Constructor & Destructor Documentation

◆ BPHDecayGenericBuilder() [1/3]

template<class ProdType>
BPHDecayGenericBuilder< ProdType >::BPHDecayGenericBuilder ( const BPHEventSetupWrapper es,
BPHMassFitSelect mfs 
)
inline

Constructor

Definition at line 46 of file BPHDecayGenericBuilder.h.

◆ BPHDecayGenericBuilder() [2/3]

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

◆ ~BPHDecayGenericBuilder()

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

Destructor

◆ BPHDecayGenericBuilder() [3/3]

template<class ProdType>
BPHDecayGenericBuilder< ProdType >::BPHDecayGenericBuilder ( )
inlineprotected

Definition at line 69 of file BPHDecayGenericBuilder.h.

69 {}

Member Function Documentation

◆ build()

template<class ProdType>
virtual std::vector<prod_ptr> BPHDecayGenericBuilder< ProdType >::build ( )
inlinevirtual

build candidates

Operations

Definition at line 59 of file BPHDecayGenericBuilder.h.

Referenced by BPHWriteSpecificDecay::fill(), and BPHDecayToResTrkTrkSameMassBuilderBase::fillTrkTrkList().

59  {
60  if (outdated) {
61  recList.clear();
62  fillRecList();
63  outdated = false;
64  }
65  return recList;
66  }
virtual void fillRecList()=0
std::vector< prod_ptr > recList

◆ operator=()

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

Member Data Documentation

◆ recList

template<class ProdType>
std::vector<prod_ptr> BPHDecayGenericBuilder< ProdType >::recList
protected