CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions
BPHDecayToJPsiPiPiBuilder Class Reference

#include <BPHDecayToJPsiPiPiBuilder.h>

Inheritance diagram for BPHDecayToJPsiPiPiBuilder:
BPHDecayToResTrkTrkSameMassBuilder< BPHRecoCandidate, BPHPlusMinusCandidate > BPHDecayToResTrkTrkSameMassBuilderBase BPHDecayConstrainedBuilder< BPHRecoCandidate, BPHPlusMinusCandidate > BPHDecayConstrainedBuilderBase BPHDecayConstrainedBuilderBase BPHDecayGenericBuilder< BPHRecoCandidate > BPHDecayGenericBuilderBase BPHDecayGenericBuilderBase BPHDecayGenericBuilderBase BPHPsi2SToJPsiPiPiBuilder BPHX3872ToJPsiPiPiBuilder

Public Member Functions

 BPHDecayToJPsiPiPiBuilder (const BPHEventSetupWrapper &es, const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
 
 BPHDecayToJPsiPiPiBuilder (const BPHDecayToJPsiPiPiBuilder &x)=delete
 
double getJPsiMassMax () const
 
double getJPsiMassMin () const
 
double getPiEtaMax () const
 
double getPiPtMin () const
 get current cuts More...
 
BPHDecayToJPsiPiPiBuilderoperator= (const BPHDecayToJPsiPiPiBuilder &x)=delete
 
void setJPsiMassMax (double m)
 
void setJPsiMassMin (double m)
 
void setPiEtaMax (double eta)
 
void setPiPtMin (double pt)
 set cuts More...
 
 ~BPHDecayToJPsiPiPiBuilder () override=default
 
- Public Member Functions inherited from BPHDecayToResTrkTrkSameMassBuilder< BPHRecoCandidate, BPHPlusMinusCandidate >
 BPHDecayToResTrkTrkSameMassBuilder (const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::vector< res_ptr > &resCollection, const std::string &posName, const std::string &negName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
 
 BPHDecayToResTrkTrkSameMassBuilder (const BPHDecayToResTrkTrkSameMassBuilder &x)=delete
 
BPHDecayToResTrkTrkSameMassBuilderoperator= (const BPHDecayToResTrkTrkSameMassBuilder &x)=delete
 
 ~BPHDecayToResTrkTrkSameMassBuilder () override=default
 
- Public Member Functions inherited from BPHDecayToResTrkTrkSameMassBuilderBase
 BPHDecayToResTrkTrkSameMassBuilderBase (const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::string &posName, const std::string &negName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
 
 BPHDecayToResTrkTrkSameMassBuilderBase (const BPHDecayToResTrkTrkSameMassBuilderBase &x)=delete
 
double getTrkEtaMax () const
 
double getTrkPtMin () const
 get current cuts More...
 
BPHDecayToResTrkTrkSameMassBuilderBaseoperator= (const BPHDecayToResTrkTrkSameMassBuilderBase &x)=delete
 
void setTrkEtaMax (double eta)
 
void setTrkPtMin (double pt)
 set cuts More...
 
 ~BPHDecayToResTrkTrkSameMassBuilderBase () override=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
 

Protected Member Functions

 BPHDecayToJPsiPiPiBuilder (const std::vector< BPHPlusMinusConstCandPtr > &jpsiCollection, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
 
- Protected Member Functions inherited from BPHDecayToResTrkTrkSameMassBuilder< BPHRecoCandidate, BPHPlusMinusCandidate >
 BPHDecayToResTrkTrkSameMassBuilder (const std::vector< res_ptr > &resCollection, const std::string &posName, const std::string &negName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
 
void fillRecList () override
 
- Protected Member Functions inherited from BPHDecayToResTrkTrkSameMassBuilderBase
 BPHDecayToResTrkTrkSameMassBuilderBase (const std::string &posName, const std::string &negName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
 
void fillTrkTrkList ()
 
- 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 ()
 

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 Attributes inherited from BPHDecayToResTrkTrkSameMassBuilderBase
double etaMax
 
const BPHRecoBuilder::BPHGenericCollectionnCollection
 
std::string nName
 
const BPHRecoBuilder::BPHGenericCollectionpCollection
 
std::string pName
 
double ptMin
 
double tMass
 
double tSigma
 
std::vector< BPHPlusMinusConstCandPtrttPairs
 
- 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 particles decaying to JPsi pi+ pi- candidates

Author
Paolo Ronchese INFN Padova

Definition at line 41 of file BPHDecayToJPsiPiPiBuilder.h.

Constructor & Destructor Documentation

◆ BPHDecayToJPsiPiPiBuilder() [1/3]

BPHDecayToJPsiPiPiBuilder::BPHDecayToJPsiPiPiBuilder ( const BPHEventSetupWrapper es,
const std::vector< BPHPlusMinusConstCandPtr > &  jpsiCollection,
const BPHRecoBuilder::BPHGenericCollection posCollection,
const BPHRecoBuilder::BPHGenericCollection negCollection 
)
inline

Constructor

Definition at line 45 of file BPHDecayToJPsiPiPiBuilder.h.

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

49  : BPHDecayGenericBuilderBase(es, nullptr),
52  "PionPos",
53  "PionNeg",
56  posCollection,
57  negCollection) {
58  setResMassRange(2.80, 3.40);
59  setTrkPtMin(1.0);
60  setTrkEtaMax(10.0);
61  setMassRange(3.00, 4.50);
62  setProbMin(0.02);
63  setMassFitRange(3.50, 4.20);
64  }
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
BPHDecayToResTrkTrkSameMassBuilder(const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::vector< res_ptr > &resCollection, const std::string &posName, const std::string &negName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
void setMassRange(double mMin, double mMax)

◆ BPHDecayToJPsiPiPiBuilder() [2/3]

BPHDecayToJPsiPiPiBuilder::BPHDecayToJPsiPiPiBuilder ( const BPHDecayToJPsiPiPiBuilder x)
delete

◆ ~BPHDecayToJPsiPiPiBuilder()

BPHDecayToJPsiPiPiBuilder::~BPHDecayToJPsiPiPiBuilder ( )
overridedefault

Destructor

◆ BPHDecayToJPsiPiPiBuilder() [3/3]

BPHDecayToJPsiPiPiBuilder::BPHDecayToJPsiPiPiBuilder ( const std::vector< BPHPlusMinusConstCandPtr > &  jpsiCollection,
const BPHRecoBuilder::BPHGenericCollection posCollection,
const BPHRecoBuilder::BPHGenericCollection negCollection 
)
inlineprotected

Definition at line 90 of file BPHDecayToJPsiPiPiBuilder.h.

References MillePedeFileConverter_cfg::e, BPHParticleMasses::jPsiMass, BPHParticleMasses::jPsiMWidth, BPHDecayConstrainedBuilderBase::massConstr, BPHDecayGenericBuilderBase::mFitSel, BPHDecayConstrainedBuilderBase::resoSel, BPHDecayConstrainedBuilderBase::rMass, BPHDecayConstrainedBuilderBase::rName, and BPHDecayConstrainedBuilderBase::rWidth.

93  : BPHDecayToResTrkTrkSameMassBuilder(jpsiCollection,
94  "PionPos",
95  "PionNeg",
98  posCollection,
99  negCollection) {
100  rName = "JPsi";
103  resoSel = new BPHMassSelect(-2.0e+06, -1.0e+06);
104  massConstr = true;
105  mFitSel = new BPHMassFitSelect(rName, rMass, rWidth, -2.0e+06, -1.0e+06);
106  }
static const double jPsiMWidth
static const double jPsiMass
static const double pionMSigma
static const double pionMass
BPHDecayToResTrkTrkSameMassBuilder(const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::vector< res_ptr > &resCollection, const std::string &posName, const std::string &negName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)

Member Function Documentation

◆ getJPsiMassMax()

double BPHDecayToJPsiPiPiBuilder::getJPsiMassMax ( ) const
inline

◆ getJPsiMassMin()

double BPHDecayToJPsiPiPiBuilder::getJPsiMassMin ( ) const
inline

Definition at line 86 of file BPHDecayToJPsiPiPiBuilder.h.

References BPHDecayConstrainedBuilderBase::getResMassMin().

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

◆ getPiEtaMax()

double BPHDecayToJPsiPiPiBuilder::getPiEtaMax ( ) const
inline

◆ getPiPtMin()

double BPHDecayToJPsiPiPiBuilder::getPiPtMin ( ) const
inline

get current cuts

Definition at line 84 of file BPHDecayToJPsiPiPiBuilder.h.

References BPHDecayToResTrkTrkSameMassBuilderBase::getTrkPtMin().

84 { return getTrkPtMin(); }

◆ operator=()

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

◆ setJPsiMassMax()

void BPHDecayToJPsiPiPiBuilder::setJPsiMassMax ( double  m)
inline

◆ setJPsiMassMin()

void BPHDecayToJPsiPiPiBuilder::setJPsiMassMin ( double  m)
inline

◆ setPiEtaMax()

void BPHDecayToJPsiPiPiBuilder::setPiEtaMax ( double  eta)
inline

◆ setPiPtMin()

void BPHDecayToJPsiPiPiBuilder::setPiPtMin ( double  pt)
inline