#include <G4MCTSimEvent.hh>
Definition at line 48 of file G4MCTSimEvent.hh.
G4MCTSimEvent::G4MCTSimEvent |
( |
| ) |
|
G4MCTSimEvent::~G4MCTSimEvent |
( |
| ) |
|
Definition at line 54 of file G4MCTSimEvent.cc.
References particleMap.
58 int trackID= aparticle-> GetTrackID();
G4MCTSimParticleContainer particleMap
void G4MCTSimEvent::BuildVertexContainer |
( |
| ) |
|
Definition at line 94 of file G4MCTSimEvent.cc.
References GetVertex(), particleMap, and vertexVec.
97 G4MCTSimParticleContainer::iterator itr;
102 if (vertex-> GetID()<0) {
G4MCTSimVertexContainer vertexVec
G4MCTSimParticleContainer particleMap
G4MCTSimVertex * GetVertex(int vid) const
void G4MCTSimEvent::ClearEvent |
( |
| ) |
|
Definition at line 112 of file G4MCTSimEvent.cc.
References particleMap, and vertexVec.
Referenced by ~G4MCTSimEvent().
115 G4MCTSimParticleContainer::iterator itr;
121 G4MCTSimVertexContainer::iterator itrv;
G4MCTSimVertexContainer vertexVec
G4MCTSimParticleContainer particleMap
int G4MCTSimEvent::GetNofParticles |
( |
| ) |
const |
|
inline |
int G4MCTSimEvent::GetNofStoredParticles |
( |
| ) |
const |
int G4MCTSimEvent::GetNofStoredVertices |
( |
| ) |
const |
Definition at line 142 of file G4MCTSimEvent.cc.
References n, and vertexVec.
146 G4MCTSimVertexContainer::const_iterator itr;
148 if((*itr)->GetStoreFlag()) n++;
G4MCTSimVertexContainer vertexVec
int G4MCTSimEvent::GetNofVertices |
( |
| ) |
const |
|
inline |
void G4MCTSimEvent::Print |
( |
std::ostream & |
ostr = std::cout | ) |
const |
Definition at line 155 of file G4MCTSimEvent.cc.
References G4endl, and python.hepunit::second.
158 ostr <<
"____________________________________________________"
159 "____________________________" <<
G4endl;
160 ostr <<
"SimEvent:" << G4endl <<
G4endl;
161 ostr <<
"Current Memory Usage: "
165 ostr <<
"trk#<ptrk#: P(Px(GeV), Py, Pz, E ) @PDG %proc\n"
166 <<
" vtx#- X( X(mm), Y, Z, T(ns)) @vname-#"
168 ostr <<
"____________________________________________________"
169 "____________________________" <<
G4endl;
171 G4MCTSimParticleContainer::const_iterator itr;
173 itr->
second-> PrintSingle(ostr);
175 ostr <<
"____________________________________________________"
176 "____________________________" <<
G4endl;
G4MCTSimVertexContainer vertexVec
G4MCTSimParticleContainer particleMap
The documentation for this class was generated from the following files: