CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
BPHDecayGenericBuilder Class Reference

#include <BPHDecayGenericBuilder.h>

Inheritance diagram for BPHDecayGenericBuilder:
BPHDecayConstrainedBuilder BPHDecayToChargedXXbarBuilder BPHDecayToTkpTknSymChargeBuilder BPHDecayToV0Builder BPHDecayToResFlyingBuilder BPHDecayToResResBuilder BPHDecayToResTrkBuilder BPHPhiToKKBuilder BPHKx0ToKPiBuilder BPHDecayToV0DiffMassBuilder BPHDecayToV0SameMassBuilder BPHBdToJPsiKsBuilder BPHLbToJPsiL0Builder BPHBdToJPsiKxBuilder BPHBsToJPsiPhiBuilder BPHBcToJPsiPiBuilder BPHBuToJPsiKBuilder BPHLambda0ToPPiBuilder BPHK0sToPiPiBuilder

Public Member Functions

 BPHDecayGenericBuilder (const edm::EventSetup &es, BPHMassFitSelect *mfs=nullptr)
 
 BPHDecayGenericBuilder (const BPHDecayGenericBuilder &x)=delete
 
double getMassFitMax () const
 
double getMassFitMin () const
 
double getMassMax () const
 
double getMassMin () const
 get current cuts More...
 
double getMinPDiff ()
 
double getProbMin () const
 
BPHDecayGenericBuilderoperator= (const BPHDecayGenericBuilder &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 ~BPHDecayGenericBuilder ()
 

Protected Attributes

BPHChi2Selectchi2Sel
 
const edm::EventSetupevSetup
 
BPHMassSelectmassSel
 
BPHMassFitSelectmFitSel
 
double minPDiff
 
bool updated
 

Detailed Description

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

Author
Paolo Ronchese INFN Padova

Definition at line 36 of file BPHDecayGenericBuilder.h.

Constructor & Destructor Documentation

BPHDecayGenericBuilder::BPHDecayGenericBuilder ( const edm::EventSetup es,
BPHMassFitSelect mfs = nullptr 
)

Constructor

Definition at line 29 of file BPHDecayGenericBuilder.cc.

References alignCSCRings::e, and mFitSel.

30  : evSetup(&es),
31  massSel(new BPHMassSelect(-2.0e+06, -1.0e+06)),
32  chi2Sel(new BPHChi2Select(-1.0)),
33  mFitSel(mfs),
34  minPDiff(1.0e-4),
35  updated(false) {
36  if (mFitSel == nullptr)
37  mFitSel = new BPHMassFitSelect(-2.0e+06, -1.0e+06);
38 }
const edm::EventSetup * evSetup
BPHDecayGenericBuilder::BPHDecayGenericBuilder ( const BPHDecayGenericBuilder x)
delete
BPHDecayGenericBuilder::~BPHDecayGenericBuilder ( )
virtual

Destructor

Definition at line 43 of file BPHDecayGenericBuilder.cc.

References chi2Sel, massSel, and mFitSel.

43  {
44  delete massSel;
45  delete chi2Sel;
46  delete mFitSel;
47 }

Member Function Documentation

double BPHDecayGenericBuilder::getMassFitMax ( ) const
inline

Definition at line 66 of file BPHDecayGenericBuilder.h.

References BPHMassCuts::getMassMax(), and mFitSel.

66 { return mFitSel->getMassMax(); }
double getMassMax() const
Definition: BPHMassCuts.h:59
double BPHDecayGenericBuilder::getMassFitMin ( ) const
inline

Definition at line 65 of file BPHDecayGenericBuilder.h.

References BPHMassCuts::getMassMin(), and mFitSel.

65 { return mFitSel->getMassMin(); }
double getMassMin() const
get current mass cuts
Definition: BPHMassCuts.h:58
double BPHDecayGenericBuilder::getMassMax ( ) const
inline
double BPHDecayGenericBuilder::getMassMin ( ) const
inline
double BPHDecayGenericBuilder::getMinPDiff ( )
inline

Definition at line 70 of file BPHDecayGenericBuilder.h.

References minPDiff.

70 { return minPDiff; }
double BPHDecayGenericBuilder::getProbMin ( ) const
inline
BPHDecayGenericBuilder& BPHDecayGenericBuilder::operator= ( const BPHDecayGenericBuilder x)
delete
void BPHDecayGenericBuilder::setMassFitMax ( double  m)

Definition at line 84 of file BPHDecayGenericBuilder.cc.

References mFitSel, BPHMassCuts::setMassMax(), and updated.

Referenced by BPHWriteSpecificDecay::fill().

84  {
85  updated = false;
87  return;
88 }
void setMassMax(double m)
Definition: BPHMassCuts.h:52
void BPHDecayGenericBuilder::setMassFitMin ( double  m)

Definition at line 78 of file BPHDecayGenericBuilder.cc.

References mFitSel, BPHMassCuts::setMassMin(), and updated.

Referenced by BPHWriteSpecificDecay::fill().

78  {
79  updated = false;
81  return;
82 }
void setMassMin(double m)
set mass cuts
Definition: BPHMassCuts.h:48
void BPHDecayGenericBuilder::setMassFitRange ( double  mMin,
double  mMax 
)
void BPHDecayGenericBuilder::setMassMax ( double  m)

Definition at line 59 of file BPHDecayGenericBuilder.cc.

References massSel, BPHMassCuts::setMassMax(), and updated.

Referenced by BPHWriteSpecificDecay::fill().

void BPHDecayGenericBuilder::setMassMin ( double  m)

set cuts

Operations

Definition at line 53 of file BPHDecayGenericBuilder.cc.

References massSel, BPHMassCuts::setMassMin(), and updated.

Referenced by BPHWriteSpecificDecay::fill().

53  {
54  updated = false;
56  return;
57 }
void setMassMin(double m)
set mass cuts
Definition: BPHMassCuts.h:48
void BPHDecayGenericBuilder::setMassRange ( double  mMin,
double  mMax 
)
void BPHDecayGenericBuilder::setMinPDiff ( double  mpd)
inline

track min p difference

Definition at line 69 of file BPHDecayGenericBuilder.h.

References minPDiff.

69 { minPDiff = mpd; }
void BPHDecayGenericBuilder::setProbMin ( double  p)

Member Data Documentation

BPHChi2Select* BPHDecayGenericBuilder::chi2Sel
protected
const edm::EventSetup* BPHDecayGenericBuilder::evSetup
protected
BPHMassSelect* BPHDecayGenericBuilder::massSel
protected
BPHMassFitSelect* BPHDecayGenericBuilder::mFitSel
protected
double BPHDecayGenericBuilder::minPDiff
protected
bool BPHDecayGenericBuilder::updated
protected