CMS 3D CMS Logo

List of all members | Public Member Functions
BPHBuToJPsiKBuilder Class Reference

#include <BPHBuToJPsiKBuilder.h>

Inheritance diagram for BPHBuToJPsiKBuilder:
BPHDecayToResTrkBuilder< BPHRecoCandidate, BPHPlusMinusCandidate > BPHDecayToResTrkBuilderBase BPHDecayConstrainedBuilder< BPHRecoCandidate, BPHPlusMinusCandidate > BPHDecaySpecificBuilder< BPHRecoCandidate > BPHDecaySpecificBuilderBase BPHDecayConstrainedBuilderBase BPHDecayConstrainedBuilderBase BPHDecayGenericBuilder< BPHRecoCandidate > BPHDecaySpecificBuilderBase BPHDecayGenericBuilder< BPHRecoCandidate > BPHDecayGenericBuilderBase BPHDecayGenericBuilderBase BPHDecayGenericBuilderBase BPHDecayGenericBuilderBase

Public Member Functions

 BPHBuToJPsiKBuilder (const BPHEventSetupWrapper &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const BPHRecoBuilder::BPHGenericCollection *kaonCollection)
 
 BPHBuToJPsiKBuilder (const BPHBuToJPsiKBuilder &x)=delete
 
double getJPsiMassMax () const
 
double getJPsiMassMin () const
 
double getKEtaMax () const
 
double getKPtMin () const
 get current cuts More...
 
BPHBuToJPsiKBuilderoperator= (const BPHBuToJPsiKBuilder &x)=delete
 
void setJPsiMassMax (double m)
 
void setJPsiMassMin (double m)
 
void setKEtaMax (double eta)
 
void setKPtMin (double pt)
 set cuts More...
 
void setup (void *parameters) override
 setup parameters for BPHRecoBuilder More...
 
 ~BPHBuToJPsiKBuilder () override=default
 
- Public Member Functions inherited from BPHDecayToResTrkBuilder< BPHRecoCandidate, BPHPlusMinusCandidate >
 BPHDecayToResTrkBuilder (const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::vector< res_ptr > &resCollection, const std::string &trkName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *trkCollection)
 
 BPHDecayToResTrkBuilder (const BPHDecayToResTrkBuilder &x)=delete
 
BPHDecayToResTrkBuilderoperator= (const BPHDecayToResTrkBuilder &x)=delete
 
 ~BPHDecayToResTrkBuilder () override=default
 
- Public Member Functions inherited from BPHDecayToResTrkBuilderBase
 BPHDecayToResTrkBuilderBase (const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::string &trkName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *trkCollection)
 
 BPHDecayToResTrkBuilderBase (const BPHDecayToResTrkBuilderBase &x)=delete
 
double getTrkEtaMax () const
 
double getTrkPtMin () const
 get current cuts More...
 
BPHDecayToResTrkBuilderBaseoperator= (const BPHDecayToResTrkBuilderBase &x)=delete
 
void setTrkEtaMax (double eta)
 
void setTrkPtMin (double pt)
 set cuts More...
 
 ~BPHDecayToResTrkBuilderBase () 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 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 BPHDecayToResTrkBuilder< BPHRecoCandidate, BPHPlusMinusCandidate >
 BPHDecayToResTrkBuilder (const std::vector< res_ptr > &resCollection, const std::string &trkName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *trkCollection)
 
- Protected Member Functions inherited from BPHDecayToResTrkBuilderBase
 BPHDecayToResTrkBuilderBase (const std::string &trkName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *trkCollection)
 
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 BPHDecayToResTrkBuilderBase
BPHParticleEtaSelectetaSel
 
BPHParticlePtSelectptSel
 
const BPHRecoBuilder::BPHGenericCollectiontCollection
 
BPHParticleNeutralVetotknVeto
 
double tMass
 
std::string tName
 
double tSigma
 
- 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 B+- to JPsi K+- candidates

Author
Paolo Ronchese INFN Padova

Definition at line 41 of file BPHBuToJPsiKBuilder.h.

Constructor & Destructor Documentation

◆ BPHBuToJPsiKBuilder() [1/2]

BPHBuToJPsiKBuilder::BPHBuToJPsiKBuilder ( const BPHEventSetupWrapper es,
const std::vector< BPHPlusMinusConstCandPtr > &  jpsiCollection,
const BPHRecoBuilder::BPHGenericCollection kaonCollection 
)
inline

Constructor

Definition at line 45 of file BPHBuToJPsiKBuilder.h.

References BPHDecayConstrainedBuilderBase::setConstr(), BPHDecayGenericBuilderBase::setMassFitRange(), BPHDecayGenericBuilderBase::setMassRange(), BPHDecayGenericBuilderBase::setProbMin(), BPHDecayConstrainedBuilderBase::setResMassRange(), BPHDecayToResTrkBuilderBase::setTrkEtaMax(), and BPHDecayToResTrkBuilderBase::setTrkPtMin().

48  : BPHDecayGenericBuilderBase(es, nullptr),
51  jpsiCollection, "Kaon", BPHParticleMasses::kaonMass, BPHParticleMasses::kaonMSigma, kaonCollection) {
52  setResMassRange(2.80, 3.40);
53  setTrkPtMin(0.7);
54  setTrkEtaMax(10.0);
55  setMassRange(3.50, 8.00);
56  setProbMin(0.02);
57  setMassFitRange(5.00, 6.00);
58  setConstr(true);
59  }
static const double kaonMass
static const double jPsiMWidth
void setMassFitRange(double mMin, double mMax)
static const double jPsiMass
void setResMassRange(double mMin, double mMax)
static const double kaonMSigma
BPHDecayToResTrkBuilder(const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::vector< res_ptr > &resCollection, const std::string &trkName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *trkCollection)
void setMassRange(double mMin, double mMax)

◆ BPHBuToJPsiKBuilder() [2/2]

BPHBuToJPsiKBuilder::BPHBuToJPsiKBuilder ( const BPHBuToJPsiKBuilder x)
delete

◆ ~BPHBuToJPsiKBuilder()

BPHBuToJPsiKBuilder::~BPHBuToJPsiKBuilder ( )
overridedefault

Destructor

Member Function Documentation

◆ getJPsiMassMax()

double BPHBuToJPsiKBuilder::getJPsiMassMax ( ) const
inline

◆ getJPsiMassMin()

double BPHBuToJPsiKBuilder::getJPsiMassMin ( ) const
inline

Definition at line 80 of file BPHBuToJPsiKBuilder.h.

References BPHDecayConstrainedBuilderBase::getResMassMin().

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

◆ getKEtaMax()

double BPHBuToJPsiKBuilder::getKEtaMax ( ) const
inline

Definition at line 79 of file BPHBuToJPsiKBuilder.h.

References BPHDecayToResTrkBuilderBase::getTrkEtaMax().

79 { return getTrkEtaMax(); }

◆ getKPtMin()

double BPHBuToJPsiKBuilder::getKPtMin ( ) const
inline

get current cuts

Definition at line 78 of file BPHBuToJPsiKBuilder.h.

References BPHDecayToResTrkBuilderBase::getTrkPtMin().

78 { return getTrkPtMin(); }
double getTrkPtMin() const
get current cuts

◆ operator=()

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

◆ setJPsiMassMax()

void BPHBuToJPsiKBuilder::setJPsiMassMax ( double  m)
inline

◆ setJPsiMassMin()

void BPHBuToJPsiKBuilder::setJPsiMassMin ( double  m)
inline

◆ setKEtaMax()

void BPHBuToJPsiKBuilder::setKEtaMax ( double  eta)
inline

◆ setKPtMin()

void BPHBuToJPsiKBuilder::setKPtMin ( double  pt)
inline

set cuts

Operations

Definition at line 72 of file BPHBuToJPsiKBuilder.h.

Referenced by BPHWriteSpecificDecay::fill().

◆ setup()

void BPHBuToJPsiKBuilder::setup ( void *  parameters)
inlineoverridevirtual

setup parameters for BPHRecoBuilder

Implements BPHDecaySpecificBuilderBase.

Definition at line 84 of file BPHBuToJPsiKBuilder.h.

84 {}