CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
BPHBuToPsi2SKBuilder Class Reference

#include <BPHBuToPsi2SKBuilder.h>

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

Public Member Functions

 BPHBuToPsi2SKBuilder (const BPHEventSetupWrapper &es, const std::vector< BPHRecoConstCandPtr > &psi2SCollection, const BPHRecoBuilder::BPHGenericCollection *kaonCollection)
 
 BPHBuToPsi2SKBuilder (const BPHBuToPsi2SKBuilder &x)=delete
 
const std::map< const BPHRecoCandidate *, const BPHRecoCandidate * > & daughMap () const
 get original daughters map More...
 
double getKEtaMax () const
 
double getKPtMin () const
 get current cuts More...
 
double getPsi2SMassMax () const
 
double getPsi2SMassMin () const
 
BPHBuToPsi2SKBuilderoperator= (const BPHBuToPsi2SKBuilder &x)=delete
 
void setKEtaMax (double eta)
 
void setKPtMin (double pt)
 set cuts More...
 
void setPsi2SMassMax (double m)
 
void setPsi2SMassMin (double m)
 
void setup (void *parameters) override
 setup parameters for BPHRecoBuilder More...
 
 ~BPHBuToPsi2SKBuilder () override=default
 
- Public Member Functions inherited from BPHDecayToResTrkBuilder< BPHRecoCandidate, BPHRecoCandidate >
 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, BPHRecoCandidate >
 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
 

Private Attributes

std::map< const BPHRecoCandidate *, const BPHRecoCandidate * > dMap
 

Additional Inherited Members

- Public Types inherited from BPHDecayConstrainedBuilder< BPHRecoCandidate, BPHRecoCandidate >
typedef BPHRecoCandidate ::const_pointer res_ptr
 
- Public Types inherited from BPHDecayGenericBuilder< BPHRecoCandidate >
typedef BPHRecoCandidate ::const_pointer prod_ptr
 
- Protected Member Functions inherited from BPHDecayToResTrkBuilder< BPHRecoCandidate, BPHRecoCandidate >
 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, BPHRecoCandidate >
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, BPHRecoCandidate >
const std::vector< res_ptr > * rCollection
 
- Protected Attributes inherited from BPHDecayGenericBuilder< BPHRecoCandidate >
std::vector< prod_ptrrecList
 

Detailed Description

Description: Class to build B+- to Psi2S K+- candidates

Author
Paolo Ronchese INFN Padova

Definition at line 51 of file BPHBuToPsi2SKBuilder.h.

Constructor & Destructor Documentation

◆ BPHBuToPsi2SKBuilder() [1/2]

BPHBuToPsi2SKBuilder::BPHBuToPsi2SKBuilder ( const BPHEventSetupWrapper es,
const std::vector< BPHRecoConstCandPtr > &  psi2SCollection,
const BPHRecoBuilder::BPHGenericCollection kaonCollection 
)
inline

Constructor

Definition at line 55 of file BPHBuToPsi2SKBuilder.h.

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

58  : BPHDecayGenericBuilderBase(es, nullptr),
61  psi2SCollection, "Kaon", BPHParticleMasses::kaonMass, BPHParticleMasses::kaonMSigma, kaonCollection) {
62  setResMassRange(3.30, 4.00);
63  setTrkPtMin(0.7);
64  setTrkEtaMax(10.0);
65  setMassRange(3.50, 8.00);
66  setProbMin(0.02);
67  }
static const double kaonMass
void setResMassRange(double mMin, double mMax)
static const double psi2Mass
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)
static const double psi2MWidth

◆ BPHBuToPsi2SKBuilder() [2/2]

BPHBuToPsi2SKBuilder::BPHBuToPsi2SKBuilder ( const BPHBuToPsi2SKBuilder x)
delete

◆ ~BPHBuToPsi2SKBuilder()

BPHBuToPsi2SKBuilder::~BPHBuToPsi2SKBuilder ( )
overridedefault

Destructor

Member Function Documentation

◆ daughMap()

const std::map<const BPHRecoCandidate*, const BPHRecoCandidate*>& BPHBuToPsi2SKBuilder::daughMap ( ) const
inline

get original daughters map

Operations

Definition at line 80 of file BPHBuToPsi2SKBuilder.h.

Referenced by BPHWriteSpecificDecay::fill().

80 { return dMap; }
std::map< const BPHRecoCandidate *, const BPHRecoCandidate * > dMap

◆ getKEtaMax()

double BPHBuToPsi2SKBuilder::getKEtaMax ( ) const
inline

Definition at line 90 of file BPHBuToPsi2SKBuilder.h.

References BPHDecayToResTrkBuilderBase::getTrkEtaMax().

90 { return getTrkEtaMax(); }

◆ getKPtMin()

double BPHBuToPsi2SKBuilder::getKPtMin ( ) const
inline

get current cuts

Definition at line 89 of file BPHBuToPsi2SKBuilder.h.

References BPHDecayToResTrkBuilderBase::getTrkPtMin().

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

◆ getPsi2SMassMax()

double BPHBuToPsi2SKBuilder::getPsi2SMassMax ( ) const
inline

◆ getPsi2SMassMin()

double BPHBuToPsi2SKBuilder::getPsi2SMassMin ( ) const
inline

Definition at line 91 of file BPHBuToPsi2SKBuilder.h.

References BPHDecayConstrainedBuilderBase::getResMassMin().

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

◆ operator=()

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

◆ setKEtaMax()

void BPHBuToPsi2SKBuilder::setKEtaMax ( double  eta)
inline

◆ setKPtMin()

void BPHBuToPsi2SKBuilder::setKPtMin ( double  pt)
inline

◆ setPsi2SMassMax()

void BPHBuToPsi2SKBuilder::setPsi2SMassMax ( double  m)
inline

◆ setPsi2SMassMin()

void BPHBuToPsi2SKBuilder::setPsi2SMassMin ( double  m)
inline

◆ setup()

void BPHBuToPsi2SKBuilder::setup ( void *  parameters)
inlineoverridevirtual

setup parameters for BPHRecoBuilder

Implements BPHDecaySpecificBuilderBase.

Definition at line 95 of file BPHBuToPsi2SKBuilder.h.

95 {}

Member Data Documentation

◆ dMap

std::map<const BPHRecoCandidate*, const BPHRecoCandidate*> BPHBuToPsi2SKBuilder::dMap
private

Definition at line 98 of file BPHBuToPsi2SKBuilder.h.