Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4MCTEvent.hh>
Public Types | |
using | genprimary_const_iterator = MCTGen2SimParticleMap::const_iterator |
using | simprimary_const_iterator = MCTSim2GenParticleMap::const_iterator |
Public Member Functions | |
G4MCTEvent () | |
virtual | ~G4MCTEvent () |
G4MCTEvent (const G4MCTEvent &right) | |
G4MCTEvent & | operator= (const G4MCTEvent &right) |
void | SetEventNumber (G4int n) |
G4int | GetEventNumber () const |
G4MCTGenEvent * | GetGenEvent () const |
G4MCTSimEvent * | GetSimEvent () const |
G4int | GetNofPrimaries () const |
G4MCTSimParticle * | GetSimParticle (const G4MCTGenParticle &genpart) const |
G4MCTGenParticle | GetGenParticle (const G4MCTSimParticle *simpart) const |
G4int | AddPrimaryPair (const G4MCTGenParticle &genp, const G4MCTSimParticle *simp) |
void | ClearEvent () |
void | Print (std::ostream &ostr=std::cout) const |
genprimary_const_iterator | genprimaries_begin () const |
genprimary_const_iterator | genprimaries_end () const |
simprimary_const_iterator | simprimaries_begin () const |
simprimary_const_iterator | simprimaries_end () const |
Protected Attributes | |
G4int | eventNumber = 0 |
G4MCTGenEvent * | genEvent = nullptr |
G4MCTSimEvent * | simEvent = nullptr |
MCTGen2SimParticleMap | gen2simParticleMap |
MCTSim2GenParticleMap | sim2genParticleMap |
Definition at line 46 of file G4MCTEvent.hh.
using G4MCTEvent::genprimary_const_iterator = MCTGen2SimParticleMap::const_iterator |
Definition at line 74 of file G4MCTEvent.hh.
using G4MCTEvent::simprimary_const_iterator = MCTSim2GenParticleMap::const_iterator |
Definition at line 78 of file G4MCTEvent.hh.
G4MCTEvent::G4MCTEvent | ( | ) |
Definition at line 38 of file G4MCTEvent.cc.
|
virtual |
Definition at line 45 of file G4MCTEvent.cc.
|
inline |
Definition at line 97 of file G4MCTEvent.hh.
G4int G4MCTEvent::AddPrimaryPair | ( | const G4MCTGenParticle & | genp, |
const G4MCTSimParticle * | simp ) |
Definition at line 82 of file G4MCTEvent.cc.
void G4MCTEvent::ClearEvent | ( | ) |
Definition at line 94 of file G4MCTEvent.cc.
|
inline |
Definition at line 139 of file G4MCTEvent.hh.
|
inline |
Definition at line 145 of file G4MCTEvent.hh.
|
inline |
|
inline |
Definition at line 132 of file G4MCTEvent.hh.
G4MCTGenParticle G4MCTEvent::GetGenParticle | ( | const G4MCTSimParticle * | simpart | ) | const |
Definition at line 67 of file G4MCTEvent.cc.
|
inline |
Definition at line 122 of file G4MCTEvent.hh.
|
inline |
Definition at line 127 of file G4MCTEvent.hh.
G4MCTSimParticle * G4MCTEvent::GetSimParticle | ( | const G4MCTGenParticle & | genpart | ) | const |
Definition at line 52 of file G4MCTEvent.cc.
|
inline |
Definition at line 99 of file G4MCTEvent.hh.
void G4MCTEvent::Print | ( | std::ostream & | ostr = std::cout | ) | const |
Definition at line 104 of file G4MCTEvent.cc.
|
inline |
Definition at line 112 of file G4MCTEvent.hh.
|
inline |
Definition at line 151 of file G4MCTEvent.hh.
|
inline |
Definition at line 157 of file G4MCTEvent.hh.
|
protected |
Definition at line 84 of file G4MCTEvent.hh.
Referenced by GetEventNumber(), operator=(), Print(), and SetEventNumber().
|
protected |
Definition at line 89 of file G4MCTEvent.hh.
Referenced by AddPrimaryPair(), ClearEvent(), genprimaries_begin(), genprimaries_end(), GetNofPrimaries(), GetSimParticle(), and operator=().
|
protected |
Definition at line 85 of file G4MCTEvent.hh.
Referenced by ClearEvent(), G4MCTEvent(), GetGenEvent(), operator=(), and ~G4MCTEvent().
|
protected |
Definition at line 90 of file G4MCTEvent.hh.
Referenced by AddPrimaryPair(), ClearEvent(), GetGenParticle(), operator=(), simprimaries_begin(), and simprimaries_end().
|
protected |
Definition at line 86 of file G4MCTEvent.hh.
Referenced by ClearEvent(), G4MCTEvent(), GetSimEvent(), operator=(), Print(), and ~G4MCTEvent().