CMS 3D CMS Logo

List of all members | Public Member Functions
BPHBsToJPsiPhiBuilder Class Reference

#include <BPHBsToJPsiPhiBuilder.h>

Inheritance diagram for BPHBsToJPsiPhiBuilder:
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

 BPHBsToJPsiPhiBuilder (const BPHEventSetupWrapper &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const std::vector< BPHPlusMinusConstCandPtr > &phiCollection)
 
 BPHBsToJPsiPhiBuilder (const BPHBsToJPsiPhiBuilder &x)=delete
 
double getJPsiMassMax () const
 
double getJPsiMassMin () const
 get current cuts More...
 
double getPhiMassMax () const
 
double getPhiMassMin () const
 
BPHBsToJPsiPhiBuilderoperator= (const BPHBsToJPsiPhiBuilder &x)=delete
 
void setJPsiMassMax (double m)
 
void setJPsiMassMin (double m)
 set cuts More...
 
void setPhiMassMax (double m)
 
void setPhiMassMin (double m)
 
void setup (void *parameters) override
 setup parameters for BPHRecoBuilder More...
 
 ~BPHBsToJPsiPhiBuilder () 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 Bs to JPsi Phi candidates

Author
Paolo Ronchese INFN Padova

Definition at line 41 of file BPHBsToJPsiPhiBuilder.h.

Constructor & Destructor Documentation

◆ BPHBsToJPsiPhiBuilder() [1/2]

BPHBsToJPsiPhiBuilder::BPHBsToJPsiPhiBuilder ( const BPHEventSetupWrapper es,
const std::vector< BPHPlusMinusConstCandPtr > &  jpsiCollection,
const std::vector< BPHPlusMinusConstCandPtr > &  phiCollection 
)
inline

Constructor

Definition at line 46 of file BPHBsToJPsiPhiBuilder.h.

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

49  : BPHDecayGenericBuilderBase(es, nullptr),
51  BPHDecayToResResBuilder(jpsiCollection, "Phi", phiCollection) {
52  setRes1MassRange(2.80, 3.40);
53  setRes2MassRange(1.005, 1.035);
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)

◆ BPHBsToJPsiPhiBuilder() [2/2]

BPHBsToJPsiPhiBuilder::BPHBsToJPsiPhiBuilder ( const BPHBsToJPsiPhiBuilder x)
delete

◆ ~BPHBsToJPsiPhiBuilder()

BPHBsToJPsiPhiBuilder::~BPHBsToJPsiPhiBuilder ( )
overridedefault

Destructor

Member Function Documentation

◆ getJPsiMassMax()

double BPHBsToJPsiPhiBuilder::getJPsiMassMax ( ) const
inline

◆ getJPsiMassMin()

double BPHBsToJPsiPhiBuilder::getJPsiMassMin ( ) const
inline

get current cuts

Definition at line 77 of file BPHBsToJPsiPhiBuilder.h.

References BPHDecayToResResBuilderBase::getRes1MassMin().

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

◆ getPhiMassMax()

double BPHBsToJPsiPhiBuilder::getPhiMassMax ( ) const
inline

◆ getPhiMassMin()

double BPHBsToJPsiPhiBuilder::getPhiMassMin ( ) const
inline

◆ operator=()

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

◆ setJPsiMassMax()

void BPHBsToJPsiPhiBuilder::setJPsiMassMax ( double  m)
inline

◆ setJPsiMassMin()

void BPHBsToJPsiPhiBuilder::setJPsiMassMin ( double  m)
inline

◆ setPhiMassMax()

void BPHBsToJPsiPhiBuilder::setPhiMassMax ( double  m)
inline

◆ setPhiMassMin()

void BPHBsToJPsiPhiBuilder::setPhiMassMin ( double  m)
inline

◆ setup()

void BPHBsToJPsiPhiBuilder::setup ( void *  parameters)
inlineoverridevirtual

setup parameters for BPHRecoBuilder

Implements BPHDecaySpecificBuilderBase.

Definition at line 83 of file BPHBsToJPsiPhiBuilder.h.

83 {}