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 BPHDecayGenericBuilder &x)=delete
 
 BPHDecayGenericBuilder (const edm::EventSetup &es, BPHMassFitSelect *mfs=nullptr)
 
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.

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 }

References MillePedeFileConverter_cfg::e, and mFitSel.

◆ BPHDecayGenericBuilder() [2/2]

BPHDecayGenericBuilder::BPHDecayGenericBuilder ( const BPHDecayGenericBuilder x)
delete

◆ ~BPHDecayGenericBuilder()

BPHDecayGenericBuilder::~BPHDecayGenericBuilder ( )
virtual

Destructor

Definition at line 43 of file BPHDecayGenericBuilder.cc.

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

References chi2Sel, massSel, and mFitSel.

Member Function Documentation

◆ getMassFitMax()

double BPHDecayGenericBuilder::getMassFitMax ( ) const
inline

Definition at line 66 of file BPHDecayGenericBuilder.h.

66 { return mFitSel->getMassMax(); }

References BPHMassCuts::getMassMax(), and mFitSel.

◆ getMassFitMin()

double BPHDecayGenericBuilder::getMassFitMin ( ) const
inline

Definition at line 65 of file BPHDecayGenericBuilder.h.

65 { return mFitSel->getMassMin(); }

References BPHMassCuts::getMassMin(), and mFitSel.

◆ 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.

70 { return minPDiff; }

References minPDiff.

◆ getProbMin()

double BPHDecayGenericBuilder::getProbMin ( ) const
inline

◆ operator=()

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

◆ setMassFitMax()

void BPHDecayGenericBuilder::setMassFitMax ( double  m)

Definition at line 84 of file BPHDecayGenericBuilder.cc.

84  {
85  updated = false;
87  return;
88 }

References visualization-live-secondInstance_cfg::m, mFitSel, BPHMassCuts::setMassMax(), and updated.

Referenced by BPHWriteSpecificDecay::fill().

◆ setMassFitMin()

void BPHDecayGenericBuilder::setMassFitMin ( double  m)

Definition at line 78 of file BPHDecayGenericBuilder.cc.

78  {
79  updated = false;
81  return;
82 }

References visualization-live-secondInstance_cfg::m, mFitSel, BPHMassCuts::setMassMin(), and updated.

Referenced by BPHWriteSpecificDecay::fill().

◆ setMassFitRange()

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

◆ setMassMax()

void BPHDecayGenericBuilder::setMassMax ( double  m)

Definition at line 59 of file BPHDecayGenericBuilder.cc.

59  {
60  updated = false;
62  return;
63 }

References visualization-live-secondInstance_cfg::m, massSel, BPHMassCuts::setMassMax(), and updated.

Referenced by BPHWriteSpecificDecay::fill().

◆ setMassMin()

void BPHDecayGenericBuilder::setMassMin ( double  m)

set cuts

Operations

Definition at line 53 of file BPHDecayGenericBuilder.cc.

53  {
54  updated = false;
56  return;
57 }

References visualization-live-secondInstance_cfg::m, massSel, BPHMassCuts::setMassMin(), and updated.

Referenced by BPHWriteSpecificDecay::fill().

◆ 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.

69 { minPDiff = mpd; }

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
BPHChi2Select::setProbMin
void setProbMin(double p)
set prob min
Definition: BPHChi2Select.h:60
BPHMassCuts::setMassMax
void setMassMax(double m)
Definition: BPHMassCuts.h:52
BPHChi2Select::getProbMin
double getProbMin() const
get current prob min
Definition: BPHChi2Select.h:66
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
BPHMassCuts::getMassMin
double getMassMin() const
get current mass cuts
Definition: BPHMassCuts.h:58
BPHDecayGenericBuilder::massSel
BPHMassSelect * massSel
Definition: BPHDecayGenericBuilder.h:75
BPHDecayGenericBuilder::updated
bool updated
Definition: BPHDecayGenericBuilder.h:80
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
BPHMassSelect
Definition: BPHMassSelect.h:31
BPHMassCuts::setMassMin
void setMassMin(double m)
set mass cuts
Definition: BPHMassCuts.h:48
BPHDecayGenericBuilder::evSetup
const edm::EventSetup * evSetup
Definition: BPHDecayGenericBuilder.h:73
BPHDecayGenericBuilder::chi2Sel
BPHChi2Select * chi2Sel
Definition: BPHDecayGenericBuilder.h:76
BPHDecayGenericBuilder::minPDiff
double minPDiff
Definition: BPHDecayGenericBuilder.h:79
BPHDecayGenericBuilder::mFitSel
BPHMassFitSelect * mFitSel
Definition: BPHDecayGenericBuilder.h:77
BPHMassCuts::getMassMax
double getMassMax() const
Definition: BPHMassCuts.h:59
BPHChi2Select
Definition: BPHChi2Select.h:31
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
BPHMassFitSelect
Definition: BPHMassFitSelect.h:34