CMS 3D CMS Logo

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 BPHK0sToPiPiBuilder &x)=delete
 
 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")
 
BPHK0sToPiPiBuilderoperator= (const BPHK0sToPiPiBuilder &x)=delete
 
 ~BPHK0sToPiPiBuilder () override
 
- Public Member Functions inherited from BPHDecayToV0SameMassBuilder
 BPHDecayToV0SameMassBuilder (const BPHDecayToV0SameMassBuilder &x)=delete
 
 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")
 
BPHDecayToV0SameMassBuilderoperator= (const BPHDecayToV0SameMassBuilder &x)=delete
 
 ~BPHDecayToV0SameMassBuilder () override
 
- Public Member Functions inherited from BPHDecayToV0Builder
 BPHDecayToV0Builder (const BPHDecayToV0Builder &x)=delete
 
 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")
 
std::vector< BPHPlusMinusConstCandPtrbuild ()
 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 BPHDecayGenericBuilder &x)=delete
 
 BPHDecayGenericBuilder (const edm::EventSetup &es, BPHMassFitSelect *mfs=nullptr)
 
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< BPHPlusMinusConstCandPtrcList
 
double etaMax
 
const BPHRecoBuilder::BPHGenericCollectionp1Collection
 
std::string p1Name
 
const BPHRecoBuilder::BPHGenericCollectionp2Collection
 
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() [1/4]

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

Constructor

Definition at line 41 of file BPHK0sToPiPiBuilder.h.

45  "PionPos",
46  "PionNeg",
49  posCollection,
50  negCollection) {
51  setPtMin(0.7);
52  setEtaMax(10.0);
53  setMassRange(0.40, 0.60);
54  }

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

◆ BPHK0sToPiPiBuilder() [2/4]

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.

59  "PionPos",
60  "PionNeg",
63  v0Collection,
64  searchList) {
65  setPtMin(0.0);
66  setEtaMax(10.0);
67  setMassRange(0.00, 2.00);
68  }

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

◆ BPHK0sToPiPiBuilder() [3/4]

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.

73  "PionPos",
74  "PionNeg",
77  vpCollection,
78  searchList) {
79  setPtMin(0.0);
80  setEtaMax(10.0);
81  setMassRange(0.00, 2.00);
82  }

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

◆ BPHK0sToPiPiBuilder() [4/4]

BPHK0sToPiPiBuilder::BPHK0sToPiPiBuilder ( const BPHK0sToPiPiBuilder x)
delete

◆ ~BPHK0sToPiPiBuilder()

BPHK0sToPiPiBuilder::~BPHK0sToPiPiBuilder ( )
inlineoverride

Destructor

Definition at line 90 of file BPHK0sToPiPiBuilder.h.

90 {}

Member Function Documentation

◆ operator=()

BPHK0sToPiPiBuilder& BPHK0sToPiPiBuilder::operator= ( const BPHK0sToPiPiBuilder x)
delete
BPHDecayToV0SameMassBuilder::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)
Definition: BPHDecayToV0SameMassBuilder.cc:34
BPHParticleMasses::pionMass
static const double pionMass
Definition: BPHParticleMasses.h:33
BPHParticleMasses::pionMSigma
static const double pionMSigma
Definition: BPHParticleMasses.h:48
newFWLiteAna.searchList
searchList
Definition: newFWLiteAna.py:119
BPHDecayToV0Builder::setEtaMax
void setEtaMax(double eta)
Definition: BPHDecayToV0Builder.cc:115
BPHDecayToV0Builder::setPtMin
void setPtMin(double pt)
set cuts
Definition: BPHDecayToV0Builder.cc:109
BPHDecayGenericBuilder::setMassRange
void setMassRange(double mMin, double mMax)
Definition: BPHDecayGenericBuilder.cc:65