CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
BPHDecayConstrainedBuilder Class Reference

#include <BPHDecayConstrainedBuilder.h>

Inheritance diagram for BPHDecayConstrainedBuilder:
BPHDecayGenericBuilder BPHDecayToResFlyingBuilder BPHDecayToResResBuilder BPHDecayToResTrkBuilder BPHBdToJPsiKsBuilder BPHLbToJPsiL0Builder BPHBdToJPsiKxBuilder BPHBsToJPsiPhiBuilder BPHBcToJPsiPiBuilder BPHBuToJPsiKBuilder

Public Member Functions

 BPHDecayConstrainedBuilder (const BPHDecayConstrainedBuilder &x)=delete
 
 BPHDecayConstrainedBuilder (const edm::EventSetup &es, const std::string &resName, double resMass, double resWidth, const std::vector< BPHPlusMinusConstCandPtr > &resCollection)
 
bool getConstr () const
 
double getResMassMax () const
 
double getResMassMin () const
 get current cuts More...
 
BPHDecayConstrainedBuilderoperator= (const BPHDecayConstrainedBuilder &x)=delete
 
void setConstr (bool flag)
 
void setResMassMax (double m)
 
void setResMassMin (double m)
 set cuts More...
 
void setResMassRange (double mMin, double mMax)
 
 ~BPHDecayConstrainedBuilder () override
 
- Public Member Functions inherited from BPHDecayGenericBuilder
 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

bool massConstr
 
const std::vector< BPHPlusMinusConstCandPtr > * rCollection
 
BPHMassSelectresoSel
 
double rMass
 
std::string rName
 
double rWidth
 
- Protected Attributes inherited from BPHDecayGenericBuilder
BPHChi2Selectchi2Sel
 
const edm::EventSetupevSetup
 
BPHMassSelectmassSel
 
BPHMassFitSelectmFitSel
 
double minPDiff
 
bool updated
 

Detailed Description

Description: Class to build a particle decaying to a resonance, decaying itself to an opposite charged particles pair, applying a mass constraint

Author
Paolo Ronchese INFN Padova

Definition at line 37 of file BPHDecayConstrainedBuilder.h.

Constructor & Destructor Documentation

◆ BPHDecayConstrainedBuilder() [1/2]

BPHDecayConstrainedBuilder::BPHDecayConstrainedBuilder ( const edm::EventSetup es,
const std::string &  resName,
double  resMass,
double  resWidth,
const std::vector< BPHPlusMinusConstCandPtr > &  resCollection 
)

Constructor

Definition at line 32 of file BPHDecayConstrainedBuilder.cc.

37  : BPHDecayGenericBuilder(es, new BPHMassFitSelect(resName, resMass, resWidth, -2.0e+06, -1.0e+06)),
38  rName(resName),
39  rMass(resMass),
40  rWidth(resWidth),
41  rCollection(&resCollection),
42  resoSel(new BPHMassSelect(-2.0e+06, -1.0e+06)),
43  massConstr(true) {}

◆ BPHDecayConstrainedBuilder() [2/2]

BPHDecayConstrainedBuilder::BPHDecayConstrainedBuilder ( const BPHDecayConstrainedBuilder x)
delete

◆ ~BPHDecayConstrainedBuilder()

BPHDecayConstrainedBuilder::~BPHDecayConstrainedBuilder ( )
override

Destructor

Definition at line 48 of file BPHDecayConstrainedBuilder.cc.

48 { delete resoSel; }

References resoSel.

Member Function Documentation

◆ getConstr()

bool BPHDecayConstrainedBuilder::getConstr ( ) const
inline

Definition at line 66 of file BPHDecayConstrainedBuilder.h.

66 { return massConstr; }

References massConstr.

◆ getResMassMax()

double BPHDecayConstrainedBuilder::getResMassMax ( ) const
inline

◆ getResMassMin()

double BPHDecayConstrainedBuilder::getResMassMin ( ) const
inline

◆ operator=()

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

◆ setConstr()

void BPHDecayConstrainedBuilder::setConstr ( bool  flag)

◆ setResMassMax()

void BPHDecayConstrainedBuilder::setResMassMax ( double  m)

◆ setResMassMin()

void BPHDecayConstrainedBuilder::setResMassMin ( double  m)

◆ setResMassRange()

void BPHDecayConstrainedBuilder::setResMassRange ( double  mMin,
double  mMax 
)

Member Data Documentation

◆ massConstr

bool BPHDecayConstrainedBuilder::massConstr
protected

Definition at line 77 of file BPHDecayConstrainedBuilder.h.

Referenced by getConstr(), and setConstr().

◆ rCollection

const std::vector<BPHPlusMinusConstCandPtr>* BPHDecayConstrainedBuilder::rCollection
protected

◆ resoSel

BPHMassSelect* BPHDecayConstrainedBuilder::resoSel
protected

◆ rMass

double BPHDecayConstrainedBuilder::rMass
protected

Definition at line 70 of file BPHDecayConstrainedBuilder.h.

Referenced by setConstr().

◆ rName

std::string BPHDecayConstrainedBuilder::rName
protected

◆ rWidth

double BPHDecayConstrainedBuilder::rWidth
protected

Definition at line 71 of file BPHDecayConstrainedBuilder.h.

Referenced by setConstr().

BPHMassCuts::setMassMax
void setMassMax(double m)
Definition: BPHMassCuts.h:52
BPHMassCuts::getMassMin
double getMassMin() const
get current mass cuts
Definition: BPHMassCuts.h:58
BPHDecayConstrainedBuilder::resoSel
BPHMassSelect * resoSel
Definition: BPHDecayConstrainedBuilder.h:75
BPHDecayConstrainedBuilder::rCollection
const std::vector< BPHPlusMinusConstCandPtr > * rCollection
Definition: BPHDecayConstrainedBuilder.h:73
BPHDecayGenericBuilder::updated
bool updated
Definition: BPHDecayGenericBuilder.h:80
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
BPHDecayConstrainedBuilder::massConstr
bool massConstr
Definition: BPHDecayConstrainedBuilder.h:77
BPHMassSelect
Definition: BPHMassSelect.h:31
BPHMassCuts::setMassMin
void setMassMin(double m)
set mass cuts
Definition: BPHMassCuts.h:48
BPHDecayGenericBuilder::mFitSel
BPHMassFitSelect * mFitSel
Definition: BPHDecayGenericBuilder.h:77
BPHMassCuts::getMassMax
double getMassMax() const
Definition: BPHMassCuts.h:59
BPHDecayConstrainedBuilder::rMass
double rMass
Definition: BPHDecayConstrainedBuilder.h:70
BPHDecayConstrainedBuilder::rName
std::string rName
Definition: BPHDecayConstrainedBuilder.h:69
BPHDecayGenericBuilder::BPHDecayGenericBuilder
BPHDecayGenericBuilder(const edm::EventSetup &es, BPHMassFitSelect *mfs=nullptr)
Definition: BPHDecayGenericBuilder.cc:29
BPHDecayConstrainedBuilder::rWidth
double rWidth
Definition: BPHDecayConstrainedBuilder.h:71
RemoveAddSevLevel.flag
flag
Definition: RemoveAddSevLevel.py:116
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
BPHMassFitSelect
Definition: BPHMassFitSelect.h:34