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

#include <BPHBuToJPsiKBuilder.h>

Inheritance diagram for BPHBuToJPsiKBuilder:
BPHDecayToResTrkBuilder BPHDecayConstrainedBuilder BPHDecayGenericBuilder

Public Member Functions

 BPHBuToJPsiKBuilder (const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const BPHRecoBuilder::BPHGenericCollection *kaonCollection)
 
 BPHBuToJPsiKBuilder (const BPHBuToJPsiKBuilder &x)=delete
 
double getJPsiMassMax () const
 
double getJPsiMassMin () const
 
double getKEtaMax () const
 
double getKPtMin () const
 get current cuts More...
 
BPHBuToJPsiKBuilderoperator= (const BPHBuToJPsiKBuilder &x)=delete
 
void setJPsiMassMax (double m)
 
void setJPsiMassMin (double m)
 
void setKEtaMax (double eta)
 
void setKPtMin (double pt)
 set cuts More...
 
 ~BPHBuToJPsiKBuilder () 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 B+- to JPsi K+- candidates

Author
Paolo Ronchese INFN Padova

Definition at line 37 of file BPHBuToJPsiKBuilder.h.

Constructor & Destructor Documentation

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

Constructor

Definition at line 41 of file BPHBuToJPsiKBuilder.h.

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

45  "JPsi",
48  jpsiCollection,
49  "Kaon",
52  kaonCollection) {
53  setResMassRange(2.80, 3.40);
54  setTrkPtMin(0.7);
55  setTrkEtaMax(10.0);
56  setMassRange(3.50, 8.00);
57  setProbMin(0.02);
58  setMassFitRange(5.00, 6.00);
59  setConstr(true);
60  }
static const double kaonMass
static const double jPsiMWidth
static const double jPsiMass
void setTrkPtMin(double pt)
set cuts
void setMassRange(double mMin, double mMax)
void setResMassRange(double mMin, double mMax)
static const double kaonMSigma
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)
BPHBuToJPsiKBuilder::BPHBuToJPsiKBuilder ( const BPHBuToJPsiKBuilder x)
delete
BPHBuToJPsiKBuilder::~BPHBuToJPsiKBuilder ( )
inlineoverride

Destructor

Definition at line 68 of file BPHBuToJPsiKBuilder.h.

68 {}

Member Function Documentation

double BPHBuToJPsiKBuilder::getJPsiMassMax ( ) const
inline

Definition at line 82 of file BPHBuToJPsiKBuilder.h.

References BPHDecayConstrainedBuilder::getResMassMax().

82 { return getResMassMax(); }
double BPHBuToJPsiKBuilder::getJPsiMassMin ( ) const
inline

Definition at line 81 of file BPHBuToJPsiKBuilder.h.

References BPHDecayConstrainedBuilder::getResMassMin().

81 { return getResMassMin(); }
double getResMassMin() const
get current cuts
double BPHBuToJPsiKBuilder::getKEtaMax ( ) const
inline

Definition at line 80 of file BPHBuToJPsiKBuilder.h.

References BPHDecayToResTrkBuilder::getTrkEtaMax().

80 { return getTrkEtaMax(); }
double BPHBuToJPsiKBuilder::getKPtMin ( ) const
inline

get current cuts

Definition at line 79 of file BPHBuToJPsiKBuilder.h.

References BPHDecayToResTrkBuilder::getTrkPtMin().

79 { return getTrkPtMin(); }
double getTrkPtMin() const
get current cuts
BPHBuToJPsiKBuilder& BPHBuToJPsiKBuilder::operator= ( const BPHBuToJPsiKBuilder x)
delete
void BPHBuToJPsiKBuilder::setJPsiMassMax ( double  m)
inline
void BPHBuToJPsiKBuilder::setJPsiMassMin ( double  m)
inline
void BPHBuToJPsiKBuilder::setKEtaMax ( double  eta)
inline
void BPHBuToJPsiKBuilder::setKPtMin ( double  pt)
inline

set cuts

Operations

Definition at line 73 of file BPHBuToJPsiKBuilder.h.

Referenced by BPHWriteSpecificDecay::fill().