#include <BPHDecayVertex.h>
Public Member Functions | |
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... | |
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 () const |
get reconstructed vertex More... | |
virtual | ~BPHDecayVertex () |
Public Member Functions inherited from BPHDecayMomentum | |
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 |
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) | |
virtual void | setNotUpdated () const |
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 |
Private Member Functions | |
virtual void | fitVertex () const |
virtual void | tTracks () const |
Private Attributes | |
const edm::EventSetup * | evSetup |
reco::Vertex | fittedVertex |
bool | oldTracks |
bool | oldVertex |
std::vector< const reco::Track * > | rTracks |
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 42 of file BPHDecayVertex.h.
|
virtual |
Constructor is protected this object can exist only as part of a derived classDestructor
Definition at line 84 of file BPHDecayVertex.cc.
|
protected |
Definition at line 45 of file BPHDecayVertex.cc.
|
protected |
Definition at line 53 of file BPHDecayVertex.cc.
References EnergyCorrector::c, BPHDecayMomentum::Component::cand, BPHDecayMomentum::componentList(), BPHDecayMomentum::daughComp(), BPHDecayMomentum::daughters(), BPHDecayMomentum::dMap, mps_fire::i, list(), funct::m, gen::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
Referenced by BPHKinematicFit::p4().
|
protectedvirtual |
add a previously reconstructed particle giving it a name
|
privatevirtual |
Definition at line 219 of file BPHDecayVertex.cc.
References fittedVertex, oldTracks, oldVertex, trTracks, tTracks(), and KalmanVertexFitter::vertex().
Referenced by validTracks(), validVertex(), and vertex().
const reco::Track * BPHDecayVertex::getTrack | ( | const reco::Candidate * | cand | ) | const |
get Track for a daughter
Definition at line 114 of file BPHDecayVertex.cc.
References genParticles_cff::map, oldTracks, tkMap, and tTracks().
const string & BPHDecayVertex::getTrackSearchList | ( | const reco::Candidate * | cand | ) | const |
retrieve track search list
Definition at line 142 of file BPHDecayVertex.cc.
References searchMap.
reco::TransientTrack * BPHDecayVertex::getTransientTrack | ( | const reco::Candidate * | cand | ) | const |
get TransientTrack for a daughter
Definition at line 131 of file BPHDecayVertex.cc.
References genParticles_cff::map, oldTracks, ttMap, and tTracks().
Referenced by BPHKinematicFit::buildParticles().
|
protectedvirtual |
Reimplemented from BPHDecayMomentum.
Reimplemented in BPHKinematicFit, BPHPlusMinusCandidate, and BPHPlusMinusVertex.
Definition at line 171 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 108 of file BPHDecayVertex.cc.
References oldTracks, rTracks, and tTracks().
const vector< reco::TransientTrack > & BPHDecayVertex::transientTracks | ( | ) | const |
get list of TransientTracks
Definition at line 125 of file BPHDecayVertex.cc.
References oldTracks, trTracks, and tTracks().
Referenced by BPHPlusMinusVertex::computeApp().
|
privatevirtual |
Definition at line 179 of file BPHDecayVertex.cc.
References TransientTrackBuilder::build(), reco::Candidate::charge(), BPHDecayMomentum::daughFull(), evSetup, edm::EventSetup::get(), BPHTrackReference::getTrack(), gen::n, oldTracks, rTracks, searchMap, tkMap, trTracks, ttMap, and validTks.
Referenced by fitVertex(), getTrack(), getTransientTrack(), tracks(), and transientTracks().
|
virtual |
check for valid reconstructed vertex
Operations
Definition at line 90 of file BPHDecayVertex.cc.
References fitVertex(), oldVertex, and validTks.
|
virtual |
Definition at line 96 of file BPHDecayVertex.cc.
References fittedVertex, fitVertex(), reco::Vertex::isValid(), oldVertex, and validTks.
|
virtual |
get reconstructed vertex
Definition at line 102 of file BPHDecayVertex.cc.
References fittedVertex, fitVertex(), and oldVertex.
Referenced by Tau.Tau::dxy(), BPHWriteSpecificDecay::fill(), and BPHChi2Select::~BPHChi2Select().
|
private |
Definition at line 103 of file BPHDecayVertex.h.
Referenced by tTracks().
|
mutableprivate |
Definition at line 116 of file BPHDecayVertex.h.
Referenced by fitVertex(), validVertex(), and vertex().
|
mutableprivate |
Definition at line 109 of file BPHDecayVertex.h.
Referenced by fitVertex(), getTrack(), getTransientTrack(), setNotUpdated(), tracks(), transientTracks(), and tTracks().
|
mutableprivate |
Definition at line 110 of file BPHDecayVertex.h.
Referenced by fitVertex(), setNotUpdated(), validTracks(), validVertex(), and vertex().
|
mutableprivate |
Definition at line 112 of file BPHDecayVertex.h.
|
private |
Definition at line 106 of file BPHDecayVertex.h.
Referenced by BPHDecayVertex(), getTrackSearchList(), and tTracks().
|
mutableprivate |
Definition at line 114 of file BPHDecayVertex.h.
Referenced by getTrack(), and tTracks().
|
mutableprivate |
Definition at line 113 of file BPHDecayVertex.h.
Referenced by fitVertex(), transientTracks(), and tTracks().
|
mutableprivate |
Definition at line 115 of file BPHDecayVertex.h.
Referenced by getTransientTrack(), and tTracks().
|
mutableprivate |
Definition at line 111 of file BPHDecayVertex.h.
Referenced by setNotUpdated(), tTracks(), validTracks(), and validVertex().