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

#include <BPHBdToJPsiKsBuilder.h>

Inheritance diagram for BPHBdToJPsiKsBuilder:
BPHDecayToResFlyingBuilder BPHDecayConstrainedBuilder BPHDecayGenericBuilder

Public Member Functions

 BPHBdToJPsiKsBuilder (const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const std::vector< BPHPlusMinusConstCandPtr > &k0sCollection)
 
 BPHBdToJPsiKsBuilder (const BPHBdToJPsiKsBuilder &x)=delete
 
double getJPsiMassMax () const
 
double getJPsiMassMin () const
 get current cuts More...
 
double getK0MassMax () const
 
double getK0MassMin () const
 
BPHBdToJPsiKsBuilderoperator= (const BPHBdToJPsiKsBuilder &x)=delete
 
void setJPsiMassMax (double m)
 
void setJPsiMassMin (double m)
 set cuts More...
 
void setK0MassMax (double m)
 
void setK0MassMin (double m)
 
 ~BPHBdToJPsiKsBuilder () override
 
- Public Member Functions inherited from BPHDecayToResFlyingBuilder
 BPHDecayToResFlyingBuilder (const edm::EventSetup &es, const std::string &resName, double resMass, double resWidth, const std::vector< BPHPlusMinusConstCandPtr > &resCollection, const std::string &flyName, double flyMass, double flyMSigma, const std::vector< BPHPlusMinusConstCandPtr > &flyCollection)
 
 BPHDecayToResFlyingBuilder (const BPHDecayToResFlyingBuilder &x)=delete
 
std::vector< BPHRecoConstCandPtrbuild ()
 build candidates More...
 
const std::map< const
BPHRecoCandidate *, const
BPHRecoCandidate * > & 
daughMap () const
 get original daughters map More...
 
double getFlyingMassMax () const
 
double getFlyingMassMin () const
 get current cuts More...
 
double getKinFitProbMin () const
 
BPHDecayToResFlyingBuilderoperator= (const BPHDecayToResFlyingBuilder &x)=delete
 
void setFlyingMassMax (double m)
 
void setFlyingMassMin (double m)
 set cuts More...
 
void setFlyingMassRange (double mMin, double mMax)
 
void setKinFitProbMin (double p)
 
 ~BPHDecayToResFlyingBuilder () 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 B0 to JPsi K0s candidates

Author
Paolo Ronchese INFN Padova

Definition at line 37 of file BPHBdToJPsiKsBuilder.h.

Constructor & Destructor Documentation

BPHBdToJPsiKsBuilder::BPHBdToJPsiKsBuilder ( const edm::EventSetup es,
const std::vector< BPHPlusMinusConstCandPtr > &  jpsiCollection,
const std::vector< BPHPlusMinusConstCandPtr > &  k0sCollection 
)
inline

Constructor

Definition at line 41 of file BPHBdToJPsiKsBuilder.h.

References BPHDecayConstrainedBuilder::setConstr(), BPHDecayToResFlyingBuilder::setFlyingMassRange(), BPHDecayToResFlyingBuilder::setKinFitProbMin(), BPHDecayGenericBuilder::setMassFitRange(), BPHDecayGenericBuilder::setMassRange(), and BPHDecayConstrainedBuilder::setResMassRange().

45  "JPsi",
48  jpsiCollection,
49  "K0s",
52  k0sCollection) {
53  setResMassRange(2.80, 3.40);
54  setFlyingMassRange(0.00, 2.00);
55  setMassRange(3.50, 8.00);
56  setKinFitProbMin(0.02);
57  setMassFitRange(5.00, 6.00);
58  setConstr(true);
59  }
static const double jPsiMWidth
BPHDecayToResFlyingBuilder(const edm::EventSetup &es, const std::string &resName, double resMass, double resWidth, const std::vector< BPHPlusMinusConstCandPtr > &resCollection, const std::string &flyName, double flyMass, double flyMSigma, const std::vector< BPHPlusMinusConstCandPtr > &flyCollection)
static const double jPsiMass
static const double k0sMass
void setMassRange(double mMin, double mMax)
static const double k0sMSigma
void setResMassRange(double mMin, double mMax)
void setFlyingMassRange(double mMin, double mMax)
void setMassFitRange(double mMin, double mMax)
BPHBdToJPsiKsBuilder::BPHBdToJPsiKsBuilder ( const BPHBdToJPsiKsBuilder x)
delete
BPHBdToJPsiKsBuilder::~BPHBdToJPsiKsBuilder ( )
inlineoverride

Destructor

Definition at line 67 of file BPHBdToJPsiKsBuilder.h.

67 {}

Member Function Documentation

double BPHBdToJPsiKsBuilder::getJPsiMassMax ( ) const
inline

Definition at line 79 of file BPHBdToJPsiKsBuilder.h.

References BPHDecayConstrainedBuilder::getResMassMax().

79 { return getResMassMax(); }
double BPHBdToJPsiKsBuilder::getJPsiMassMin ( ) const
inline

get current cuts

Definition at line 78 of file BPHBdToJPsiKsBuilder.h.

References BPHDecayConstrainedBuilder::getResMassMin().

78 { return getResMassMin(); }
double getResMassMin() const
get current cuts
double BPHBdToJPsiKsBuilder::getK0MassMax ( ) const
inline

Definition at line 81 of file BPHBdToJPsiKsBuilder.h.

References BPHDecayToResFlyingBuilder::getFlyingMassMax().

81 { return getFlyingMassMax(); }
double BPHBdToJPsiKsBuilder::getK0MassMin ( ) const
inline

Definition at line 80 of file BPHBdToJPsiKsBuilder.h.

References BPHDecayToResFlyingBuilder::getFlyingMassMin().

80 { return getFlyingMassMin(); }
double getFlyingMassMin() const
get current cuts
BPHBdToJPsiKsBuilder& BPHBdToJPsiKsBuilder::operator= ( const BPHBdToJPsiKsBuilder x)
delete
void BPHBdToJPsiKsBuilder::setJPsiMassMax ( double  m)
inline
void BPHBdToJPsiKsBuilder::setJPsiMassMin ( double  m)
inline

set cuts

Operations

Definition at line 72 of file BPHBdToJPsiKsBuilder.h.

Referenced by BPHWriteSpecificDecay::fill().

void BPHBdToJPsiKsBuilder::setK0MassMax ( double  m)
inline
void BPHBdToJPsiKsBuilder::setK0MassMin ( double  m)
inline