#include <G4Pevent.hh>
Public Member Functions | |
G4Pevent (G4MCTEvent *mctevt, G4Event *g4evt) | |
~G4Pevent () | |
int | GetEventID () |
G4Event * | GetEvent () |
G4MCTEvent * | GetMCTEvent () |
int | GetGenEventID () const |
void | SetGenEventID (int id) |
Definition at line 50 of file G4Pevent.hh.
G4Pevent::G4Pevent | ( | G4MCTEvent * | mctevt, | |
G4Event * | g4evt | |||
) |
Definition at line 33 of file G4Pevent.cc.
References G4Event::GetEventID(), and G4MCTEvent::GetEventNumber().
00034 : genEventID(-1), f_mctevt(mctevt), f_g4evt(g4evt) 00035 { 00036 m_id = g4evt->GetEventID(); 00037 if (mctevt) genEventID= mctevt->GetEventNumber(); 00038 }
G4Pevent::~G4Pevent | ( | ) |
G4Event* G4Pevent::GetEvent | ( | ) | [inline] |
int G4Pevent::GetEventID | ( | ) | [inline] |
int G4Pevent::GetGenEventID | ( | ) | const [inline] |
G4MCTEvent* G4Pevent::GetMCTEvent | ( | ) | [inline] |
void G4Pevent::SetGenEventID | ( | int | id | ) | [inline] |