Geant4  10.00.p02
G4MCTSimEvent Class Reference

#include <G4MCTSimEvent.hh>

Public Types

typedef
G4MCTSimParticleContainer::iterator 
particle_iterator
 
typedef
G4MCTSimParticleContainer::const_iterator 
particle_const_iterator
 
typedef
G4MCTSimVertexContainer::iterator 
vertex_iterator
 
typedef
G4MCTSimVertexContainer::const_iterator 
vertex_const_iterator
 

Public Member Functions

 G4MCTSimEvent ()
 
 ~G4MCTSimEvent ()
 
 G4MCTSimEvent (const G4MCTSimEvent &right)
 
const G4MCTSimEventoperator= (const G4MCTSimEvent &right)
 
G4bool AddParticle (const G4MCTSimParticle *aparticle)
 
int GetNofParticles () const
 
int GetNofVertices () const
 
int GetNofStoredParticles () const
 
int GetNofStoredVertices () const
 
G4MCTSimParticleFindParticle (int tid) const
 
G4MCTSimVertexGetVertex (int vid) const
 
void BuildVertexContainer ()
 
void ClearEvent ()
 
void Print (std::ostream &ostr=std::cout) const
 
particle_iterator particles_begin ()
 
particle_iterator particles_end ()
 
particle_const_iterator particles_begin () const
 
particle_const_iterator particles_end () const
 
vertex_iterator vertices_begin ()
 
vertex_iterator vertices_end ()
 
vertex_const_iterator vertices_begin () const
 
vertex_const_iterator vertices_end () const
 

Protected Attributes

G4MCTSimParticleContainer particleMap
 
G4MCTSimVertexContainer vertexVec
 

Detailed Description

Definition at line 48 of file G4MCTSimEvent.hh.

Member Typedef Documentation

typedef G4MCTSimParticleContainer::const_iterator G4MCTSimEvent::particle_const_iterator

Definition at line 76 of file G4MCTSimEvent.hh.

typedef G4MCTSimParticleContainer::iterator G4MCTSimEvent::particle_iterator

Definition at line 75 of file G4MCTSimEvent.hh.

typedef G4MCTSimVertexContainer::const_iterator G4MCTSimEvent::vertex_const_iterator

Definition at line 83 of file G4MCTSimEvent.hh.

typedef G4MCTSimVertexContainer::iterator G4MCTSimEvent::vertex_iterator

Definition at line 82 of file G4MCTSimEvent.hh.

Constructor & Destructor Documentation

G4MCTSimEvent::G4MCTSimEvent ( )

Definition at line 41 of file G4MCTSimEvent.cc.

G4MCTSimEvent::~G4MCTSimEvent ( )

Definition at line 47 of file G4MCTSimEvent.cc.

References ClearEvent().

+ Here is the call graph for this function:

G4MCTSimEvent::G4MCTSimEvent ( const G4MCTSimEvent right)
inline

Definition at line 94 of file G4MCTSimEvent.hh.

References right.

Member Function Documentation

G4bool G4MCTSimEvent::AddParticle ( const G4MCTSimParticle aparticle)

Definition at line 54 of file G4MCTSimEvent.cc.

References particleMap.

void G4MCTSimEvent::BuildVertexContainer ( )

Definition at line 94 of file G4MCTSimEvent.cc.

References GetVertex(), particleMap, and vertexVec.

+ Here is the call graph for this function:

void G4MCTSimEvent::ClearEvent ( )

Definition at line 112 of file G4MCTSimEvent.cc.

References particleMap, and vertexVec.

Referenced by ~G4MCTSimEvent().

+ Here is the caller graph for this function:

G4MCTSimParticle * G4MCTSimEvent::FindParticle ( int  tid) const

Definition at line 70 of file G4MCTSimEvent.cc.

References pos, and second.

int G4MCTSimEvent::GetNofParticles ( ) const
inline

Definition at line 106 of file G4MCTSimEvent.hh.

References particleMap.

int G4MCTSimEvent::GetNofStoredParticles ( ) const

Definition at line 130 of file G4MCTSimEvent.cc.

References n, particleMap, and second.

int G4MCTSimEvent::GetNofStoredVertices ( ) const

Definition at line 142 of file G4MCTSimEvent.cc.

References n, and vertexVec.

int G4MCTSimEvent::GetNofVertices ( ) const
inline

Definition at line 111 of file G4MCTSimEvent.hh.

References vertexVec.

G4MCTSimVertex * G4MCTSimEvent::GetVertex ( int  vid) const

Definition at line 82 of file G4MCTSimEvent.cc.

Referenced by BuildVertexContainer().

+ Here is the caller graph for this function:

const G4MCTSimEvent & G4MCTSimEvent::operator= ( const G4MCTSimEvent right)
inline

Definition at line 99 of file G4MCTSimEvent.hh.

References particleMap.

G4MCTSimEvent::particle_iterator G4MCTSimEvent::particles_begin ( )
inline

Definition at line 117 of file G4MCTSimEvent.hh.

References particleMap.

G4MCTSimEvent::particle_const_iterator G4MCTSimEvent::particles_begin ( ) const
inline

Definition at line 124 of file G4MCTSimEvent.hh.

References particleMap.

G4MCTSimEvent::particle_iterator G4MCTSimEvent::particles_end ( )
inline

Definition at line 120 of file G4MCTSimEvent.hh.

References particleMap.

G4MCTSimEvent::particle_const_iterator G4MCTSimEvent::particles_end ( ) const
inline

Definition at line 127 of file G4MCTSimEvent.hh.

References particleMap.

void G4MCTSimEvent::Print ( std::ostream &  ostr = std::cout) const

Definition at line 155 of file G4MCTSimEvent.cc.

References G4endl, and second.

G4MCTSimEvent::vertex_iterator G4MCTSimEvent::vertices_begin ( )
inline

Definition at line 130 of file G4MCTSimEvent.hh.

References vertexVec.

G4MCTSimEvent::vertex_const_iterator G4MCTSimEvent::vertices_begin ( ) const
inline

Definition at line 136 of file G4MCTSimEvent.hh.

References vertexVec.

G4MCTSimEvent::vertex_iterator G4MCTSimEvent::vertices_end ( )
inline

Definition at line 133 of file G4MCTSimEvent.hh.

References vertexVec.

G4MCTSimEvent::vertex_const_iterator G4MCTSimEvent::vertices_end ( ) const
inline

Definition at line 139 of file G4MCTSimEvent.hh.

References vertexVec.

Member Data Documentation

G4MCTSimVertexContainer G4MCTSimEvent::vertexVec
protected

The documentation for this class was generated from the following files: