Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
ElectronEventAction Class Reference

#include <ElectronEventAction.hh>

Inheritance diagram for ElectronEventAction:
G4UserEventAction

Public Member Functions

 ElectronEventAction ()
 
virtual ~ElectronEventAction ()
 
virtual void BeginOfEventAction (const G4Event *)
 
- Public Member Functions inherited from G4UserEventAction
 G4UserEventAction ()
 
virtual ~G4UserEventAction ()
 
void SetEventManager (G4EventManager *value)
 
virtual void EndOfEventAction (const G4Event *anEvent)
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Definition at line 39 of file ElectronEventAction.hh.

Constructor & Destructor Documentation

ElectronEventAction::ElectronEventAction ( )

Definition at line 40 of file ElectronEventAction.cc.

42 {;}
ElectronEventAction::~ElectronEventAction ( )
virtual

Definition at line 46 of file ElectronEventAction.cc.

47 {;}

Member Function Documentation

void ElectronEventAction::BeginOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 51 of file ElectronEventAction.cc.

References G4cout, G4endl, and G4Event::GetEventID().

52 {
53  if (std::fmod(event->GetEventID(), 100000.)==0)
54  G4cout << "Event Number:" << event->GetEventID() << G4endl;
55 }
G4int GetEventID() const
Definition: G4Event.hh:140
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61

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