Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
B4bEventAction Class Reference

#include <B4bEventAction.hh>

Inheritance diagram for B4bEventAction:
Inheritance graph
[legend]
Collaboration diagram for B4bEventAction:
Collaboration graph
[legend]

Public Member Functions

 B4bEventAction ()
 
virtual ~B4bEventAction ()
 
virtual void BeginOfEventAction (const G4Event *event)
 
virtual void EndOfEventAction (const G4Event *event)
 
void SetPrintModulo (G4int value)
 
- Public Member Functions inherited from G4UserEventAction
 G4UserEventAction ()
 
virtual ~G4UserEventAction ()
 
void SetEventManager (G4EventManager *value)
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Event action class

In EndOfEventAction(), it prints the accumulated quantities of the energy deposit and track lengths of charged particles in Absober and Gap layers stored in B4bRunData object.

The data member fPrintModulo defines the frequency of printing. the accumulated quantities. Its value can be changed via a command defined using G4GenericMessenger class:

Definition at line 50 of file B4bEventAction.hh.

Constructor & Destructor Documentation

B4bEventAction::B4bEventAction ( )

Definition at line 44 of file B4bEventAction.cc.

Here is the call graph for this function:

B4bEventAction::~B4bEventAction ( )
virtual

Definition at line 62 of file B4bEventAction.cc.

Member Function Documentation

void B4bEventAction::BeginOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 89 of file B4bEventAction.cc.

Here is the call graph for this function:

void B4bEventAction::EndOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 103 of file B4bEventAction.cc.

Here is the call graph for this function:

void B4bEventAction::SetPrintModulo ( G4int  value)
inline

Definition at line 74 of file B4bEventAction.hh.


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