CMS 3D CMS Logo

List of all members | Public Member Functions
BPHBdToJPsiKxBuilder Class Reference

#include <BPHBdToJPsiKxBuilder.h>

Inheritance diagram for BPHBdToJPsiKxBuilder:
BPHDecayToResResBuilder< BPHRecoCandidate, BPHPlusMinusCandidate, BPHPlusMinusCandidate > BPHDecayToResResBuilderBase BPHDecayConstrainedBuilder< BPHRecoCandidate, BPHPlusMinusCandidate > BPHDecaySpecificBuilder< BPHRecoCandidate > BPHDecaySpecificBuilderBase BPHDecayConstrainedBuilderBase BPHDecayConstrainedBuilderBase BPHDecayGenericBuilder< BPHRecoCandidate > BPHDecaySpecificBuilderBase BPHDecayGenericBuilder< BPHRecoCandidate > BPHDecayGenericBuilderBase BPHDecayGenericBuilderBase BPHDecayGenericBuilderBase BPHDecayGenericBuilderBase

Public Member Functions

 BPHBdToJPsiKxBuilder (const BPHEventSetupWrapper &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)
 
void setup (void *parameters) override
 setup parameters for BPHRecoBuilder More...
 
 ~BPHBdToJPsiKxBuilder () override=default
 
- Public Member Functions inherited from BPHDecayToResResBuilder< BPHRecoCandidate, BPHPlusMinusCandidate, BPHPlusMinusCandidate >
 BPHDecayToResResBuilder (const BPHEventSetupWrapper &es, const std::string &res1Name, double res1Mass, double res1Width, const std::vector< res1_ptr > &res1Collection, const std::string &res2Name, const std::vector< res2_ptr > &res2Collection)
 
 BPHDecayToResResBuilder (const BPHDecayToResResBuilder &x)=delete
 
BPHDecayToResResBuilderoperator= (const BPHDecayToResResBuilder &x)=delete
 
 ~BPHDecayToResResBuilder () override=default
 
- Public Member Functions inherited from BPHDecayToResResBuilderBase
 BPHDecayToResResBuilderBase (const BPHEventSetupWrapper &es, const std::string &res1Name, double res1Mass, double res1Width, const std::string &res2Name)
 
 BPHDecayToResResBuilderBase (const BPHDecayToResResBuilderBase &x)=delete
 
double getRes1MassMax () const
 
double getRes1MassMin () const
 get current cuts More...
 
double getRes2MassMax () const
 
double getRes2MassMin () const
 
BPHDecayToResResBuilderBaseoperator= (const BPHDecayToResResBuilderBase &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)
 
 ~BPHDecayToResResBuilderBase () override
 
- Public Member Functions inherited from BPHDecaySpecificBuilderBase
virtual ~BPHDecaySpecificBuilderBase ()=default
 
- Public Member Functions inherited from BPHDecayConstrainedBuilderBase
 BPHDecayConstrainedBuilderBase (const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth)
 
 BPHDecayConstrainedBuilderBase (const BPHDecayConstrainedBuilderBase &x)=delete
 
bool getConstr () const
 
BPHMassFitSelectgetMassFitSelect () const
 
double getResMassMax () const
 
double getResMassMin () const
 get current cuts More...
 
BPHDecayConstrainedBuilderBaseoperator= (const BPHDecayConstrainedBuilderBase &x)=delete
 
void setConstr (bool flag)
 
void setMassFitSelect (BPHMassFitSelect *mfs)
 
void setResMassMax (double m)
 
void setResMassMin (double m)
 set cuts More...
 
void setResMassRange (double mMin, double mMax)
 
 ~BPHDecayConstrainedBuilderBase () override
 
- Public Member Functions inherited from BPHDecayGenericBuilderBase
 BPHDecayGenericBuilderBase ()
 
 BPHDecayGenericBuilderBase (const BPHEventSetupWrapper &es, BPHMassFitSelect *mfs=new BPHMassFitSelect(-2.0e+06, -1.0e+06))
 
 BPHDecayGenericBuilderBase (const BPHDecayGenericBuilderBase &x)=delete
 
double getMassFitMax () const
 
double getMassFitMin () const
 
double getMassMax () const
 
double getMassMin () const
 get current cuts More...
 
double getMinPDiff ()
 
double getProbMin () const
 
BPHDecayGenericBuilderBaseoperator= (const BPHDecayGenericBuilderBase &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 ~BPHDecayGenericBuilderBase ()
 
- Public Member Functions inherited from BPHDecayConstrainedBuilder< BPHRecoCandidate, BPHPlusMinusCandidate >
 BPHDecayConstrainedBuilder (const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::vector< res_ptr > &resCollection)
 
 BPHDecayConstrainedBuilder (const BPHDecayConstrainedBuilder &x)=delete
 
BPHDecayConstrainedBuilderoperator= (const BPHDecayConstrainedBuilder &x)=delete
 
 ~BPHDecayConstrainedBuilder () override=default
 
- Public Member Functions inherited from BPHDecayGenericBuilder< BPHRecoCandidate >
 BPHDecayGenericBuilder (const BPHEventSetupWrapper &es, BPHMassFitSelect *mfs)
 
 BPHDecayGenericBuilder (const BPHDecayGenericBuilder &x)=delete
 
virtual std::vector< prod_ptrbuild ()
 build candidates More...
 
BPHDecayGenericBuilderoperator= (const BPHDecayGenericBuilder &x)=delete
 
 ~BPHDecayGenericBuilder () override=default
 
- Public Member Functions inherited from BPHDecaySpecificBuilder< BPHRecoCandidate >
 BPHDecaySpecificBuilder ()
 
 BPHDecaySpecificBuilder (const BPHDecaySpecificBuilder &x)=delete
 
BPHDecaySpecificBuilderoperator= (const BPHDecaySpecificBuilder &x)=delete
 
 ~BPHDecaySpecificBuilder () override=default
 

Additional Inherited Members

- Public Types inherited from BPHDecayToResResBuilder< BPHRecoCandidate, BPHPlusMinusCandidate, BPHPlusMinusCandidate >
typedef BPHPlusMinusCandidate ::const_pointer res1_ptr
 
typedef BPHPlusMinusCandidate ::const_pointer res2_ptr
 
- Public Types inherited from BPHDecayConstrainedBuilder< BPHRecoCandidate, BPHPlusMinusCandidate >
typedef BPHPlusMinusCandidate ::const_pointer res_ptr
 
- Public Types inherited from BPHDecayGenericBuilder< BPHRecoCandidate >
typedef BPHRecoCandidate ::const_pointer prod_ptr
 
- Protected Member Functions inherited from BPHDecayToResResBuilder< BPHRecoCandidate, BPHPlusMinusCandidate, BPHPlusMinusCandidate >
void addRes2Collection (BPHRecoBuilder &brb) override
 
 BPHDecayToResResBuilder (const std::vector< res1_ptr > &res1Collection, const std::string &res2Name, const std::vector< res2_ptr > &res2Collection)
 
- Protected Member Functions inherited from BPHDecayToResResBuilderBase
virtual void addRes1Collection (BPHRecoBuilder &brb)
 
 BPHDecayToResResBuilderBase (const std::string &res2Name)
 
void fill (BPHRecoBuilder &brb, void *parameters) override
 build candidates More...
 
- Protected Member Functions inherited from BPHDecayConstrainedBuilderBase
 BPHDecayConstrainedBuilderBase (const std::string &resName, double resMass, double resWidth, bool createFitSelObject=true)
 
 BPHDecayConstrainedBuilderBase ()
 
virtual BPHMassFitSelectmassFitSelector (double mMin, double mMax)
 
- Protected Member Functions inherited from BPHDecayConstrainedBuilder< BPHRecoCandidate, BPHPlusMinusCandidate >
void addResCollection (BPHRecoBuilder &brb) override
 
 BPHDecayConstrainedBuilder (const std::vector< res_ptr > &resCollection)
 
- Protected Member Functions inherited from BPHDecayGenericBuilder< BPHRecoCandidate >
 BPHDecayGenericBuilder ()
 
- Protected Member Functions inherited from BPHDecaySpecificBuilder< BPHRecoCandidate >
void fillRecList ()
 
void fillRecList () override
 build candidates More...
 
- Protected Attributes inherited from BPHDecayToResResBuilder< BPHRecoCandidate, BPHPlusMinusCandidate, BPHPlusMinusCandidate >
const std::vector< res2_ptr > * sCollection
 
- Protected Attributes inherited from BPHDecayToResResBuilderBase
DZSelect dzFilter
 
BPHMassSelectres2Sel
 
std::string sName
 
- Protected Attributes inherited from BPHDecayConstrainedBuilderBase
bool massConstr
 
bool mfSelForce
 
BPHMassSelectresoSel
 
double rMass
 
std::string rName
 
double rWidth
 
- Protected Attributes inherited from BPHDecayGenericBuilderBase
BPHChi2Selectchi2Sel
 
const BPHEventSetupWrapperevSetup
 
BPHMassSelectmassSel
 
BPHMassFitSelectmFitSel
 
double minPDiff
 
bool outdated
 
- Protected Attributes inherited from BPHDecayConstrainedBuilder< BPHRecoCandidate, BPHPlusMinusCandidate >
const std::vector< res_ptr > * rCollection
 
- Protected Attributes inherited from BPHDecayGenericBuilder< BPHRecoCandidate >
std::vector< prod_ptrrecList
 

Detailed Description

Description: Class to build B0 to JPsi K*0 candidates

Author
Paolo Ronchese INFN Padova

Definition at line 41 of file BPHBdToJPsiKxBuilder.h.

Constructor & Destructor Documentation

◆ BPHBdToJPsiKxBuilder() [1/2]

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

Constructor

Definition at line 46 of file BPHBdToJPsiKxBuilder.h.

References BPHDecayConstrainedBuilderBase::setConstr(), BPHDecayGenericBuilderBase::setMassFitRange(), BPHDecayGenericBuilderBase::setMassRange(), BPHDecayGenericBuilderBase::setProbMin(), BPHDecayToResResBuilderBase::setRes1MassRange(), and BPHDecayToResResBuilderBase::setRes2MassRange().

49  : BPHDecayGenericBuilderBase(es, nullptr),
51  BPHDecayToResResBuilder(jpsiCollection, "Kx0", kx0Collection) {
52  setRes1MassRange(2.80, 3.40);
53  setRes2MassRange(0.80, 1.00);
54  setMassRange(3.50, 8.00);
55  setProbMin(0.02);
56  setMassFitRange(5.00, 6.00);
57  setConstr(true);
58  }
static const double jPsiMWidth
void setMassFitRange(double mMin, double mMax)
static const double jPsiMass
void setRes2MassRange(double mMin, double mMax)
BPHDecayToResResBuilder(const BPHEventSetupWrapper &es, const std::string &res1Name, double res1Mass, double res1Width, const std::vector< res1_ptr > &res1Collection, const std::string &res2Name, const std::vector< res2_ptr > &res2Collection)
void setRes1MassRange(double mMin, double mMax)
void setMassRange(double mMin, double mMax)

◆ BPHBdToJPsiKxBuilder() [2/2]

BPHBdToJPsiKxBuilder::BPHBdToJPsiKxBuilder ( const BPHBdToJPsiKxBuilder x)
delete

◆ ~BPHBdToJPsiKxBuilder()

BPHBdToJPsiKxBuilder::~BPHBdToJPsiKxBuilder ( )
overridedefault

Destructor

Member Function Documentation

◆ getJPsiMassMax()

double BPHBdToJPsiKxBuilder::getJPsiMassMax ( ) const
inline

◆ getJPsiMassMin()

double BPHBdToJPsiKxBuilder::getJPsiMassMin ( ) const
inline

get current cuts

Definition at line 77 of file BPHBdToJPsiKxBuilder.h.

References BPHDecayToResResBuilderBase::getRes1MassMin().

77 { return getRes1MassMin(); }
double getRes1MassMin() const
get current cuts

◆ getKxMassMax()

double BPHBdToJPsiKxBuilder::getKxMassMax ( ) const
inline

◆ getKxMassMin()

double BPHBdToJPsiKxBuilder::getKxMassMin ( ) const
inline

◆ operator=()

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

◆ setJPsiMassMax()

void BPHBdToJPsiKxBuilder::setJPsiMassMax ( double  m)
inline

◆ setJPsiMassMin()

void BPHBdToJPsiKxBuilder::setJPsiMassMin ( double  m)
inline

◆ setKxMassMax()

void BPHBdToJPsiKxBuilder::setKxMassMax ( double  m)
inline

◆ setKxMassMin()

void BPHBdToJPsiKxBuilder::setKxMassMin ( double  m)
inline

◆ setup()

void BPHBdToJPsiKxBuilder::setup ( void *  parameters)
inlineoverridevirtual

setup parameters for BPHRecoBuilder

Implements BPHDecaySpecificBuilderBase.

Definition at line 83 of file BPHBdToJPsiKxBuilder.h.

83 {}