CMS 3D CMS Logo

List of all members | Public Member Functions
BPHBdToJPsiKsBuilder Class Reference

#include <BPHBdToJPsiKsBuilder.h>

Inheritance diagram for BPHBdToJPsiKsBuilder:
BPHDecayToResFlyingBuilder< BPHRecoCandidate, BPHPlusMinusCandidate, BPHPlusMinusCandidate > BPHDecayToResFlyingBuilderBase BPHDecayConstrainedBuilder< BPHRecoCandidate, BPHPlusMinusCandidate > BPHDecayToFlyingCascadeBuilder< BPHRecoCandidate, BPHPlusMinusCandidate > BPHDecaySpecificBuilder< BPHRecoCandidate > BPHDecayGenericBuilder< BPHRecoCandidate > BPHDecaySpecificBuilderBase BPHDecayGenericBuilder< BPHRecoCandidate > BPHDecayToFlyingCascadeBuilderBase BPHDecayGenericBuilder< BPHRecoCandidate > BPHDecayConstrainedBuilderBase BPHDecayToFlyingCascadeBuilderBase BPHDecayConstrainedBuilderBase BPHDecaySpecificBuilderBase

Public Member Functions

 BPHBdToJPsiKsBuilder (const BPHEventSetupWrapper &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)
 
void setup (void *parameters) override
 setup parameters for BPHRecoBuilder More...
 
 ~BPHBdToJPsiKsBuilder () override=default
 
- Public Member Functions inherited from BPHDecayToResFlyingBuilder< BPHRecoCandidate, BPHPlusMinusCandidate, BPHPlusMinusCandidate >
 BPHDecayToResFlyingBuilder (const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::vector< res_ptr > &resCollection, const std::string &flyName, double flyMass, double flyMSigma, const std::vector< flying_ptr > &flyCollection)
 
 BPHDecayToResFlyingBuilder (const BPHDecayToResFlyingBuilder &x)=delete
 
BPHDecayToResFlyingBuilderoperator= (const BPHDecayToResFlyingBuilder &x)=delete
 
 ~BPHDecayToResFlyingBuilder () override=default
 
- Public Member Functions inherited from BPHDecayToResFlyingBuilderBase
 BPHDecayToResFlyingBuilderBase (const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::string &flyName, double flyMass, double flyMSigma)
 
 BPHDecayToResFlyingBuilderBase (const BPHDecayToResFlyingBuilderBase &x)=delete
 
BPHDecayToResFlyingBuilderBaseoperator= (const BPHDecayToResFlyingBuilderBase &x)=delete
 
 ~BPHDecayToResFlyingBuilderBase () override=default
 
- 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 BPHDecayToFlyingCascadeBuilderBase
 BPHDecayToFlyingCascadeBuilderBase (const BPHEventSetupWrapper &es, const std::string &flyName, double flyMass, double flyMSigma)
 
 BPHDecayToFlyingCascadeBuilderBase (const BPHDecayToFlyingCascadeBuilderBase &x)=delete
 
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
 
BPHDecayToFlyingCascadeBuilderBaseoperator= (const BPHDecayToFlyingCascadeBuilderBase &x)=delete
 
void setFlyingMassMax (double m)
 
void setFlyingMassMin (double m)
 set cuts More...
 
void setFlyingMassRange (double mMin, double mMax)
 
void setKinFitProbMin (double p)
 
 ~BPHDecayToFlyingCascadeBuilderBase () override
 
- 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 BPHDecayToFlyingCascadeBuilder< BPHRecoCandidate, BPHPlusMinusCandidate >
 BPHDecayToFlyingCascadeBuilder (const BPHEventSetupWrapper &es, const std::string &flyName, double flyMass, double flyMSigma, const std::vector< flying_ptr > &flyCollection)
 
 BPHDecayToFlyingCascadeBuilder (const BPHDecayToFlyingCascadeBuilder &x)=delete
 
BPHDecayToFlyingCascadeBuilderoperator= (const BPHDecayToFlyingCascadeBuilder &x)=delete
 
 ~BPHDecayToFlyingCascadeBuilder () 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 BPHDecayConstrainedBuilder< BPHRecoCandidate, BPHPlusMinusCandidate >
typedef BPHPlusMinusCandidate ::const_pointer res_ptr
 
- Public Types inherited from BPHDecayGenericBuilder< BPHRecoCandidate >
typedef BPHRecoCandidate ::const_pointer prod_ptr
 
- Public Types inherited from BPHDecayToFlyingCascadeBuilder< BPHRecoCandidate, BPHPlusMinusCandidate >
typedef BPHPlusMinusCandidate ::const_pointer flying_ptr
 
- Protected Member Functions inherited from BPHDecayToResFlyingBuilder< BPHRecoCandidate, BPHPlusMinusCandidate, BPHPlusMinusCandidate >
 BPHDecayToResFlyingBuilder (const std::vector< res_ptr > &resCollection, const std::vector< flying_ptr > &flyCollection)
 
void fillRecList () override
 build candidates More...
 
- Protected Member Functions inherited from BPHDecayToResFlyingBuilderBase
 BPHDecayToResFlyingBuilderBase ()
 
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 BPHDecayToFlyingCascadeBuilderBase
 BPHDecayToFlyingCascadeBuilderBase (const std::string &flyName, double flyMass, double flyMSigma)
 
 BPHDecayToFlyingCascadeBuilderBase ()
 
- 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 BPHDecayToFlyingCascadeBuilder< BPHRecoCandidate, BPHPlusMinusCandidate >
void addFlyCollection (BPHRecoBuilder &brb) override
 
 BPHDecayToFlyingCascadeBuilder (const std::vector< flying_ptr > &flyCollection)
 
void fitAndFilter (std::vector< prod_ptr > &prodList)
 fit and select candidates More...
 
- 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 BPHDecayToFlyingCascadeBuilderBase
std::map< const BPHRecoCandidate *, const BPHRecoCandidate * > dMap
 
BPHMassFitSelectflySel
 
double fMass
 
double fMSigma
 
std::string fName
 
BPHKinFitChi2SelectkfChi2Sel
 
- Protected Attributes inherited from BPHDecayConstrainedBuilder< BPHRecoCandidate, BPHPlusMinusCandidate >
const std::vector< res_ptr > * rCollection
 
- Protected Attributes inherited from BPHDecayGenericBuilder< BPHRecoCandidate >
std::vector< prod_ptrrecList
 
- Protected Attributes inherited from BPHDecayToFlyingCascadeBuilder< BPHRecoCandidate, BPHPlusMinusCandidate >
const std::vector< flying_ptr > * fCollection
 

Detailed Description

Description: Class to build B0 to JPsi K0s candidates

Author
Paolo Ronchese INFN Padova

Definition at line 42 of file BPHBdToJPsiKsBuilder.h.

Constructor & Destructor Documentation

◆ BPHBdToJPsiKsBuilder() [1/2]

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

Constructor

Definition at line 47 of file BPHBdToJPsiKsBuilder.h.

References BPHDecayConstrainedBuilderBase::setConstr(), BPHDecayToFlyingCascadeBuilderBase::setFlyingMassRange(), BPHDecayToFlyingCascadeBuilderBase::setKinFitProbMin(), BPHDecayGenericBuilderBase::setMassFitRange(), BPHDecayGenericBuilderBase::setMassRange(), and BPHDecayConstrainedBuilderBase::setResMassRange().

50  : BPHDecayGenericBuilderBase(es, nullptr),
53  BPHDecayToResFlyingBuilder(jpsiCollection, k0sCollection) {
54  setResMassRange(2.80, 3.40);
55  setFlyingMassRange(0.00, 2.00);
56  setMassRange(3.50, 8.00);
57  setKinFitProbMin(0.02);
58  setMassFitRange(5.00, 6.00);
59  setConstr(true);
60  }
static const double jPsiMWidth
void setMassFitRange(double mMin, double mMax)
static const double jPsiMass
static const double k0sMass
static const double k0sMSigma
void setResMassRange(double mMin, double mMax)
BPHDecayToResFlyingBuilder(const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::vector< res_ptr > &resCollection, const std::string &flyName, double flyMass, double flyMSigma, const std::vector< flying_ptr > &flyCollection)
void setMassRange(double mMin, double mMax)

◆ BPHBdToJPsiKsBuilder() [2/2]

BPHBdToJPsiKsBuilder::BPHBdToJPsiKsBuilder ( const BPHBdToJPsiKsBuilder x)
delete

◆ ~BPHBdToJPsiKsBuilder()

BPHBdToJPsiKsBuilder::~BPHBdToJPsiKsBuilder ( )
overridedefault

Destructor

Member Function Documentation

◆ getJPsiMassMax()

double BPHBdToJPsiKsBuilder::getJPsiMassMax ( ) const
inline

◆ getJPsiMassMin()

double BPHBdToJPsiKsBuilder::getJPsiMassMin ( ) const
inline

get current cuts

Definition at line 79 of file BPHBdToJPsiKsBuilder.h.

References BPHDecayConstrainedBuilderBase::getResMassMin().

79 { return getResMassMin(); }
double getResMassMin() const
get current cuts

◆ getK0MassMax()

double BPHBdToJPsiKsBuilder::getK0MassMax ( ) const
inline

◆ getK0MassMin()

double BPHBdToJPsiKsBuilder::getK0MassMin ( ) const
inline

◆ operator=()

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

◆ setJPsiMassMax()

void BPHBdToJPsiKsBuilder::setJPsiMassMax ( double  m)
inline

◆ setJPsiMassMin()

void BPHBdToJPsiKsBuilder::setJPsiMassMin ( double  m)
inline

◆ setK0MassMax()

void BPHBdToJPsiKsBuilder::setK0MassMax ( double  m)
inline

◆ setK0MassMin()

void BPHBdToJPsiKsBuilder::setK0MassMin ( double  m)
inline

◆ setup()

void BPHBdToJPsiKsBuilder::setup ( void *  parameters)
inlineoverridevirtual

setup parameters for BPHRecoBuilder

Implements BPHDecaySpecificBuilderBase.

Definition at line 85 of file BPHBdToJPsiKsBuilder.h.

85 {}