#include <BPHDecayVertex.h>
Public Member Functions | |
BPHDecayVertex (const BPHDecayVertex &x)=delete | |
const edm::EventSetup * | getEventSetup () const |
retrieve EventSetup 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 | |
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 |
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) |
add a previously reconstructed particle giving it a name More... | |
BPHDecayVertex (const edm::EventSetup *es) | |
BPHDecayVertex (const BPHDecayVertex *ptr, const edm::EventSetup *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) |
add a previously reconstructed particle giving it a name More... | |
BPHDecayMomentum () | |
BPHDecayMomentum (const std::map< std::string, Component > &daugMap) | |
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 | tTracks () const |
Private Attributes | |
const edm::EventSetup * | evSetup |
reco::Vertex | fittedVertex |
bool | oldTracks |
bool | oldVertex |
std::vector< const reco::Track * > | rTracks |
reco::BeamSpot const * | savedBS |
VertexFitter< 5 > * | savedFitter |
GlobalError const * | savedPE |
GlobalPoint const * | savedPP |
std::map< const reco::Candidate *, std::string > | searchMap |
std::map< const reco::Candidate *, const reco::Track * > | tkMap |
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 43 of file BPHDecayVertex.h.
|
delete |
Constructors are protected this object can exist only as part of a derived class
|
override |
|
protected |
Definition at line 42 of file BPHDecayVertex.cc.
|
protected |
Definition at line 52 of file BPHDecayVertex.cc.
References c, BPHDecayMomentum::Component::cand, BPHDecayMomentum::componentList(), BPHDecayMomentum::daughComp(), BPHDecayMomentum::daughters(), BPHDecayMomentum::dMap, mps_fire::i, dqmiolumiharvest::j, visualization-live-secondInstance_cfg::m, dqmiodumpmetadata::n, BPHDecayMomentum::originalReco(), BPHDecayMomentum::Component::searchList, and searchMap.
|
protectedvirtual |
add a simple particle giving it a name and specifying an option list to search for the associated track
|
protectedvirtual |
add a previously reconstructed particle giving it a name
|
privatevirtual |
Definition at line 221 of file BPHDecayVertex.cc.
References cms::cuda::bs, cppFunctionSkipper::exception, fittedVertex, oldTracks, oldVertex, savedBS, savedFitter, savedPE, savedPP, trTracks, tTracks(), and VertexFitter< N >::vertex().
Referenced by vertex().
const edm::EventSetup * BPHDecayVertex::getEventSetup | ( | ) | const |
retrieve EventSetup
Definition at line 152 of file BPHDecayVertex.cc.
References evSetup.
Referenced by BPHPlusMinusCandidate::clone(), and BPHRecoCandidate::clone().
const reco::Track * BPHDecayVertex::getTrack | ( | const reco::Candidate * | cand | ) | const |
get Track for a daughter
Definition at line 129 of file BPHDecayVertex.cc.
References oldTracks, tkMap, and tTracks().
const string & BPHDecayVertex::getTrackSearchList | ( | const reco::Candidate * | cand | ) | const |
retrieve track search list
Definition at line 154 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 143 of file BPHDecayVertex.cc.
References oldTracks, ttMap, and tTracks().
Referenced by BPHKinematicFit::addParticles().
|
delete |
|
overrideprotectedvirtual |
Reimplemented from BPHDecayMomentum.
Reimplemented in BPHKinematicFit, BPHPlusMinusCandidate, and BPHPlusMinusVertex.
Definition at line 175 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 123 of file BPHDecayVertex.cc.
References oldTracks, rTracks, and tTracks().
const vector< reco::TransientTrack > & BPHDecayVertex::transientTracks | ( | ) | const |
get list of TransientTracks
Definition at line 137 of file BPHDecayVertex.cc.
References oldTracks, trTracks, and tTracks().
Referenced by BPHPlusMinusVertex::computeApp().
|
privatevirtual |
Definition at line 182 of file BPHDecayVertex.cc.
References reco::Candidate::charge(), BPHDecayMomentum::daughFull(), evSetup, edm::EventSetup::get(), BPHTrackReference::getTrack(), dqmiodumpmetadata::n, oldTracks, BPHDecayMomentum::originalReco(), rTracks, searchMap, tkMap, cmsswSequenceInfo::tp, trTracks, ttMap, and validTks.
Referenced by fitVertex(), getTrack(), getTransientTrack(), tracks(), transientTracks(), and validTracks().
|
virtual |
check for valid reconstructed vertex
Operations
Definition at line 91 of file BPHDecayVertex.cc.
References oldTracks, tTracks(), and validTks.
|
virtual |
Definition at line 97 of file BPHDecayVertex.cc.
References fittedVertex, reco::Vertex::isValid(), validTks, and vertex().
|
virtual |
get reconstructed vertex
Definition at line 102 of file BPHDecayVertex.cc.
References fittedVertex, fitVertex(), oldVertex, savedBS, savedFitter, savedPE, and savedPP.
Referenced by Tau.Tau::dxy(), BPHWriteSpecificDecay::fill(), and validVertex().
|
private |
Definition at line 104 of file BPHDecayVertex.h.
Referenced by getEventSetup(), and tTracks().
|
mutableprivate |
Definition at line 117 of file BPHDecayVertex.h.
Referenced by fitVertex(), validVertex(), and vertex().
|
mutableprivate |
Definition at line 110 of file BPHDecayVertex.h.
Referenced by fitVertex(), getTrack(), getTransientTrack(), setNotUpdated(), tracks(), transientTracks(), tTracks(), and validTracks().
|
mutableprivate |
Definition at line 111 of file BPHDecayVertex.h.
Referenced by fitVertex(), setNotUpdated(), and vertex().
|
mutableprivate |
Definition at line 113 of file BPHDecayVertex.h.
|
mutableprivate |
Definition at line 119 of file BPHDecayVertex.h.
Referenced by fitVertex(), and vertex().
|
mutableprivate |
Definition at line 118 of file BPHDecayVertex.h.
Referenced by fitVertex(), and vertex().
|
mutableprivate |
Definition at line 121 of file BPHDecayVertex.h.
Referenced by fitVertex(), and vertex().
|
mutableprivate |
Definition at line 120 of file BPHDecayVertex.h.
Referenced by fitVertex(), and vertex().
|
private |
Definition at line 107 of file BPHDecayVertex.h.
Referenced by BPHDecayVertex(), getTrackSearchList(), and tTracks().
|
mutableprivate |
Definition at line 115 of file BPHDecayVertex.h.
Referenced by getTrack(), and tTracks().
|
mutableprivate |
Definition at line 114 of file BPHDecayVertex.h.
Referenced by fitVertex(), transientTracks(), and tTracks().
|
mutableprivate |
Definition at line 116 of file BPHDecayVertex.h.
Referenced by getTransientTrack(), and tTracks().
|
mutableprivate |
Definition at line 112 of file BPHDecayVertex.h.
Referenced by setNotUpdated(), tTracks(), validTracks(), and validVertex().