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

#include <B4cEventAction.hh>

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

Public Member Functions

 B4cEventAction ()
 
virtual ~B4cEventAction ()
 
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 53 of file B4cEventAction.hh.

Constructor & Destructor Documentation

B4cEventAction::B4cEventAction ( )

Definition at line 48 of file B4cEventAction.cc.

Here is the call graph for this function:

B4cEventAction::~B4cEventAction ( )
virtual

Definition at line 66 of file B4cEventAction.cc.

Member Function Documentation

void B4cEventAction::BeginOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 113 of file B4cEventAction.cc.

void B4cEventAction::EndOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 125 of file B4cEventAction.cc.

Here is the call graph for this function:

void B4cEventAction::SetPrintModulo ( G4int  value)
inline

Definition at line 79 of file B4cEventAction.hh.


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