#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) |
||
) |
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().
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(), and VertexFitterResult::fill().
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(), and VertexFitterResult::fill().
|
inline |
Definition at line 72 of file TrackingVertex.h.
References eId_.
Referenced by ntupleDataFormat.Event::eventIdStr(), and MultiTrackValidator::getRecoPVPosition().
const std::vector< SimVertex > & TrackingVertex::g4Vertices | ( | ) | const |
TrackingVertex::g4v_iterator TrackingVertex::g4Vertices_begin | ( | ) | const |
TrackingVertex::g4v_iterator TrackingVertex::g4Vertices_end | ( | ) | const |
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_.
TrackingVertex::genv_iterator TrackingVertex::genVertices_end | ( | ) | const |
Definition at line 38 of file TrackingVertex.cc.
References edm::RefVector< C, T, F >::end(), and genVertices_.
|
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().
|
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 FWTrackingVertexProxyBuilder::build(), VertexFitterResult::fill(), and ShallowSimTracksProducer::produce().
|
inline |
Definition at line 38 of file TrackingVertex.h.
References MillePedeFileConverter_cfg::e, and eId_.
const TrackingParticleRefVector & TrackingVertex::sourceTracks | ( | ) | const |
TrackingVertex::tp_iterator TrackingVertex::sourceTracks_begin | ( | ) | const |
Definition at line 44 of file TrackingVertex.cc.
References edm::RefVector< C, T, F >::begin(), and sourceTracks_.
TrackingVertex::tp_iterator TrackingVertex::sourceTracks_end | ( | ) | const |
Definition at line 45 of file TrackingVertex.cc.
References edm::RefVector< C, T, F >::end(), and sourceTracks_.
|
friend |
|
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().