#include <G4MCTSimEvent.hh>
Definition at line 48 of file G4MCTSimEvent.hh.
◆ particle_const_iterator
◆ particle_iterator
◆ vertex_const_iterator
◆ vertex_iterator
◆ G4MCTSimEvent() [1/2]
G4MCTSimEvent::G4MCTSimEvent |
( |
| ) |
|
◆ ~G4MCTSimEvent()
G4MCTSimEvent::~G4MCTSimEvent |
( |
| ) |
|
◆ G4MCTSimEvent() [2/2]
◆ AddParticle()
Definition at line 54 of file G4MCTSimEvent.cc.
58 int trackID= aparticle-> GetTrackID();
G4MCTSimParticleContainer particleMap
◆ BuildVertexContainer()
void G4MCTSimEvent::BuildVertexContainer |
( |
| ) |
|
Definition at line 94 of file G4MCTSimEvent.cc.
97 G4MCTSimParticleContainer::iterator itr;
102 if (vertex-> GetID()<0) {
G4MCTSimVertex * GetVertex(int vid) const
G4MCTSimVertexContainer vertexVec
G4MCTSimParticleContainer particleMap
◆ ClearEvent()
void G4MCTSimEvent::ClearEvent |
( |
| ) |
|
Definition at line 112 of file G4MCTSimEvent.cc.
115 G4MCTSimParticleContainer::iterator itr;
121 G4MCTSimVertexContainer::iterator itrv;
G4MCTSimVertexContainer vertexVec
G4MCTSimParticleContainer particleMap
◆ FindParticle()
Definition at line 70 of file G4MCTSimEvent.cc.
73 G4MCTSimParticleContainer::const_iterator
pos=
particleMap.find(tid);
static const double second
G4MCTSimParticleContainer particleMap
static const G4double pos
◆ GetNofParticles()
int G4MCTSimEvent::GetNofParticles |
( |
| ) |
const |
|
inline |
◆ GetNofStoredParticles()
int G4MCTSimEvent::GetNofStoredParticles |
( |
| ) |
const |
Definition at line 130 of file G4MCTSimEvent.cc.
134 G4MCTSimParticleContainer::const_iterator itr;
136 if(itr->
second-> GetStoreFlag()) n++;
static const double second
G4MCTSimParticleContainer particleMap
◆ GetNofStoredVertices()
int G4MCTSimEvent::GetNofStoredVertices |
( |
| ) |
const |
Definition at line 142 of file G4MCTSimEvent.cc.
146 G4MCTSimVertexContainer::const_iterator itr;
148 if((*itr)->GetStoreFlag()) n++;
G4MCTSimVertexContainer vertexVec
◆ GetNofVertices()
int G4MCTSimEvent::GetNofVertices |
( |
| ) |
const |
|
inline |
◆ GetVertex()
Definition at line 82 of file G4MCTSimEvent.cc.
86 if(vid>=1 && vid<=nv) {
G4MCTSimVertexContainer vertexVec
◆ operator=()
◆ particles_begin() [1/2]
◆ particles_begin() [2/2]
◆ particles_end() [1/2]
◆ particles_end() [2/2]
◆ Print()
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 const double second
G4MCTSimVertexContainer vertexVec
G4MCTSimParticleContainer particleMap
◆ vertices_begin() [1/2]
◆ vertices_begin() [2/2]
◆ vertices_end() [1/2]
◆ vertices_end() [2/2]
◆ particleMap
◆ vertexVec
The documentation for this class was generated from the following files: