CMS 3D CMS Logo

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() [1/2]

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

Constructor

Definition at line 29 of file BPHDecayGenericBuilder.cc.

References MillePedeFileConverter_cfg::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() [2/2]

BPHDecayGenericBuilder::BPHDecayGenericBuilder ( const BPHDecayGenericBuilder x)
delete

◆ ~BPHDecayGenericBuilder()

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

◆ getMassFitMax()

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

◆ getMassFitMin()

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

◆ getMassMax()

double BPHDecayGenericBuilder::getMassMax ( ) const
inline

◆ getMassMin()

double BPHDecayGenericBuilder::getMassMin ( ) const
inline

◆ getMinPDiff()

double BPHDecayGenericBuilder::getMinPDiff ( )
inline

Definition at line 70 of file BPHDecayGenericBuilder.h.

References minPDiff.

70 { return minPDiff; }

◆ getProbMin()

double BPHDecayGenericBuilder::getProbMin ( ) const
inline

◆ operator=()

BPHDecayGenericBuilder& BPHDecayGenericBuilder::operator= ( const BPHDecayGenericBuilder x)
delete

◆ setMassFitMax()

void BPHDecayGenericBuilder::setMassFitMax ( double  m)

◆ setMassFitMin()

void BPHDecayGenericBuilder::setMassFitMin ( double  m)

◆ setMassFitRange()

void BPHDecayGenericBuilder::setMassFitRange ( double  mMin,
double  mMax 
)

◆ setMassMax()

void BPHDecayGenericBuilder::setMassMax ( double  m)

◆ setMassMin()

void BPHDecayGenericBuilder::setMassMin ( double  m)

set cuts

Operations

Definition at line 53 of file BPHDecayGenericBuilder.cc.

References visualization-live-secondInstance_cfg::m, 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

◆ setMassRange()

void BPHDecayGenericBuilder::setMassRange ( double  mMin,
double  mMax 
)

◆ setMinPDiff()

void BPHDecayGenericBuilder::setMinPDiff ( double  mpd)
inline

track min p difference

Definition at line 69 of file BPHDecayGenericBuilder.h.

References minPDiff.

◆ setProbMin()

void BPHDecayGenericBuilder::setProbMin ( double  p)

Member Data Documentation

◆ chi2Sel

BPHChi2Select* BPHDecayGenericBuilder::chi2Sel
protected

◆ evSetup

const edm::EventSetup* BPHDecayGenericBuilder::evSetup
protected

◆ massSel

BPHMassSelect* BPHDecayGenericBuilder::massSel
protected

◆ mFitSel

BPHMassFitSelect* BPHDecayGenericBuilder::mFitSel
protected

◆ minPDiff

double BPHDecayGenericBuilder::minPDiff
protected

◆ updated

bool BPHDecayGenericBuilder::updated
protected