CMS 3D CMS Logo

List of all members | Public Member Functions
BPHK0sToPiPiBuilder Class Reference

#include <BPHK0sToPiPiBuilder.h>

Inheritance diagram for BPHK0sToPiPiBuilder:
BPHDecayToV0SameMassBuilder BPHDecayToV0Builder BPHDecayToChargedXXbarBuilder BPHDecayGenericBuilderBase BPHDecayGenericBuilder< BPHPlusMinusCandidate > BPHDecayGenericBuilderBase BPHDecayGenericBuilder< BPHPlusMinusCandidate > BPHDecayGenericBuilderBase BPHDecayGenericBuilderBase

Public Member Functions

 BPHK0sToPiPiBuilder (const BPHEventSetupWrapper &es, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
 
template<class V0VertexType >
 BPHK0sToPiPiBuilder (const BPHEventSetupWrapper &es, const std::vector< V0VertexType > *v0Collection, const std::string &searchList="cfp")
 
 BPHK0sToPiPiBuilder (const BPHK0sToPiPiBuilder &x)=delete
 
BPHK0sToPiPiBuilderoperator= (const BPHK0sToPiPiBuilder &x)=delete
 
 ~BPHK0sToPiPiBuilder () override=default
 
- Public Member Functions inherited from BPHDecayToV0SameMassBuilder
 BPHDecayToV0SameMassBuilder (const BPHEventSetupWrapper &es, const std::string &posName, const std::string &negName, double daugMass, double daugSigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
 
 BPHDecayToV0SameMassBuilder (const BPHEventSetupWrapper &es, const std::string &posName, const std::string &negName, double daugMass, double daugSigma, const std::vector< reco::VertexCompositeCandidate > *v0Collection, const std::string &searchList="cfp")
 
 BPHDecayToV0SameMassBuilder (const BPHEventSetupWrapper &es, const std::string &posName, const std::string &negName, double daugMass, double daugSigma, const std::vector< reco::VertexCompositePtrCandidate > *vpCollection, const std::string &searchList="cfp")
 
 BPHDecayToV0SameMassBuilder (const BPHDecayToV0SameMassBuilder &x)=delete
 
BPHDecayToV0SameMassBuilderoperator= (const BPHDecayToV0SameMassBuilder &x)=delete
 
 ~BPHDecayToV0SameMassBuilder () override=default
 
- Public Member Functions inherited from BPHDecayToV0Builder
 BPHDecayToV0Builder (const BPHEventSetupWrapper &es, const std::string &daug1Name, const std::string &daug2Name, const BPHRecoBuilder::BPHGenericCollection *daug1Collection, const BPHRecoBuilder::BPHGenericCollection *daug2Collection)
 
 BPHDecayToV0Builder (const BPHEventSetupWrapper &es, const std::string &daug1Name, const std::string &daug2Name, const std::vector< reco::VertexCompositeCandidate > *v0Collection, const std::string &searchList="cfp")
 
 BPHDecayToV0Builder (const BPHEventSetupWrapper &es, const std::string &daug1Name, const std::string &daug2Name, const std::vector< reco::VertexCompositePtrCandidate > *vpCollection, const std::string &searchList="cfp")
 
 BPHDecayToV0Builder (const BPHDecayToV0Builder &x)=delete
 
BPHDecayToV0Builderoperator= (const BPHDecayToV0Builder &x)=delete
 
 ~BPHDecayToV0Builder () 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 BPHDecayGenericBuilder< BPHPlusMinusCandidate >
 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 BPHDecayToChargedXXbarBuilder
 BPHDecayToChargedXXbarBuilder (const BPHEventSetupWrapper &es, const std::string &dPosName, const std::string &dNegName, double daugMass, double daugSigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
 
 BPHDecayToChargedXXbarBuilder (const BPHDecayToChargedXXbarBuilder &x)=delete
 
double getDzMax () const
 
double getEtaMax () const
 
double getPtMin () const
 get current cuts More...
 
BPHDecayToChargedXXbarBuilderoperator= (const BPHDecayToChargedXXbarBuilder &x)=delete
 
void setDzMax (double dz)
 
void setEtaMax (double eta)
 
void setPtMin (double pt)
 set cuts More...
 
 ~BPHDecayToChargedXXbarBuilder () override=default
 

Additional Inherited Members

- Public Types inherited from BPHDecayToV0Builder
enum  v0Type { VertexCompositeCandidate, VertexCompositePtrCandidate }
 
- Public Types inherited from BPHDecayGenericBuilder< BPHPlusMinusCandidate >
typedef BPHPlusMinusCandidate ::const_pointer prod_ptr
 
- Protected Member Functions inherited from BPHDecayToV0SameMassBuilder
BPHPlusMinusCandidatePtr buildCandidate (const reco::Candidate *c1, const reco::Candidate *c2, const void *v0, v0Type type) override
 
void buildFromBPHGenericCollection () override
 build candidates and link to V0 More...
 
- Protected Member Functions inherited from BPHDecayToV0Builder
template<class T >
void buildFromV0 (const T *v0Collection, v0Type type)
 
void v0Clear ()
 
- Protected Member Functions inherited from BPHDecayGenericBuilder< BPHPlusMinusCandidate >
 BPHDecayGenericBuilder ()
 
- Protected Attributes inherited from BPHDecayToV0SameMassBuilder
double pMass
 
double pSigma
 
- Protected Attributes inherited from BPHDecayToV0Builder
const BPHRecoBuilder::BPHGenericCollectionp1Collection
 
std::string p1Name
 
const BPHRecoBuilder::BPHGenericCollectionp2Collection
 
std::string p2Name
 
const std::vector< reco::VertexCompositePtrCandidate > * rCollection
 
std::string sList
 
std::map< const BPHRecoCandidate *, const V0Info * > v0Map
 
const std::vector< reco::VertexCompositeCandidate > * vCollection
 
- Protected Attributes inherited from BPHDecayGenericBuilderBase
BPHChi2Selectchi2Sel
 
const BPHEventSetupWrapperevSetup
 
BPHMassSelectmassSel
 
BPHMassFitSelectmFitSel
 
double minPDiff
 
bool outdated
 
- Protected Attributes inherited from BPHDecayGenericBuilder< BPHPlusMinusCandidate >
std::vector< prod_ptrrecList
 
- Protected Attributes inherited from BPHDecayToChargedXXbarBuilder
double dMass
 
double dSigma
 
double dzMax
 
double etaMax
 
const BPHRecoBuilder::BPHGenericCollectionnCollection
 
std::string nName
 
const BPHRecoBuilder::BPHGenericCollectionpCollection
 
std::string pName
 
double ptMin
 

Detailed Description

Description: Class to build K0s to pi+ pi- candidates

Author
Paolo Ronchese INFN Padova

Definition at line 40 of file BPHK0sToPiPiBuilder.h.

Constructor & Destructor Documentation

◆ BPHK0sToPiPiBuilder() [1/3]

BPHK0sToPiPiBuilder::BPHK0sToPiPiBuilder ( const BPHEventSetupWrapper es,
const BPHRecoBuilder::BPHGenericCollection posCollection,
const BPHRecoBuilder::BPHGenericCollection negCollection 
)
inline

Constructor

Definition at line 44 of file BPHK0sToPiPiBuilder.h.

References BPHDecayToChargedXXbarBuilder::setEtaMax(), BPHDecayGenericBuilderBase::setMassRange(), and BPHDecayToChargedXXbarBuilder::setPtMin().

49  "PionPos",
50  "PionNeg",
53  posCollection,
54  negCollection) {
55  setPtMin(0.7);
56  setEtaMax(10.0);
57  setMassRange(0.40, 0.60);
58  }
static const double pionMSigma
BPHDecayToV0SameMassBuilder(const BPHEventSetupWrapper &es, const std::string &posName, const std::string &negName, double daugMass, double daugSigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
static const double pionMass
void setMassRange(double mMin, double mMax)

◆ BPHK0sToPiPiBuilder() [2/3]

template<class V0VertexType >
BPHK0sToPiPiBuilder::BPHK0sToPiPiBuilder ( const BPHEventSetupWrapper es,
const std::vector< V0VertexType > *  v0Collection,
const std::string &  searchList = "cfp" 
)
inline

Definition at line 61 of file BPHK0sToPiPiBuilder.h.

References BPHDecayToChargedXXbarBuilder::setEtaMax(), BPHDecayGenericBuilderBase::setMassRange(), and BPHDecayToChargedXXbarBuilder::setPtMin().

66  "PionPos",
67  "PionNeg",
70  v0Collection,
71  searchList) {
72  setPtMin(0.0);
73  setEtaMax(10.0);
74  setMassRange(0.00, 2.00);
75  }
static const double pionMSigma
BPHDecayToV0SameMassBuilder(const BPHEventSetupWrapper &es, const std::string &posName, const std::string &negName, double daugMass, double daugSigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
static const double pionMass
void setMassRange(double mMin, double mMax)

◆ BPHK0sToPiPiBuilder() [3/3]

BPHK0sToPiPiBuilder::BPHK0sToPiPiBuilder ( const BPHK0sToPiPiBuilder x)
delete

◆ ~BPHK0sToPiPiBuilder()

BPHK0sToPiPiBuilder::~BPHK0sToPiPiBuilder ( )
overridedefault

Destructor

Member Function Documentation

◆ operator=()

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