15 position_(p), inVolume_(inVolume), eId_(eId)
115 typedef std::vector<SimVertex>::const_iterator
g4v_iterator;
117 typedef std::vector<SimTrack>::const_iterator
g4t_iterator;
123 s <<
" HepMC vertex position " << (*(*genV)).
position().x() <<
","<< (*(*genV)).
position().y() << (*(*genV)).
position().z() << endl;
128 s <<
" Geant vertex position " << (*g4V).position() << endl;
135 s <<
" Daughter starts: " << (*(*iTP)).vertex();
136 for (g4t_iterator g4T = (*(*iTP)).g4Track_begin(); g4T != (*(*iTP)).g4Track_end(); ++g4T)
138 s <<
" p " << g4T->momentum();
146 s <<
" Source starts: " << (*(*iTP)).vertex();
147 for (g4t_iterator g4T = (*iTP)->g4Track_begin(); g4T != (*iTP)->g4Track_end(); ++g4T)
149 s <<
", p " << g4T ->momentum();
tp_iterator daughterTracks_begin() const
const TrackingParticleRefVector & sourceTracks() const
int event() const
get the contents of the subdetector field (should be protected?)
TrackingVertex::g4v_iterator g4v_iterator
std::vector< SimVertex >::const_iterator g4v_iterator
const std::vector< SimVertex > & g4Vertices() const
g4v_iterator g4Vertices_end() const
const GenVertexRefVector & genVertices() const
void addDaughterTrack(const TrackingParticleRef &)
void clearDaughterTracks()
std::ostream & operator<<(std::ostream &out, const ALILine &li)
const_iterator end() const
Termination of iteration.
void addParentTrack(const TrackingParticleRef &)
static int position[TOTALCHAMBERS][3]
const_iterator begin() const
Initialize an iterator over the RefVector.
g4v_iterator g4Vertices_begin() const
void addG4Vertex(const SimVertex &)
math::XYZTLorentzVectorD LorentzVector
genv_iterator genVertices_end() const
TrackingParticleRefVector daughterTracks_
TrackingVertex::genv_iterator genv_iterator
edm::RefVector< edm::HepMCProduct, HepMC::GenVertex > GenVertexRefVector
GenVertexRefVector genVertices_
int bunchCrossing() const
get the detector field from this detid
tp_iterator daughterTracks_end() const
tp_iterator sourceTracks_begin() const
edm::Ref< edm::HepMCProduct, HepMC::GenVertex > GenVertexRef
void clear()
Clear the vector.
tp_iterator sourceTracks_end() const
std::vector< SimVertex > g4Vertices_
void addGenVertex(const GenVertexRef &)
const EncodedEventId & eventId() const
const TrackingParticleRefVector & daughterTracks() const
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
size_type size() const
Size of the RefVector.
TrackingParticleRefVector::iterator tp_iterator
TrackingParticleRefVector sourceTracks_
genv_iterator genVertices_begin() const
const LorentzVector & position() const
TrackingParticle::g4t_iterator g4t_iterator