CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
BPHK0sToPiPiBuilder Class Reference

#include <BPHK0sToPiPiBuilder.h>

Inheritance diagram for BPHK0sToPiPiBuilder:
BPHDecayToV0SameMassBuilder BPHDecayToV0Builder BPHDecayGenericBuilder

Public Member Functions

 BPHK0sToPiPiBuilder (const edm::EventSetup &es, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
 
 BPHK0sToPiPiBuilder (const edm::EventSetup &es, const std::vector< reco::VertexCompositeCandidate > *v0Collection, const std::string &searchList="cfp")
 
 BPHK0sToPiPiBuilder (const edm::EventSetup &es, const std::vector< reco::VertexCompositePtrCandidate > *vpCollection, const std::string &searchList="cfp")
 
 BPHK0sToPiPiBuilder (const BPHK0sToPiPiBuilder &x)=delete
 
BPHK0sToPiPiBuilderoperator= (const BPHK0sToPiPiBuilder &x)=delete
 
 ~BPHK0sToPiPiBuilder () override
 
- Public Member Functions inherited from BPHDecayToV0SameMassBuilder
 BPHDecayToV0SameMassBuilder (const edm::EventSetup &es, const std::string &d1Name, const std::string &d2Name, double dMass, double dSigma, const BPHRecoBuilder::BPHGenericCollection *d1Collection, const BPHRecoBuilder::BPHGenericCollection *d2Collection)
 
 BPHDecayToV0SameMassBuilder (const edm::EventSetup &es, const std::string &d1Name, const std::string &d2Name, double dMass, double dSigma, const std::vector< reco::VertexCompositeCandidate > *v0Collection, const std::string &searchList="cfp")
 
 BPHDecayToV0SameMassBuilder (const edm::EventSetup &es, const std::string &d1Name, const std::string &d2Name, double dMass, double dSigma, const std::vector< reco::VertexCompositePtrCandidate > *vpCollection, const std::string &searchList="cfp")
 
 BPHDecayToV0SameMassBuilder (const BPHDecayToV0SameMassBuilder &x)=delete
 
BPHDecayToV0SameMassBuilderoperator= (const BPHDecayToV0SameMassBuilder &x)=delete
 
 ~BPHDecayToV0SameMassBuilder () override
 
- Public Member Functions inherited from BPHDecayToV0Builder
 BPHDecayToV0Builder (const edm::EventSetup &es, const std::string &d1Name, const std::string &d2Name, const BPHRecoBuilder::BPHGenericCollection *d1Collection, const BPHRecoBuilder::BPHGenericCollection *d2Collection)
 
 BPHDecayToV0Builder (const edm::EventSetup &es, const std::string &d1Name, const std::string &d2Name, const std::vector< reco::VertexCompositeCandidate > *v0Collection, const std::string &searchList="cfp")
 
 BPHDecayToV0Builder (const edm::EventSetup &es, const std::string &d1Name, const std::string &d2Name, const std::vector< reco::VertexCompositePtrCandidate > *vpCollection, const std::string &searchList="cfp")
 
 BPHDecayToV0Builder (const BPHDecayToV0Builder &x)=delete
 
std::vector
< BPHPlusMinusConstCandPtr
build ()
 build candidates More...
 
double getEtaMax () const
 
double getPtMin () const
 get current cuts More...
 
BPHDecayToV0Builderoperator= (const BPHDecayToV0Builder &x)=delete
 
void setEtaMax (double eta)
 
void setPtMin (double pt)
 set cuts More...
 
 ~BPHDecayToV0Builder () override
 
- Public Member Functions inherited from BPHDecayGenericBuilder
 BPHDecayGenericBuilder (const edm::EventSetup &es, BPHMassFitSelect *mfs=nullptr)
 
 BPHDecayGenericBuilder (const BPHDecayGenericBuilder &x)=delete
 
double getMassFitMax () const
 
double getMassFitMin () const
 
double getMassMax () const
 
double getMassMin () const
 get current cuts More...
 
double getMinPDiff ()
 
double getProbMin () const
 
BPHDecayGenericBuilderoperator= (const BPHDecayGenericBuilder &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 ~BPHDecayGenericBuilder ()
 

Additional Inherited Members

- Public Types inherited from BPHDecayToV0Builder
enum  v0Type { VertexCompositeCandidate, VertexCompositePtrCandidate }
 
- 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 Attributes inherited from BPHDecayToV0SameMassBuilder
double pMass
 
double pSigma
 
- Protected Attributes inherited from BPHDecayToV0Builder
std::vector
< BPHPlusMinusConstCandPtr
cList
 
double etaMax
 
const
BPHRecoBuilder::BPHGenericCollection
p1Collection
 
std::string p1Name
 
const
BPHRecoBuilder::BPHGenericCollection
p2Collection
 
std::string p2Name
 
double ptMin
 
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 BPHDecayGenericBuilder
BPHChi2Selectchi2Sel
 
const edm::EventSetupevSetup
 
BPHMassSelectmassSel
 
BPHMassFitSelectmFitSel
 
double minPDiff
 
bool updated
 

Detailed Description

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

Author
Paolo Ronchese INFN Padova

Definition at line 37 of file BPHK0sToPiPiBuilder.h.

Constructor & Destructor Documentation

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

Constructor

Definition at line 41 of file BPHK0sToPiPiBuilder.h.

References BPHDecayToV0Builder::setEtaMax(), BPHDecayGenericBuilder::setMassRange(), and BPHDecayToV0Builder::setPtMin().

45  "PionPos",
46  "PionNeg",
49  posCollection,
50  negCollection) {
51  setPtMin(0.7);
52  setEtaMax(10.0);
53  setMassRange(0.40, 0.60);
54  }
void setMassRange(double mMin, double mMax)
static const double pionMSigma
void setEtaMax(double eta)
static const double pionMass
BPHDecayToV0SameMassBuilder(const edm::EventSetup &es, const std::string &d1Name, const std::string &d2Name, double dMass, double dSigma, const BPHRecoBuilder::BPHGenericCollection *d1Collection, const BPHRecoBuilder::BPHGenericCollection *d2Collection)
void setPtMin(double pt)
set cuts
BPHK0sToPiPiBuilder::BPHK0sToPiPiBuilder ( const edm::EventSetup es,
const std::vector< reco::VertexCompositeCandidate > *  v0Collection,
const std::string &  searchList = "cfp" 
)
inline

Definition at line 55 of file BPHK0sToPiPiBuilder.h.

References BPHDecayToV0Builder::setEtaMax(), BPHDecayGenericBuilder::setMassRange(), and BPHDecayToV0Builder::setPtMin().

59  "PionPos",
60  "PionNeg",
63  v0Collection,
64  searchList) {
65  setPtMin(0.0);
66  setEtaMax(10.0);
67  setMassRange(0.00, 2.00);
68  }
void setMassRange(double mMin, double mMax)
static const double pionMSigma
void setEtaMax(double eta)
static const double pionMass
BPHDecayToV0SameMassBuilder(const edm::EventSetup &es, const std::string &d1Name, const std::string &d2Name, double dMass, double dSigma, const BPHRecoBuilder::BPHGenericCollection *d1Collection, const BPHRecoBuilder::BPHGenericCollection *d2Collection)
void setPtMin(double pt)
set cuts
BPHK0sToPiPiBuilder::BPHK0sToPiPiBuilder ( const edm::EventSetup es,
const std::vector< reco::VertexCompositePtrCandidate > *  vpCollection,
const std::string &  searchList = "cfp" 
)
inline

Definition at line 69 of file BPHK0sToPiPiBuilder.h.

References BPHDecayToV0Builder::setEtaMax(), BPHDecayGenericBuilder::setMassRange(), and BPHDecayToV0Builder::setPtMin().

73  "PionPos",
74  "PionNeg",
77  vpCollection,
78  searchList) {
79  setPtMin(0.0);
80  setEtaMax(10.0);
81  setMassRange(0.00, 2.00);
82  }
void setMassRange(double mMin, double mMax)
static const double pionMSigma
void setEtaMax(double eta)
static const double pionMass
BPHDecayToV0SameMassBuilder(const edm::EventSetup &es, const std::string &d1Name, const std::string &d2Name, double dMass, double dSigma, const BPHRecoBuilder::BPHGenericCollection *d1Collection, const BPHRecoBuilder::BPHGenericCollection *d2Collection)
void setPtMin(double pt)
set cuts
BPHK0sToPiPiBuilder::BPHK0sToPiPiBuilder ( const BPHK0sToPiPiBuilder x)
delete
BPHK0sToPiPiBuilder::~BPHK0sToPiPiBuilder ( )
inlineoverride

Destructor

Definition at line 90 of file BPHK0sToPiPiBuilder.h.

90 {}

Member Function Documentation

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