68 G4MCTSimParticleContainer::const_iterator pos =
particleMap.find(tid);
83 if(vid >= 1 && vid <= nv)
96 G4MCTSimParticleContainer::iterator itr;
103 if(vertex->
GetID() < 0)
117 G4MCTSimParticleContainer::iterator itr;
124 G4MCTSimVertexContainer::iterator itrv;
136 G4MCTSimParticleContainer::const_iterator itr;
139 if(itr->second->GetStoreFlag())
149 G4MCTSimVertexContainer::const_iterator itr;
152 if((*itr)->GetStoreFlag())
161 ostr <<
"____________________________________________________"
162 "____________________________"
165 ostr <<
"Current Memory Usage: " <<
particleMap.size() <<
" particles, "
167 ostr <<
"trk#<ptrk#: P(Px(GeV), Py, Pz, E ) @PDG %proc\n"
168 <<
" vtx#- X( X(mm), Y, Z, T(ns)) @vname-#"
170 ostr <<
"____________________________________________________"
171 "____________________________"
174 G4MCTSimParticleContainer::const_iterator itr;
177 itr->second->PrintSingle(ostr);
179 ostr <<
"____________________________________________________"
180 "____________________________"
G4int GetNofStoredVertices() const
void BuildVertexContainer()
G4bool AddParticle(const G4MCTSimParticle *aparticle)
G4int GetNofStoredParticles() const
G4MCTSimParticleContainer particleMap
G4MCTSimVertexContainer vertexVec
void Print(std::ostream &ostr=std::cout) const
G4MCTSimParticle * FindParticle(G4int tid) const
G4MCTSimVertex * GetVertex(G4int vid) const