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
BPHBcToJPsiPiBuilder Class Reference

#include <BPHBcToJPsiPiBuilder.h>

Inheritance diagram for BPHBcToJPsiPiBuilder:
BPHDecayToResTrkBuilder BPHDecayConstrainedBuilder BPHDecayGenericBuilder

Public Member Functions

 BPHBcToJPsiPiBuilder (const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const BPHRecoBuilder::BPHGenericCollection *pionCollection)
 
 BPHBcToJPsiPiBuilder (const BPHBcToJPsiPiBuilder &x)=delete
 
double getJPsiMassMax () const
 
double getJPsiMassMin () const
 
double getPiEtaMax () const
 
double getPiPtMin () const
 get current cuts More...
 
BPHBcToJPsiPiBuilderoperator= (const BPHBcToJPsiPiBuilder &x)=delete
 
void setJPsiMassMax (double m)
 
void setJPsiMassMin (double m)
 
void setPiEtaMax (double eta)
 
void setPiPtMin (double pt)
 set cuts More...
 
 ~BPHBcToJPsiPiBuilder () override
 
- Public Member Functions inherited from BPHDecayToResTrkBuilder
 BPHDecayToResTrkBuilder (const edm::EventSetup &es, const std::string &resName, double resMass, double resWidth, const std::vector< BPHPlusMinusConstCandPtr > &resCollection, const std::string &trkName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *trkCollection)
 
 BPHDecayToResTrkBuilder (const BPHDecayToResTrkBuilder &x)=delete
 
std::vector< BPHRecoConstCandPtrbuild ()
 build candidates More...
 
double getTrkEtaMax () const
 
double getTrkPtMin () const
 get current cuts More...
 
BPHDecayToResTrkBuilderoperator= (const BPHDecayToResTrkBuilder &x)=delete
 
void setTrkEtaMax (double eta)
 
void setTrkPtMin (double pt)
 set cuts More...
 
 ~BPHDecayToResTrkBuilder () override
 
- Public Member Functions inherited from BPHDecayConstrainedBuilder
 BPHDecayConstrainedBuilder (const edm::EventSetup &es, const std::string &resName, double resMass, double resWidth, const std::vector< BPHPlusMinusConstCandPtr > &resCollection)
 
 BPHDecayConstrainedBuilder (const BPHDecayConstrainedBuilder &x)=delete
 
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 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 ()
 

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 Bc to JPsi pi+- candidates

Author
Paolo Ronchese INFN Padova

Definition at line 44 of file BPHBcToJPsiPiBuilder.h.

Constructor & Destructor Documentation

BPHBcToJPsiPiBuilder::BPHBcToJPsiPiBuilder ( const edm::EventSetup es,
const std::vector< BPHPlusMinusConstCandPtr > &  jpsiCollection,
const BPHRecoBuilder::BPHGenericCollection pionCollection 
)
inline

Constructor

Definition at line 48 of file BPHBcToJPsiPiBuilder.h.

References BPHDecayConstrainedBuilder::setConstr(), BPHDecayGenericBuilder::setMassFitRange(), BPHDecayGenericBuilder::setMassRange(), BPHDecayGenericBuilder::setProbMin(), BPHDecayConstrainedBuilder::setResMassRange(), BPHDecayToResTrkBuilder::setTrkEtaMax(), and BPHDecayToResTrkBuilder::setTrkPtMin().

52  "JPsi",
55  jpsiCollection,
56  "Pion",
59  pionCollection) {
60  setResMassRange(2.80, 3.40);
61  setTrkPtMin(0.7);
62  setTrkEtaMax(10.0);
63  setMassRange(4.00, 9.00);
64  setProbMin(0.02);
65  setMassFitRange(6.00, 7.00);
66  setConstr(true);
67  }
static const double jPsiMWidth
static const double jPsiMass
void setTrkPtMin(double pt)
set cuts
void setMassRange(double mMin, double mMax)
static const double pionMSigma
static const double pionMass
void setResMassRange(double mMin, double mMax)
BPHDecayToResTrkBuilder(const edm::EventSetup &es, const std::string &resName, double resMass, double resWidth, const std::vector< BPHPlusMinusConstCandPtr > &resCollection, const std::string &trkName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *trkCollection)
void setMassFitRange(double mMin, double mMax)
BPHBcToJPsiPiBuilder::BPHBcToJPsiPiBuilder ( const BPHBcToJPsiPiBuilder x)
delete
BPHBcToJPsiPiBuilder::~BPHBcToJPsiPiBuilder ( )
inlineoverride

Destructor

Definition at line 75 of file BPHBcToJPsiPiBuilder.h.

75 {}

Member Function Documentation

double BPHBcToJPsiPiBuilder::getJPsiMassMax ( ) const
inline

Definition at line 89 of file BPHBcToJPsiPiBuilder.h.

References BPHDecayConstrainedBuilder::getResMassMax().

89 { return getResMassMax(); }
double BPHBcToJPsiPiBuilder::getJPsiMassMin ( ) const
inline

Definition at line 88 of file BPHBcToJPsiPiBuilder.h.

References BPHDecayConstrainedBuilder::getResMassMin().

88 { return getResMassMin(); }
double getResMassMin() const
get current cuts
double BPHBcToJPsiPiBuilder::getPiEtaMax ( ) const
inline

Definition at line 87 of file BPHBcToJPsiPiBuilder.h.

References BPHDecayToResTrkBuilder::getTrkEtaMax().

87 { return getTrkEtaMax(); }
double BPHBcToJPsiPiBuilder::getPiPtMin ( ) const
inline

get current cuts

Definition at line 86 of file BPHBcToJPsiPiBuilder.h.

References BPHDecayToResTrkBuilder::getTrkPtMin().

86 { return getTrkPtMin(); }
double getTrkPtMin() const
get current cuts
BPHBcToJPsiPiBuilder& BPHBcToJPsiPiBuilder::operator= ( const BPHBcToJPsiPiBuilder x)
delete
void BPHBcToJPsiPiBuilder::setJPsiMassMax ( double  m)
inline
void BPHBcToJPsiPiBuilder::setJPsiMassMin ( double  m)
inline
void BPHBcToJPsiPiBuilder::setPiEtaMax ( double  eta)
inline
void BPHBcToJPsiPiBuilder::setPiPtMin ( double  pt)
inline

set cuts

Operations

Definition at line 80 of file BPHBcToJPsiPiBuilder.h.

Referenced by BPHWriteSpecificDecay::fill().