#include <BPHDecayVertex.h>
Public Member Functions | |
BPHDecayVertex (const BPHDecayVertex &x)=delete | |
const BPHEventSetupWrapper * | getEventSetup () const |
retrieve EventSetup More... | |
char | getTMode (const reco::Candidate *cand) const |
get Track mode for a daughter More... | |
const reco::Track * | getTrack (const reco::Candidate *cand) const |
get Track for a daughter More... | |
const std::string & | getTrackSearchList (const reco::Candidate *cand) const |
retrieve track search list More... | |
reco::TransientTrack * | getTransientTrack (const reco::Candidate *cand) const |
get TransientTrack for a daughter More... | |
BPHDecayVertex & | operator= (const BPHDecayVertex &x)=delete |
const std::vector< const reco::Track * > & | tracks () const |
get list of Tracks More... | |
const std::vector< reco::TransientTrack > & | transientTracks () const |
get list of TransientTracks More... | |
virtual bool | validTracks () const |
check for valid reconstructed vertex More... | |
virtual bool | validVertex () const |
virtual const reco::Vertex & | vertex (VertexFitter< 5 > *fitter=nullptr, const reco::BeamSpot *bs=nullptr, const GlobalPoint *priorPos=nullptr, const GlobalError *priorError=nullptr) const |
get reconstructed vertex More... | |
~BPHDecayVertex () override | |
Public Member Functions inherited from BPHDecayMomentum | |
BPHDecayMomentum (const BPHDecayMomentum &x)=delete | |
const std::map< std::string, BPHRecoConstCandPtr > & | compMap () const |
virtual const std::vector< std::string > & | compNames () const |
virtual const pat::CompositeCandidate & | composite () const |
get a composite by the simple sum of simple particles More... | |
virtual const std::vector< BPHRecoConstCandPtr > & | daughComp () const |
virtual const std::vector< const reco::Candidate * > & | daughFull () const |
virtual const std::vector< const reco::Candidate * > & | daughters () const |
const std::map< std::string, const reco::Candidate * > & | daugMap () const |
virtual const std::vector< std::string > & | daugNames () const |
virtual BPHRecoConstCandPtr | getComp (const std::string &name) const |
virtual const reco::Candidate * | getDaug (const std::string &name) const |
BPHDecayMomentum & | operator= (const BPHDecayMomentum &x)=delete |
virtual const reco::Candidate * | originalReco (const reco::Candidate *daug) const |
get the original particle from the clone More... | |
virtual | ~BPHDecayMomentum () |
Protected Member Functions | |
virtual void | addV (const std::string &name, const reco::Candidate *daug, const std::string &searchList, double mass) |
virtual void | addV (const std::string &name, const BPHRecoConstCandPtr &comp) |
BPHDecayVertex (const BPHEventSetupWrapper *es, int daugNum=2, int compNum=2) | |
BPHDecayVertex (const BPHDecayVertex *ptr, const BPHEventSetupWrapper *es) | |
void | setNotUpdated () const override |
Protected Member Functions inherited from BPHDecayMomentum | |
virtual void | addP (const std::string &name, const reco::Candidate *daug, double mass=-1.0) |
virtual void | addP (const std::string &name, const BPHRecoConstCandPtr &comp) |
BPHDecayMomentum (int daugNum=2, int compNum=2) | |
BPHDecayMomentum (const std::map< std::string, Component > &daugMap, int compNum=2) | |
BPHDecayMomentum (const std::map< std::string, Component > &daugMap, const std::map< std::string, BPHRecoConstCandPtr > compMap) | |
const std::vector< Component > & | componentList () const |
virtual void | fill (BPHRecoCandidate *ptr, int level) const =0 |
Private Member Functions | |
virtual void | fitVertex (VertexFitter< 5 > *fitter, const reco::BeamSpot *bs, const GlobalPoint *priorPos, const GlobalError *priorError) const |
virtual void | fTracks () const |
virtual void | fTTracks () const |
Private Attributes | |
const BPHEventSetupWrapper * | evSetup |
reco::Vertex | fittedVertex |
bool | oldTracks |
bool | oldTTracks |
bool | oldVertex |
std::vector< const reco::Track * > | rTracks |
const reco::BeamSpot * | savedBS |
VertexFitter< 5 > * | savedFitter |
const GlobalError * | savedPE |
const GlobalPoint * | savedPP |
std::map< const reco::Candidate *, std::string > | searchMap |
std::map< const reco::Candidate *, const reco::Track * > | tkMap |
std::map< const reco::Candidate *, char > | tmMap |
std::vector< reco::TransientTrack > | trTracks |
std::map< const reco::Candidate *, reco::TransientTrack * > | ttMap |
bool | validTks |
Description: Mid-level base class to reconstruct decay vertex
Definition at line 45 of file BPHDecayVertex.h.
|
delete |
Constructors are protected this object can exist only as part of a derived class
|
override |
|
protected |
Definition at line 43 of file BPHDecayVertex.cc.
|
protected |
Definition at line 55 of file BPHDecayVertex.cc.
References c, BPHDecayMomentum::componentList(), BPHDecayMomentum::daughComp(), BPHDecayMomentum::daughters(), BPHDecayMomentum::dMap, mps_fire::i, dqmiolumiharvest::j, visualization-live-secondInstance_cfg::m, dqmiodumpmetadata::n, BPHDecayMomentum::originalReco(), and searchMap.
|
protectedvirtual |
|
protectedvirtual |
|
privatevirtual |
Definition at line 254 of file BPHDecayVertex.cc.
References cms::cuda::bs, cppFunctionSkipper::exception, fittedVertex, fTTracks(), oldTTracks, oldVertex, savedBS, savedFitter, savedPE, savedPP, trTracks, and VertexFitter< N >::vertex().
Referenced by vertex().
|
privatevirtual |
Definition at line 194 of file BPHDecayVertex.cc.
References reco::Candidate::charge(), BPHDecayMomentum::daughFull(), BPHTrackReference::getTrack(), dqmiodumpmetadata::n, oldTracks, oldTTracks, BPHDecayMomentum::originalReco(), rTracks, newFWLiteAna::searchList, searchMap, tkMap, tmMap, cmsswSequenceInfo::tp, trTracks, and validTks.
Referenced by fTTracks(), getTMode(), getTrack(), tracks(), and validTracks().
|
privatevirtual |
Definition at line 228 of file BPHDecayVertex.cc.
References TransientTrackBuilder::build(), BPHDecayMomentum::daughFull(), SiStripBadComponentsDQMServiceTemplate_cfg::ep, evSetup, fTracks(), BPHEventSetupWrapper::get(), dqmiodumpmetadata::n, oldTracks, oldTTracks, tkMap, unpackBuffers-CaloStage2::token, cmsswSequenceInfo::tp, BPHRecoCandidate::transientTrackBuilder, trTracks, and ttMap.
Referenced by fitVertex(), getTransientTrack(), and transientTracks().
const BPHEventSetupWrapper * BPHDecayVertex::getEventSetup | ( | ) | const |
retrieve EventSetup
Definition at line 164 of file BPHDecayVertex.cc.
References evSetup.
Referenced by BPHPlusMinusCandidate::clone(), and BPHRecoCandidate::clone().
char BPHDecayVertex::getTMode | ( | const reco::Candidate * | cand | ) | const |
get Track mode for a daughter
Definition at line 141 of file BPHDecayVertex.cc.
References fTracks(), oldTracks, and tmMap.
const reco::Track * BPHDecayVertex::getTrack | ( | const reco::Candidate * | cand | ) | const |
get Track for a daughter
Definition at line 133 of file BPHDecayVertex.cc.
References fTracks(), oldTracks, and tkMap.
const string & BPHDecayVertex::getTrackSearchList | ( | const reco::Candidate * | cand | ) | const |
retrieve track search list
Definition at line 166 of file BPHDecayVertex.cc.
References searchMap.
Referenced by BPHRecoCandidate::fill().
reco::TransientTrack * BPHDecayVertex::getTransientTrack | ( | const reco::Candidate * | cand | ) | const |
get TransientTrack for a daughter
Definition at line 155 of file BPHDecayVertex.cc.
References fTTracks(), oldTTracks, and ttMap.
Referenced by BPHKinematicFit::addParticles().
|
delete |
|
overrideprotectedvirtual |
Reimplemented from BPHDecayMomentum.
Reimplemented in BPHKinematicFit, BPHPlusMinusCandidate, and BPHPlusMinusVertex.
Definition at line 187 of file BPHDecayVertex.cc.
References oldTracks, oldVertex, BPHDecayMomentum::setNotUpdated(), and validTks.
Referenced by BPHPlusMinusVertex::setNotUpdated(), and BPHKinematicFit::setNotUpdated().
const vector< const reco::Track * > & BPHDecayVertex::tracks | ( | void | ) | const |
get list of Tracks
Definition at line 127 of file BPHDecayVertex.cc.
References fTracks(), oldTracks, and rTracks.
const vector< reco::TransientTrack > & BPHDecayVertex::transientTracks | ( | ) | const |
get list of TransientTracks
Definition at line 149 of file BPHDecayVertex.cc.
References fTTracks(), oldTTracks, and trTracks.
Referenced by BPHPlusMinusVertex::computeApp().
|
virtual |
check for valid reconstructed vertex
Operations
Definition at line 95 of file BPHDecayVertex.cc.
References fTracks(), oldTracks, and validTks.
|
virtual |
Definition at line 101 of file BPHDecayVertex.cc.
References fittedVertex, reco::Vertex::isValid(), validTks, and vertex().
|
virtual |
get reconstructed vertex
Definition at line 106 of file BPHDecayVertex.cc.
References cms::cuda::bs, fittedVertex, fitVertex(), oldVertex, savedBS, savedFitter, savedPE, and savedPP.
Referenced by Tau.Tau::dxy(), BPHWriteSpecificDecay::fill(), and validVertex().
|
private |
Definition at line 109 of file BPHDecayVertex.h.
Referenced by fTTracks(), getEventSetup(), and ~BPHDecayVertex().
|
mutableprivate |
Definition at line 124 of file BPHDecayVertex.h.
Referenced by fitVertex(), validVertex(), and vertex().
|
mutableprivate |
Definition at line 115 of file BPHDecayVertex.h.
Referenced by fTracks(), fTTracks(), getTMode(), getTrack(), setNotUpdated(), tracks(), and validTracks().
|
mutableprivate |
Definition at line 116 of file BPHDecayVertex.h.
Referenced by fitVertex(), fTracks(), fTTracks(), getTransientTrack(), and transientTracks().
|
mutableprivate |
Definition at line 117 of file BPHDecayVertex.h.
Referenced by fitVertex(), setNotUpdated(), and vertex().
|
mutableprivate |
Definition at line 119 of file BPHDecayVertex.h.
|
mutableprivate |
Definition at line 126 of file BPHDecayVertex.h.
Referenced by fitVertex(), and vertex().
|
mutableprivate |
Definition at line 125 of file BPHDecayVertex.h.
Referenced by fitVertex(), and vertex().
|
mutableprivate |
Definition at line 128 of file BPHDecayVertex.h.
Referenced by fitVertex(), and vertex().
|
mutableprivate |
Definition at line 127 of file BPHDecayVertex.h.
Referenced by fitVertex(), and vertex().
|
private |
Definition at line 112 of file BPHDecayVertex.h.
Referenced by BPHDecayVertex(), fTracks(), and getTrackSearchList().
|
mutableprivate |
Definition at line 121 of file BPHDecayVertex.h.
Referenced by fTracks(), fTTracks(), and getTrack().
|
mutableprivate |
Definition at line 122 of file BPHDecayVertex.h.
Referenced by fTracks(), and getTMode().
|
mutableprivate |
Definition at line 120 of file BPHDecayVertex.h.
Referenced by fitVertex(), fTracks(), fTTracks(), and transientTracks().
|
mutableprivate |
Definition at line 123 of file BPHDecayVertex.h.
Referenced by fTTracks(), and getTransientTrack().
|
mutableprivate |
Definition at line 118 of file BPHDecayVertex.h.
Referenced by fTracks(), setNotUpdated(), validTracks(), and validVertex().