#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 33 of file TrackingVertex.h.
Definition at line 32 of file TrackingVertex.h.
typedef edm::Ref<edm::HepMCProduct, HepMC::GenVertex > TrackingVertex::GenVertexRef |
Definition at line 30 of file TrackingVertex.h.
typedef edm::RefVector<edm::HepMCProduct, HepMC::GenVertex > TrackingVertex::GenVertexRefVector |
Definition at line 29 of file TrackingVertex.h.
Definition at line 31 of file TrackingVertex.h.
Definition at line 34 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 15 of file TrackingVertex.cc.
void TrackingVertex::addDaughterTrack | ( | const TrackingParticleRef & | ref | ) |
Definition at line 35 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 28 of file TrackingVertex.cc.
References genVertices_, and edm::RefVector< C, T, F >::push_back().
void TrackingVertex::addParentTrack | ( | const TrackingParticleRef & | ref | ) |
Definition at line 40 of file TrackingVertex.cc.
References edm::RefVector< C, T, F >::push_back(), and sourceTracks_.
void TrackingVertex::clearDaughterTracks | ( | ) |
Definition at line 45 of file TrackingVertex.cc.
References edm::RefVector< C, T, F >::clear(), and daughterTracks_.
void TrackingVertex::clearParentTracks | ( | ) |
Definition at line 50 of file TrackingVertex.cc.
References edm::RefVector< C, T, F >::clear(), and sourceTracks_.
const TrackingParticleRefVector & TrackingVertex::daughterTracks | ( | ) | const |
Definition at line 106 of file TrackingVertex.cc.
References daughterTracks_.
Referenced by VertexFitterResult::fill(), and operator<<().
TrackingVertex::tp_iterator TrackingVertex::daughterTracks_begin | ( | ) | const |
Definition at line 75 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 79 of file TrackingVertex.cc.
References daughterTracks_, and edm::RefVector< C, T, F >::end().
Referenced by calculateVertexSharedTracks(), VertexFitterResult::fill(), and operator<<().
|
inline |
Definition at line 94 of file TrackingVertex.h.
References eId_.
Referenced by MultiTrackValidator::analyze(), VertexAssociatorByPositionAndTracks::associateRecoToSim(), VertexAssociatorByPositionAndTracks::associateSimToReco(), and operator<<().
const std::vector< SimVertex > & TrackingVertex::g4Vertices | ( | ) | const |
TrackingVertex::g4v_iterator TrackingVertex::g4Vertices_begin | ( | ) | const |
Definition at line 66 of file TrackingVertex.cc.
References g4Vertices_.
Referenced by operator<<().
TrackingVertex::g4v_iterator TrackingVertex::g4Vertices_end | ( | ) | const |
Definition at line 70 of file TrackingVertex.cc.
References g4Vertices_.
Referenced by operator<<().
const GenVertexRefVector & TrackingVertex::genVertices | ( | ) | const |
TrackingVertex::genv_iterator TrackingVertex::genVertices_begin | ( | ) | const |
Definition at line 58 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 62 of file TrackingVertex.cc.
References edm::RefVector< C, T, F >::end(), and genVertices_.
Referenced by operator<<().
|
inline |
|
inline |
Definition at line 66 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 62 of file TrackingVertex.h.
References genVertices_, and edm::RefVector< C, T, F >::size().
|
inline |
Definition at line 70 of file TrackingVertex.h.
References edm::RefVector< C, T, F >::size(), and sourceTracks_.
|
inline |
Definition at line 90 of file TrackingVertex.h.
References position_.
Referenced by VertexAssociatorByPositionAndTracks::associateRecoToSim(), VertexAssociatorByPositionAndTracks::associateSimToReco(), FWTrackingVertexProxyBuilder::build(), VertexFitterResult::fill(), operator<<(), ShallowSimTracksProducer::produce(), TrackingParticle::vx(), TrackingParticle::vy(), and TrackingParticle::vz().
|
inline |
const TrackingParticleRefVector & TrackingVertex::sourceTracks | ( | ) | const |
Definition at line 102 of file TrackingVertex.cc.
References sourceTracks_.
TrackingVertex::tp_iterator TrackingVertex::sourceTracks_begin | ( | ) | const |
Definition at line 83 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 87 of file TrackingVertex.cc.
References edm::RefVector< C, T, F >::end(), and sourceTracks_.
Referenced by operator<<().
|
friend |
Definition at line 111 of file TrackingVertex.cc.
|
private |
Definition at line 113 of file TrackingVertex.h.
Referenced by addDaughterTrack(), clearDaughterTracks(), daughterTracks(), daughterTracks_begin(), daughterTracks_end(), and nDaughterTracks().
|
private |
Definition at line 107 of file TrackingVertex.h.
Referenced by eventId(), and setEventId().
|
private |
Definition at line 111 of file TrackingVertex.h.
Referenced by addG4Vertex(), g4Vertices(), g4Vertices_begin(), g4Vertices_end(), and nG4Vertices().
|
private |
Definition at line 112 of file TrackingVertex.h.
Referenced by addGenVertex(), genVertices(), genVertices_begin(), genVertices_end(), and nGenVertices().
|
private |
Definition at line 106 of file TrackingVertex.h.
Referenced by inVolume().
|
private |
Definition at line 101 of file TrackingVertex.h.
Referenced by position().
|
private |
Definition at line 114 of file TrackingVertex.h.
Referenced by addParentTrack(), clearParentTracks(), nSourceTracks(), sourceTracks(), sourceTracks_begin(), and sourceTracks_end().