#include <G4MCTSimEvent.hh>
Definition at line 48 of file G4MCTSimEvent.hh.
G4MCTSimEvent::G4MCTSimEvent |
( |
| ) |
|
G4MCTSimEvent::~G4MCTSimEvent |
( |
| ) |
|
Definition at line 54 of file G4MCTSimEvent.cc.
58 int trackID= aparticle-> GetTrackID();
G4MCTSimParticleContainer particleMap
void G4MCTSimEvent::BuildVertexContainer |
( |
| ) |
|
Definition at line 94 of file G4MCTSimEvent.cc.
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.
115 G4MCTSimParticleContainer::iterator itr;
121 G4MCTSimVertexContainer::iterator itrv;
G4MCTSimVertexContainer vertexVec
G4MCTSimParticleContainer particleMap
Definition at line 70 of file G4MCTSimEvent.cc.
73 G4MCTSimParticleContainer::const_iterator
pos=
particleMap.find(tid);
static constexpr double second
G4MCTSimParticleContainer particleMap
static const G4double pos
int G4MCTSimEvent::GetNofParticles |
( |
| ) |
const |
|
inline |
int G4MCTSimEvent::GetNofStoredParticles |
( |
| ) |
const |
Definition at line 130 of file G4MCTSimEvent.cc.
134 G4MCTSimParticleContainer::const_iterator itr;
136 if(itr->
second-> GetStoreFlag()) n++;
static constexpr double second
G4MCTSimParticleContainer particleMap
int G4MCTSimEvent::GetNofStoredVertices |
( |
| ) |
const |
Definition at line 142 of file G4MCTSimEvent.cc.
146 G4MCTSimVertexContainer::const_iterator itr;
148 if((*itr)->GetStoreFlag()) n++;
G4MCTSimVertexContainer vertexVec
int G4MCTSimEvent::GetNofVertices |
( |
| ) |
const |
|
inline |
Definition at line 82 of file G4MCTSimEvent.cc.
86 if(vid>=1 && vid<=nv) {
G4MCTSimVertexContainer vertexVec
void G4MCTSimEvent::Print |
( |
std::ostream & |
ostr = std::cout | ) |
const |
Definition at line 155 of file G4MCTSimEvent.cc.
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;
static constexpr double second
G4MCTSimVertexContainer vertexVec
G4MCTSimParticleContainer particleMap
The documentation for this class was generated from the following files: