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

#include <B4dEventAction.hh>

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

Public Member Functions

 B4dEventAction ()
 
virtual ~B4dEventAction ()
 
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 the hits collections.

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 52 of file B4dEventAction.hh.

Constructor & Destructor Documentation

B4dEventAction::B4dEventAction ( )

Definition at line 46 of file B4dEventAction.cc.

Here is the call graph for this function:

B4dEventAction::~B4dEventAction ( )
virtual

Definition at line 64 of file B4dEventAction.cc.

Member Function Documentation

void B4dEventAction::BeginOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 122 of file B4dEventAction.cc.

void B4dEventAction::EndOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 134 of file B4dEventAction.cc.

void B4dEventAction::SetPrintModulo ( G4int  value)
inline

Definition at line 79 of file B4dEventAction.hh.


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