#include <TrackingVertex.h>
Public Types | |
typedef std::vector< SimVertex > ::const_iterator | g4v_iterator |
typedef GenVertexRefVector::iterator | genv_iterator |
typedef edm::Ref < edm::HepMCProduct, HepMC::GenVertex > | GenVertexRef |
typedef edm::RefVector < edm::HepMCProduct, HepMC::GenVertex > | GenVertexRefVector |
typedef math::XYZTLorentzVectorD | LorentzVector |
typedef TrackingParticleRefVector::iterator | tp_iterator |
Private Attributes | |
TrackingParticleRefVector | daughterTracks_ |
EncodedEventId | eId_ |
std::vector< SimVertex > | g4Vertices_ |
GenVertexRefVector | genVertices_ |
bool | inVolume_ |
LorentzVector | position_ |
TrackingParticleRefVector | sourceTracks_ |
Friends | |
std::ostream & | operator<< (std::ostream &s, const TrackingVertex &tv) |
A simulated Vertex with links to TrackingParticles for analysis of track and vertex reconstruction
Definition at line 22 of file TrackingVertex.h.
typedef std::vector<SimVertex>::const_iterator TrackingVertex::g4v_iterator |
Definition at line 30 of file TrackingVertex.h.
Definition at line 29 of file TrackingVertex.h.
typedef edm::Ref<edm::HepMCProduct, HepMC::GenVertex> TrackingVertex::GenVertexRef |
Definition at line 27 of file TrackingVertex.h.
typedef edm::RefVector<edm::HepMCProduct, HepMC::GenVertex> TrackingVertex::GenVertexRefVector |
Definition at line 26 of file TrackingVertex.h.
Definition at line 28 of file TrackingVertex.h.
Definition at line 31 of file TrackingVertex.h.
TrackingVertex::TrackingVertex | ( | ) |
Definition at line 10 of file TrackingVertex.cc.
TrackingVertex::TrackingVertex | ( | const LorentzVector & | position, |
const bool | inVolume, | ||
const EncodedEventId | e = EncodedEventId(0) |
||
) |
Definition at line 14 of file TrackingVertex.cc.
void TrackingVertex::addDaughterTrack | ( | const TrackingParticleRef & | ref | ) |
Definition at line 27 of file TrackingVertex.cc.
References daughterTracks_, and edm::RefVector< C, T, F >::push_back().
void TrackingVertex::addG4Vertex | ( | const SimVertex & | v | ) |
void TrackingVertex::addGenVertex | ( | const GenVertexRef & | ref | ) |
Definition at line 23 of file TrackingVertex.cc.
References genVertices_, and edm::RefVector< C, T, F >::push_back().
void TrackingVertex::addParentTrack | ( | const TrackingParticleRef & | ref | ) |
Definition at line 29 of file TrackingVertex.cc.
References edm::RefVector< C, T, F >::push_back(), and sourceTracks_.
void TrackingVertex::clearDaughterTracks | ( | ) |
Definition at line 31 of file TrackingVertex.cc.
References edm::RefVector< C, T, F >::clear(), and daughterTracks_.
void TrackingVertex::clearParentTracks | ( | ) |
Definition at line 33 of file TrackingVertex.cc.
References edm::RefVector< C, T, F >::clear(), and sourceTracks_.
const TrackingParticleRefVector & TrackingVertex::daughterTracks | ( | ) | const |
Definition at line 52 of file TrackingVertex.cc.
References daughterTracks_.
Referenced by VertexFitterResult::fill(), TrackingNtuple::fillTrackingVertices(), and operator<<().
TrackingVertex::tp_iterator TrackingVertex::daughterTracks_begin | ( | ) | const |
Definition at line 42 of file TrackingVertex.cc.
References edm::RefVector< C, T, F >::begin(), and daughterTracks_.
Referenced by calculateVertexSharedTracks(), VertexFitterResult::fill(), and operator<<().
TrackingVertex::tp_iterator TrackingVertex::daughterTracks_end | ( | ) | const |
Definition at line 43 of file TrackingVertex.cc.
References daughterTracks_, and edm::RefVector< C, T, F >::end().
Referenced by calculateVertexSharedTracks(), VertexFitterResult::fill(), and operator<<().
|
inline |
Definition at line 72 of file TrackingVertex.h.
References eId_.
Referenced by TrackingNtuple::analyze(), VertexAssociatorByPositionAndTracks::associateRecoToSim(), VertexAssociatorByPositionAndTracks::associateSimToReco(), ntupleDataFormat.Event::eventIdStr(), TrackingNtuple::fillTrackingVertices(), MultiTrackValidator::getRecoPVPosition(), and operator<<().
const std::vector< SimVertex > & TrackingVertex::g4Vertices | ( | ) | const |
Definition at line 49 of file TrackingVertex.cc.
References g4Vertices_.
Referenced by TrackingNtuple::fillTrackingVertices().
TrackingVertex::g4v_iterator TrackingVertex::g4Vertices_begin | ( | ) | const |
Definition at line 39 of file TrackingVertex.cc.
References g4Vertices_.
Referenced by operator<<().
TrackingVertex::g4v_iterator TrackingVertex::g4Vertices_end | ( | ) | const |
Definition at line 40 of file TrackingVertex.cc.
References g4Vertices_.
Referenced by operator<<().
const GenVertexRefVector & TrackingVertex::genVertices | ( | ) | const |
TrackingVertex::genv_iterator TrackingVertex::genVertices_begin | ( | ) | const |
Definition at line 37 of file TrackingVertex.cc.
References edm::RefVector< C, T, F >::begin(), and genVertices_.
Referenced by operator<<().
TrackingVertex::genv_iterator TrackingVertex::genVertices_end | ( | ) | const |
Definition at line 38 of file TrackingVertex.cc.
References edm::RefVector< C, T, F >::end(), and genVertices_.
Referenced by operator<<().
|
inline |
Definition at line 73 of file TrackingVertex.h.
|
inline |
Definition at line 53 of file TrackingVertex.h.
References daughterTracks_, and edm::RefVector< C, T, F >::size().
Referenced by VertexAssociatorByPositionAndTracks::associateRecoToSim(), and VertexAssociatorByPositionAndTracks::associateSimToReco().
|
inline |
|
inline |
Definition at line 52 of file TrackingVertex.h.
References genVertices_, and edm::RefVector< C, T, F >::size().
|
inline |
Definition at line 54 of file TrackingVertex.h.
References edm::RefVector< C, T, F >::size(), and sourceTracks_.
|
inline |
Definition at line 71 of file TrackingVertex.h.
References position_.
Referenced by VertexAssociatorByPositionAndTracks::associateRecoToSim(), VertexAssociatorByPositionAndTracks::associateSimToReco(), FWTrackingVertexProxyBuilder::build(), VertexFitterResult::fill(), TrackingNtuple::fillTrackingVertices(), operator<<(), ShallowSimTracksProducer::produce(), TrackingParticle::vx(), TrackingParticle::vy(), and TrackingParticle::vz().
|
inline |
const TrackingParticleRefVector & TrackingVertex::sourceTracks | ( | ) | const |
Definition at line 51 of file TrackingVertex.cc.
References sourceTracks_.
Referenced by TrackingNtuple::fillTrackingVertices().
TrackingVertex::tp_iterator TrackingVertex::sourceTracks_begin | ( | ) | const |
Definition at line 44 of file TrackingVertex.cc.
References edm::RefVector< C, T, F >::begin(), and sourceTracks_.
Referenced by operator<<().
TrackingVertex::tp_iterator TrackingVertex::sourceTracks_end | ( | ) | const |
Definition at line 45 of file TrackingVertex.cc.
References edm::RefVector< C, T, F >::end(), and sourceTracks_.
Referenced by operator<<().
|
friend |
Definition at line 54 of file TrackingVertex.cc.
|
private |
Definition at line 84 of file TrackingVertex.h.
Referenced by addDaughterTrack(), clearDaughterTracks(), daughterTracks(), daughterTracks_begin(), daughterTracks_end(), and nDaughterTracks().
|
private |
Definition at line 78 of file TrackingVertex.h.
Referenced by eventId(), and setEventId().
|
private |
Definition at line 82 of file TrackingVertex.h.
Referenced by addG4Vertex(), g4Vertices(), g4Vertices_begin(), g4Vertices_end(), and nG4Vertices().
|
private |
Definition at line 83 of file TrackingVertex.h.
Referenced by addGenVertex(), genVertices(), genVertices_begin(), genVertices_end(), and nGenVertices().
|
private |
Definition at line 77 of file TrackingVertex.h.
|
private |
Definition at line 73 of file TrackingVertex.h.
Referenced by position().
|
private |
Definition at line 85 of file TrackingVertex.h.
Referenced by addParentTrack(), clearParentTracks(), nSourceTracks(), sourceTracks(), sourceTracks_begin(), and sourceTracks_end().