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

#include <BPHBdToJPsiKxBuilder.h>

Inheritance diagram for BPHBdToJPsiKxBuilder:
BPHDecayToResResBuilder BPHDecayConstrainedBuilder BPHDecayGenericBuilder

Public Member Functions

 BPHBdToJPsiKxBuilder (const edm::EventSetup &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const std::vector< BPHPlusMinusConstCandPtr > &kx0Collection)
 
 BPHBdToJPsiKxBuilder (const BPHBdToJPsiKxBuilder &x)=delete
 
double getJPsiMassMax () const
 
double getJPsiMassMin () const
 get current cuts More...
 
double getKxMassMax () const
 
double getKxMassMin () const
 
BPHBdToJPsiKxBuilderoperator= (const BPHBdToJPsiKxBuilder &x)=delete
 
void setJPsiMassMax (double m)
 
void setJPsiMassMin (double m)
 set cuts More...
 
void setKxMassMax (double m)
 
void setKxMassMin (double m)
 
 ~BPHBdToJPsiKxBuilder () override
 
- Public Member Functions inherited from 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)
 
 BPHDecayToResResBuilder (const BPHDecayToResResBuilder &x)=delete
 
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 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 K*0 candidates

Author
Paolo Ronchese INFN Padova

Definition at line 37 of file BPHBdToJPsiKxBuilder.h.

Constructor & Destructor Documentation

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

Constructor

Definition at line 41 of file BPHBdToJPsiKxBuilder.h.

References BPHDecayConstrainedBuilder::setConstr(), BPHDecayGenericBuilder::setMassFitRange(), BPHDecayGenericBuilder::setMassRange(), BPHDecayGenericBuilder::setProbMin(), BPHDecayToResResBuilder::setRes1MassRange(), and BPHDecayToResResBuilder::setRes2MassRange().

45  "JPsi",
48  jpsiCollection,
49  "Kx0",
50  kx0Collection) {
51  setRes1MassRange(2.80, 3.40);
52  setRes2MassRange(0.80, 1.00);
53  setMassRange(3.50, 8.00);
54  setProbMin(0.02);
55  setMassFitRange(5.00, 6.00);
56  setConstr(true);
57  }
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)
static const double jPsiMWidth
static const double jPsiMass
void setMassRange(double mMin, double mMax)
void setRes1MassRange(double mMin, double mMax)
void setRes2MassRange(double mMin, double mMax)
void setMassFitRange(double mMin, double mMax)
BPHBdToJPsiKxBuilder::BPHBdToJPsiKxBuilder ( const BPHBdToJPsiKxBuilder x)
delete
BPHBdToJPsiKxBuilder::~BPHBdToJPsiKxBuilder ( )
inlineoverride

Destructor

Definition at line 65 of file BPHBdToJPsiKxBuilder.h.

65 {}

Member Function Documentation

double BPHBdToJPsiKxBuilder::getJPsiMassMax ( ) const
inline

Definition at line 77 of file BPHBdToJPsiKxBuilder.h.

References BPHDecayToResResBuilder::getRes1MassMax().

77 { return getRes1MassMax(); }
double BPHBdToJPsiKxBuilder::getJPsiMassMin ( ) const
inline

get current cuts

Definition at line 76 of file BPHBdToJPsiKxBuilder.h.

References BPHDecayToResResBuilder::getRes1MassMin().

76 { return getRes1MassMin(); }
double getRes1MassMin() const
get current cuts
double BPHBdToJPsiKxBuilder::getKxMassMax ( ) const
inline

Definition at line 79 of file BPHBdToJPsiKxBuilder.h.

References BPHDecayToResResBuilder::getRes2MassMax().

79 { return getRes2MassMax(); }
double BPHBdToJPsiKxBuilder::getKxMassMin ( ) const
inline

Definition at line 78 of file BPHBdToJPsiKxBuilder.h.

References BPHDecayToResResBuilder::getRes2MassMin().

78 { return getRes2MassMin(); }
BPHBdToJPsiKxBuilder& BPHBdToJPsiKxBuilder::operator= ( const BPHBdToJPsiKxBuilder x)
delete
void BPHBdToJPsiKxBuilder::setJPsiMassMax ( double  m)
inline
void BPHBdToJPsiKxBuilder::setJPsiMassMin ( double  m)
inline

set cuts

Operations

Definition at line 70 of file BPHBdToJPsiKxBuilder.h.

Referenced by BPHWriteSpecificDecay::fill().

void BPHBdToJPsiKxBuilder::setKxMassMax ( double  m)
inline
void BPHBdToJPsiKxBuilder::setKxMassMin ( double  m)
inline