ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4MCTEvent Class Reference

#include <geant4/tree/geant4-10.6-release/source/persistency/mctruth/include/G4MCTEvent.hh>

+ Collaboration diagram for G4MCTEvent:

Public Types

typedef
MCTGen2SimParticleMap::const_iterator 
genprimary_const_iterator
 
typedef
MCTSim2GenParticleMap::const_iterator 
simprimary_const_iterator
 

Public Member Functions

 G4MCTEvent ()
 
virtual ~G4MCTEvent ()
 
 G4MCTEvent (const G4MCTEvent &right)
 
const G4MCTEventoperator= (const G4MCTEvent &right)
 
void SetEventNumber (int n)
 
int GetEventNumber () const
 
G4MCTGenEventGetGenEvent () const
 
G4MCTSimEventGetSimEvent () const
 
int GetNofPrimaries () const
 
G4MCTSimParticleGetSimParticle (const G4MCTGenParticle &genpart) const
 
G4MCTGenParticle GetGenParticle (const G4MCTSimParticle *simpart) const
 
int 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

int eventNumber
 
G4MCTGenEventgenEvent
 
G4MCTSimEventsimEvent
 
MCTGen2SimParticleMap gen2simParticleMap
 
MCTSim2GenParticleMap sim2genParticleMap
 

Detailed Description

Definition at line 49 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 49 of file G4MCTEvent.hh

Member Typedef Documentation

typedef MCTGen2SimParticleMap::const_iterator G4MCTEvent::genprimary_const_iterator

Definition at line 84 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 84 of file G4MCTEvent.hh

typedef MCTSim2GenParticleMap::const_iterator G4MCTEvent::simprimary_const_iterator

Definition at line 88 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 88 of file G4MCTEvent.hh

Constructor & Destructor Documentation

G4MCTEvent::G4MCTEvent ( )

Definition at line 43 of file G4MCTEvent.cc.

View newest version in sPHENIX GitHub at line 43 of file G4MCTEvent.cc

References genEvent, and simEvent.

G4MCTEvent::~G4MCTEvent ( )
virtual

Definition at line 52 of file G4MCTEvent.cc.

View newest version in sPHENIX GitHub at line 52 of file G4MCTEvent.cc

References genEvent, and simEvent.

G4MCTEvent::G4MCTEvent ( const G4MCTEvent right)
inline

Definition at line 97 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 97 of file G4MCTEvent.hh

References right.

Member Function Documentation

int G4MCTEvent::AddPrimaryPair ( const G4MCTGenParticle genp,
const G4MCTSimParticle simp 
)

Definition at line 87 of file G4MCTEvent.cc.

View newest version in sPHENIX GitHub at line 87 of file G4MCTEvent.cc

References gen2simParticleMap, and sim2genParticleMap.

void G4MCTEvent::ClearEvent ( )

Definition at line 100 of file G4MCTEvent.cc.

View newest version in sPHENIX GitHub at line 100 of file G4MCTEvent.cc

References gen2simParticleMap, genEvent, sim2genParticleMap, and simEvent.

G4MCTEvent::genprimary_const_iterator G4MCTEvent::genprimaries_begin ( ) const
inline

Definition at line 124 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 124 of file G4MCTEvent.hh

References gen2simParticleMap.

G4MCTEvent::genprimary_const_iterator G4MCTEvent::genprimaries_end ( ) const
inline

Definition at line 127 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 127 of file G4MCTEvent.hh

References gen2simParticleMap.

int G4MCTEvent::GetEventNumber ( ) const
inline

Definition at line 116 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 116 of file G4MCTEvent.hh

References eventNumber.

Referenced by G4Pevent::G4Pevent().

+ Here is the caller graph for this function:

G4MCTGenEvent * G4MCTEvent::GetGenEvent ( ) const
inline

Definition at line 121 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 121 of file G4MCTEvent.hh

References genEvent.

G4MCTGenParticle G4MCTEvent::GetGenParticle ( const G4MCTSimParticle simpart) const

Definition at line 74 of file G4MCTEvent.cc.

View newest version in sPHENIX GitHub at line 74 of file G4MCTEvent.cc

References pos(), and second.

+ Here is the call graph for this function:

int G4MCTEvent::GetNofPrimaries ( ) const
inline

Definition at line 118 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 118 of file G4MCTEvent.hh

References gen2simParticleMap.

G4MCTSimEvent * G4MCTEvent::GetSimEvent ( ) const
inline

Definition at line 120 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 120 of file G4MCTEvent.hh

References simEvent.

G4MCTSimParticle * G4MCTEvent::GetSimParticle ( const G4MCTGenParticle genpart) const

Definition at line 61 of file G4MCTEvent.cc.

View newest version in sPHENIX GitHub at line 61 of file G4MCTEvent.cc

References pos(), and second.

+ Here is the call graph for this function:

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

Definition at line 102 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 102 of file G4MCTEvent.hh

References eventNumber, gen2simParticleMap, genEvent, sim2genParticleMap, and simEvent.

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

Definition at line 111 of file G4MCTEvent.cc.

View newest version in sPHENIX GitHub at line 111 of file G4MCTEvent.cc

References G4endl, and pyG4Element::Print().

+ Here is the call graph for this function:

void G4MCTEvent::SetEventNumber ( int  n)
inline

Definition at line 115 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 115 of file G4MCTEvent.hh

References eventNumber, and n.

G4MCTEvent::simprimary_const_iterator G4MCTEvent::simprimaries_begin ( ) const
inline

Definition at line 130 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 130 of file G4MCTEvent.hh

References sim2genParticleMap.

G4MCTEvent::simprimary_const_iterator G4MCTEvent::simprimaries_end ( ) const
inline

Definition at line 133 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 133 of file G4MCTEvent.hh

References sim2genParticleMap.

Member Data Documentation

int G4MCTEvent::eventNumber
protected

Definition at line 51 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 51 of file G4MCTEvent.hh

Referenced by GetEventNumber(), operator=(), and SetEventNumber().

MCTGen2SimParticleMap G4MCTEvent::gen2simParticleMap
protected

Definition at line 56 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 56 of file G4MCTEvent.hh

Referenced by AddPrimaryPair(), ClearEvent(), genprimaries_begin(), genprimaries_end(), GetNofPrimaries(), and operator=().

G4MCTGenEvent* G4MCTEvent::genEvent
protected

Definition at line 52 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 52 of file G4MCTEvent.hh

Referenced by ClearEvent(), G4MCTEvent(), GetGenEvent(), operator=(), and ~G4MCTEvent().

MCTSim2GenParticleMap G4MCTEvent::sim2genParticleMap
protected

Definition at line 57 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 57 of file G4MCTEvent.hh

Referenced by AddPrimaryPair(), ClearEvent(), operator=(), simprimaries_begin(), and simprimaries_end().

G4MCTSimEvent* G4MCTEvent::simEvent
protected

Definition at line 53 of file G4MCTEvent.hh.

View newest version in sPHENIX GitHub at line 53 of file G4MCTEvent.hh

Referenced by ClearEvent(), G4MCTEvent(), GetSimEvent(), operator=(), and ~G4MCTEvent().


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