CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
BPHDecayToResResBuilder Class Reference

#include <BPHDecayToResResBuilder.h>

Inheritance diagram for BPHDecayToResResBuilder:
BPHDecayConstrainedBuilder BPHDecayGenericBuilder BPHBdToJPsiKxBuilder BPHBsToJPsiPhiBuilder

Public Member Functions

 BPHDecayToResResBuilder (const BPHDecayToResResBuilder &x)=delete
 
 BPHDecayToResResBuilder (const edm::EventSetup &es, const std::string &res1Name, double res1Mass, double res1Width, const std::vector< BPHPlusMinusConstCandPtr > &res1Collection, const std::string &res2Name, const std::vector< BPHPlusMinusConstCandPtr > &res2Collection)
 
std::vector< BPHRecoConstCandPtrbuild ()
 build candidates More...
 
double getRes1MassMax () const
 
double getRes1MassMin () const
 get current cuts More...
 
double getRes2MassMax () const
 
double getRes2MassMin () const
 
BPHDecayToResResBuilderoperator= (const BPHDecayToResResBuilder &x)=delete
 
void setRes1MassMax (double m)
 
void setRes1MassMin (double m)
 set cuts More...
 
void setRes1MassRange (double mMin, double mMax)
 
void setRes2MassMax (double m)
 
void setRes2MassMin (double m)
 set cuts More...
 
void setRes2MassRange (double mMin, double mMax)
 
 ~BPHDecayToResResBuilder () override
 
- Public Member Functions inherited from BPHDecayConstrainedBuilder
 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 ()
 

Private Attributes

std::vector< BPHRecoConstCandPtrrecList
 
BPHMassSelectres2Sel
 
const std::vector< BPHPlusMinusConstCandPtr > * sCollection
 
std::string sName
 

Additional Inherited Members

- Protected Attributes inherited from BPHDecayConstrainedBuilder
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 two resonances, decaying themselves to an opposite charged particles pair

Author
Paolo Ronchese INFN Padova

Definition at line 37 of file BPHDecayToResResBuilder.h.

Constructor & Destructor Documentation

◆ BPHDecayToResResBuilder() [1/2]

BPHDecayToResResBuilder::BPHDecayToResResBuilder ( const edm::EventSetup es,
const std::string &  res1Name,
double  res1Mass,
double  res1Width,
const std::vector< BPHPlusMinusConstCandPtr > &  res1Collection,
const std::string &  res2Name,
const std::vector< BPHPlusMinusConstCandPtr > &  res2Collection 
)

Constructor

Definition at line 32 of file BPHDecayToResResBuilder.cc.

39  : BPHDecayConstrainedBuilder(es, res1Name, res1Mass, res1Width, res1Collection),
40  sName(res2Name),
41  sCollection(&res2Collection),
42  res2Sel(new BPHMassSelect(-2.0e+06, -1.0e+06)) {}

◆ BPHDecayToResResBuilder() [2/2]

BPHDecayToResResBuilder::BPHDecayToResResBuilder ( const BPHDecayToResResBuilder x)
delete

◆ ~BPHDecayToResResBuilder()

BPHDecayToResResBuilder::~BPHDecayToResResBuilder ( )
override

Destructor

Definition at line 47 of file BPHDecayToResResBuilder.cc.

47 { delete res2Sel; }

References res2Sel.

Member Function Documentation

◆ build()

vector< BPHRecoConstCandPtr > BPHDecayToResResBuilder::build ( )

◆ getRes1MassMax()

double BPHDecayToResResBuilder::getRes1MassMax ( ) const
inline

◆ getRes1MassMin()

double BPHDecayToResResBuilder::getRes1MassMin ( ) const
inline

◆ getRes2MassMax()

double BPHDecayToResResBuilder::getRes2MassMax ( ) const
inline

◆ getRes2MassMin()

double BPHDecayToResResBuilder::getRes2MassMin ( ) const
inline

◆ operator=()

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

◆ setRes1MassMax()

void BPHDecayToResResBuilder::setRes1MassMax ( double  m)
inline

◆ setRes1MassMin()

void BPHDecayToResResBuilder::setRes1MassMin ( double  m)
inline

◆ setRes1MassRange()

void BPHDecayToResResBuilder::setRes1MassRange ( double  mMin,
double  mMax 
)
inline

◆ setRes2MassMax()

void BPHDecayToResResBuilder::setRes2MassMax ( double  m)

◆ setRes2MassMin()

void BPHDecayToResResBuilder::setRes2MassMin ( double  m)

◆ setRes2MassRange()

void BPHDecayToResResBuilder::setRes2MassRange ( double  mMin,
double  mMax 
)

Member Data Documentation

◆ recList

std::vector<BPHRecoConstCandPtr> BPHDecayToResResBuilder::recList
private

Definition at line 83 of file BPHDecayToResResBuilder.h.

Referenced by build().

◆ res2Sel

BPHMassSelect* BPHDecayToResResBuilder::res2Sel
private

◆ sCollection

const std::vector<BPHPlusMinusConstCandPtr>* BPHDecayToResResBuilder::sCollection
private

Definition at line 79 of file BPHDecayToResResBuilder.h.

Referenced by build().

◆ sName

std::string BPHDecayToResResBuilder::sName
private

Definition at line 77 of file BPHDecayToResResBuilder.h.

Referenced by build().

BPHMassCuts::setMassMax
void setMassMax(double m)
Definition: BPHMassCuts.h:52
BPHChi2Select::getProbMin
double getProbMin() const
get current prob min
Definition: BPHChi2Select.h:66
BPHMassCuts::getMassMin
double getMassMin() const
get current mass cuts
Definition: BPHMassCuts.h:58
BPHDecayToResResBuilder::res2Sel
BPHMassSelect * res2Sel
Definition: BPHDecayToResResBuilder.h:81
BPHDecayConstrainedBuilder::BPHDecayConstrainedBuilder
BPHDecayConstrainedBuilder(const edm::EventSetup &es, const std::string &resName, double resMass, double resWidth, const std::vector< BPHPlusMinusConstCandPtr > &resCollection)
Definition: BPHDecayConstrainedBuilder.cc:32
BPHDecayConstrainedBuilder::setResMassRange
void setResMassRange(double mMin, double mMax)
Definition: BPHDecayConstrainedBuilder.cc:66
BPHDecayGenericBuilder::massSel
BPHMassSelect * massSel
Definition: BPHDecayGenericBuilder.h:75
BPHDecayConstrainedBuilder::resoSel
BPHMassSelect * resoSel
Definition: BPHDecayConstrainedBuilder.h:75
BPHDecayConstrainedBuilder::rCollection
const std::vector< BPHPlusMinusConstCandPtr > * rCollection
Definition: BPHDecayConstrainedBuilder.h:73
BPHDecayToResResBuilder::sName
std::string sName
Definition: BPHDecayToResResBuilder.h:77
BPHDecayGenericBuilder::updated
bool updated
Definition: BPHDecayGenericBuilder.h:80
BPHRecoBuilder
Definition: BPHRecoBuilder.h:50
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:79
BPHDecayConstrainedBuilder::getResMassMax
double getResMassMax() const
Definition: BPHDecayConstrainedBuilder.h:65
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
BPHDecayConstrainedBuilder::setResMassMax
void setResMassMax(double m)
Definition: BPHDecayConstrainedBuilder.cc:60
BPHDecayGenericBuilder::chi2Sel
BPHChi2Select * chi2Sel
Definition: BPHDecayGenericBuilder.h:76
BPHDecayConstrainedBuilder::setResMassMin
void setResMassMin(double m)
set cuts
Definition: BPHDecayConstrainedBuilder.cc:54
BPHDecayGenericBuilder::minPDiff
double minPDiff
Definition: BPHDecayGenericBuilder.h:79
BPHDecayGenericBuilder::mFitSel
BPHMassFitSelect * mFitSel
Definition: BPHDecayGenericBuilder.h:77
BPHDecayToResResBuilder::sCollection
const std::vector< BPHPlusMinusConstCandPtr > * sCollection
Definition: BPHDecayToResResBuilder.h:79
BPHMassCuts::getMassMax
double getMassMax() const
Definition: BPHMassCuts.h:59
BPHDecayConstrainedBuilder::getResMassMin
double getResMassMin() const
get current cuts
Definition: BPHDecayConstrainedBuilder.h:64
BPHDecayConstrainedBuilder::rName
std::string rName
Definition: BPHDecayConstrainedBuilder.h:69
BPHRecoCandidate::build
static std::vector< BPHRecoConstCandPtr > build(const BPHRecoBuilder &builder, double mass=-1, double msig=-1)
Definition: BPHRecoCandidate.cc:43
BPHDecayToResResBuilder::recList
std::vector< BPHRecoConstCandPtr > recList
Definition: BPHDecayToResResBuilder.h:83
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37