#include <BPHDecayToV0Builder.h>
Classes | |
struct | V0Info |
Public Types | |
enum | v0Type { VertexCompositeCandidate, VertexCompositePtrCandidate } |
Public Member Functions | |
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< BPHPlusMinusConstCandPtr > | build () |
build candidates More... | |
double | getEtaMax () const |
double | getPtMin () const |
get current cuts More... | |
BPHDecayToV0Builder & | operator= (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 |
BPHDecayGenericBuilder & | operator= (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 () |
Protected Member Functions | |
virtual BPHPlusMinusCandidatePtr | buildCandidate (const reco::Candidate *c1, const reco::Candidate *c2, const void *v0, v0Type type)=0 |
virtual void | buildFromBPHGenericCollection ()=0 |
build candidates and link to V0 More... | |
template<class T > | |
void | buildFromV0 (const T *v0Collection, v0Type type) |
void | v0Clear () |
Protected Attributes | |
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 | |
BPHChi2Select * | chi2Sel |
const edm::EventSetup * | evSetup |
BPHMassSelect * | massSel |
BPHMassFitSelect * | mFitSel |
double | minPDiff |
bool | updated |
Description: Class to build neutral particles decaying to a V0, starting from reco::Candidates or already reconstructed V0s
Definition at line 41 of file BPHDecayToV0Builder.h.
Enumerator | |
---|---|
VertexCompositeCandidate | |
VertexCompositePtrCandidate |
Definition at line 43 of file BPHDecayToV0Builder.h.
BPHDecayToV0Builder::BPHDecayToV0Builder | ( | const edm::EventSetup & | es, |
const std::string & | d1Name, | ||
const std::string & | d2Name, | ||
const BPHRecoBuilder::BPHGenericCollection * | d1Collection, | ||
const BPHRecoBuilder::BPHGenericCollection * | d2Collection | ||
) |
BPHDecayToV0Builder::BPHDecayToV0Builder | ( | const edm::EventSetup & | es, |
const std::string & | d1Name, | ||
const std::string & | d2Name, | ||
const std::vector< reco::VertexCompositeCandidate > * | v0Collection, | ||
const std::string & | searchList = "cfp" |
||
) |
Definition at line 51 of file BPHDecayToV0Builder.cc.
BPHDecayToV0Builder::BPHDecayToV0Builder | ( | const edm::EventSetup & | es, |
const std::string & | d1Name, | ||
const std::string & | d2Name, | ||
const std::vector< reco::VertexCompositePtrCandidate > * | vpCollection, | ||
const std::string & | searchList = "cfp" |
||
) |
Definition at line 67 of file BPHDecayToV0Builder.cc.
|
delete |
|
override |
vector< BPHPlusMinusConstCandPtr > BPHDecayToV0Builder::build | ( | ) |
build candidates
Operations
Definition at line 91 of file BPHDecayToV0Builder.cc.
References buildFromBPHGenericCollection(), buildFromV0(), cList, p1Collection, p2Collection, rCollection, BPHDecayGenericBuilder::updated, v0Clear(), vCollection, VertexCompositeCandidate, and VertexCompositePtrCandidate.
Referenced by BPHWriteSpecificDecay::fill().
|
protectedpure virtual |
Implemented in BPHDecayToV0DiffMassBuilder, and BPHDecayToV0SameMassBuilder.
Referenced by buildFromV0().
|
protectedpure virtual |
build candidates and link to V0
Implemented in BPHDecayToV0DiffMassBuilder, and BPHDecayToV0SameMassBuilder.
Referenced by build().
|
protected |
Definition at line 127 of file BPHDecayToV0Builder.cc.
References BPHMassSelect::accept(), BPHChi2Select::accept(), buildCandidate(), BPHDecayGenericBuilder::chi2Sel, cList, flavorHistoryFilter_cfi::dr, etaMax, info(), BPHDecayGenericBuilder::massSel, reco::Candidate::p4(), ptMin, V0Monitor_cff::v0, and v0Map.
Referenced by build().
double BPHDecayToV0Builder::getEtaMax | ( | ) | const |
double BPHDecayToV0Builder::getPtMin | ( | ) | const |
|
delete |
void BPHDecayToV0Builder::setEtaMax | ( | double | eta | ) |
Definition at line 115 of file BPHDecayToV0Builder.cc.
References PVValHelper::eta, etaMax, and BPHDecayGenericBuilder::updated.
Referenced by BPHK0sToPiPiBuilder::BPHK0sToPiPiBuilder(), BPHLambda0ToPPiBuilder::BPHLambda0ToPPiBuilder(), and BPHWriteSpecificDecay::fill().
void BPHDecayToV0Builder::setPtMin | ( | double | pt | ) |
set cuts
Definition at line 109 of file BPHDecayToV0Builder.cc.
References DiDispStaMuonMonitor_cfi::pt, ptMin, and BPHDecayGenericBuilder::updated.
Referenced by BPHK0sToPiPiBuilder::BPHK0sToPiPiBuilder(), BPHLambda0ToPPiBuilder::BPHLambda0ToPPiBuilder(), and BPHWriteSpecificDecay::fill().
|
protected |
Definition at line 171 of file BPHDecayToV0Builder.cc.
References v0Map.
Referenced by build(), and ~BPHDecayToV0Builder().
|
protected |
Definition at line 89 of file BPHDecayToV0Builder.h.
Referenced by build(), BPHDecayToV0SameMassBuilder::buildFromBPHGenericCollection(), BPHDecayToV0DiffMassBuilder::buildFromBPHGenericCollection(), and buildFromV0().
|
protected |
Definition at line 101 of file BPHDecayToV0Builder.h.
Referenced by BPHDecayToV0SameMassBuilder::buildFromBPHGenericCollection(), BPHDecayToV0DiffMassBuilder::buildFromBPHGenericCollection(), buildFromV0(), getEtaMax(), and setEtaMax().
|
protected |
Definition at line 94 of file BPHDecayToV0Builder.h.
Referenced by build(), BPHDecayToV0SameMassBuilder::buildFromBPHGenericCollection(), and BPHDecayToV0DiffMassBuilder::buildFromBPHGenericCollection().
|
protected |
|
protected |
Definition at line 95 of file BPHDecayToV0Builder.h.
Referenced by build(), BPHDecayToV0SameMassBuilder::buildFromBPHGenericCollection(), and BPHDecayToV0DiffMassBuilder::buildFromBPHGenericCollection().
|
protected |
|
protected |
Definition at line 100 of file BPHDecayToV0Builder.h.
Referenced by BPHDecayToV0SameMassBuilder::buildFromBPHGenericCollection(), BPHDecayToV0DiffMassBuilder::buildFromBPHGenericCollection(), buildFromV0(), getPtMin(), and setPtMin().
|
protected |
Definition at line 97 of file BPHDecayToV0Builder.h.
Referenced by build().
|
protected |
Definition at line 98 of file BPHDecayToV0Builder.h.
Referenced by BPHDecayToV0DiffMassBuilder::buildCandidate().
|
protected |
Definition at line 103 of file BPHDecayToV0Builder.h.
Referenced by buildFromV0(), and v0Clear().
|
protected |
Definition at line 96 of file BPHDecayToV0Builder.h.
Referenced by build().