CMS 3D CMS Logo

List of all members | Public Member Functions
BPHBcToJPsiPiBuilder Class Reference

#include <BPHBcToJPsiPiBuilder.h>

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

Public Member Functions

 BPHBcToJPsiPiBuilder (const BPHEventSetupWrapper &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const BPHRecoBuilder::BPHGenericCollection *pionCollection)
 
 BPHBcToJPsiPiBuilder (const BPHBcToJPsiPiBuilder &x)=delete
 
double getJPsiMassMax () const
 
double getJPsiMassMin () const
 
double getPiEtaMax () const
 
double getPiPtMin () const
 get current cuts More...
 
BPHBcToJPsiPiBuilderoperator= (const BPHBcToJPsiPiBuilder &x)=delete
 
void setJPsiMassMax (double m)
 
void setJPsiMassMin (double m)
 
void setPiEtaMax (double eta)
 
void setPiPtMin (double pt)
 set cuts More...
 
void setup (void *parameters) override
 setup parameters for BPHRecoBuilder More...
 
 ~BPHBcToJPsiPiBuilder () 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 Bc to JPsi pi+- candidates

Author
Paolo Ronchese INFN Padova

Definition at line 47 of file BPHBcToJPsiPiBuilder.h.

Constructor & Destructor Documentation

◆ BPHBcToJPsiPiBuilder() [1/2]

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

Constructor

Definition at line 51 of file BPHBcToJPsiPiBuilder.h.

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

54  : BPHDecayGenericBuilderBase(es, nullptr), //, false ),
57  jpsiCollection, "Pion", BPHParticleMasses::pionMass, BPHParticleMasses::pionMSigma, pionCollection) {
58  setResMassRange(2.80, 3.40);
59  setTrkPtMin(0.7);
60  setTrkEtaMax(10.0);
61  setMassRange(4.00, 9.00);
62  setProbMin(0.02);
63  setMassFitRange(6.00, 7.00);
64  setConstr(true);
65  }
static const double jPsiMWidth
void setMassFitRange(double mMin, double mMax)
static const double jPsiMass
static const double pionMSigma
void setResMassRange(double mMin, double mMax)
static const double pionMass
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)

◆ BPHBcToJPsiPiBuilder() [2/2]

BPHBcToJPsiPiBuilder::BPHBcToJPsiPiBuilder ( const BPHBcToJPsiPiBuilder x)
delete

◆ ~BPHBcToJPsiPiBuilder()

BPHBcToJPsiPiBuilder::~BPHBcToJPsiPiBuilder ( )
overridedefault

Destructor

Member Function Documentation

◆ getJPsiMassMax()

double BPHBcToJPsiPiBuilder::getJPsiMassMax ( ) const
inline

◆ getJPsiMassMin()

double BPHBcToJPsiPiBuilder::getJPsiMassMin ( ) const
inline

Definition at line 86 of file BPHBcToJPsiPiBuilder.h.

References BPHDecayConstrainedBuilderBase::getResMassMin().

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

◆ getPiEtaMax()

double BPHBcToJPsiPiBuilder::getPiEtaMax ( ) const
inline

Definition at line 85 of file BPHBcToJPsiPiBuilder.h.

References BPHDecayToResTrkBuilderBase::getTrkEtaMax().

85 { return getTrkEtaMax(); }

◆ getPiPtMin()

double BPHBcToJPsiPiBuilder::getPiPtMin ( ) const
inline

get current cuts

Definition at line 84 of file BPHBcToJPsiPiBuilder.h.

References BPHDecayToResTrkBuilderBase::getTrkPtMin().

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

◆ operator=()

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

◆ setJPsiMassMax()

void BPHBcToJPsiPiBuilder::setJPsiMassMax ( double  m)
inline

◆ setJPsiMassMin()

void BPHBcToJPsiPiBuilder::setJPsiMassMin ( double  m)
inline

◆ setPiEtaMax()

void BPHBcToJPsiPiBuilder::setPiEtaMax ( double  eta)
inline

◆ setPiPtMin()

void BPHBcToJPsiPiBuilder::setPiPtMin ( double  pt)
inline

set cuts

Operations

Definition at line 78 of file BPHBcToJPsiPiBuilder.h.

Referenced by BPHWriteSpecificDecay::fill().

◆ setup()

void BPHBcToJPsiPiBuilder::setup ( void *  parameters)
inlineoverridevirtual

setup parameters for BPHRecoBuilder

Implements BPHDecaySpecificBuilderBase.

Definition at line 90 of file BPHBcToJPsiPiBuilder.h.

90 {}