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

#include <B1EventAction.hh>

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

Public Member Functions

 B1EventAction ()
 
virtual ~B1EventAction ()
 
virtual void BeginOfEventAction (const G4Event *event)
 
virtual void EndOfEventAction (const G4Event *event)
 
void Reset ()
 
G4double GetEnergySum () const
 
G4double GetEnergy2Sum () const
 
 B1EventAction ()
 
virtual ~B1EventAction ()
 
virtual void BeginOfEventAction (const G4Event *event)
 
virtual void EndOfEventAction (const G4Event *event)
 
void Reset ()
 
G4double GetEnergySum () const
 
G4double GetEnergy2Sum () const
 
- Public Member Functions inherited from G4UserEventAction
 G4UserEventAction ()
 
virtual ~G4UserEventAction ()
 
void SetEventManager (G4EventManager *value)
 

Static Public Member Functions

static B1EventActionInstance ()
 
static B1EventActionInstance ()
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Event action class

It holds data member fEnergySum and fEnergy2Sum for accumulating the event energy deposit its square event by event. These data are then used in the run action to compute the dose. The accumulated energy and enrgy square sums are reset for each new run via the Reset() function from the run action.

Definition at line 47 of file B1EventAction.hh.

Constructor & Destructor Documentation

B1EventAction::B1EventAction ( )

Definition at line 55 of file B1EventAction.cc.

B1EventAction::~B1EventAction ( )
virtual

Definition at line 66 of file B1EventAction.cc.

B1EventAction::B1EventAction ( )
virtual B1EventAction::~B1EventAction ( )
virtual

Member Function Documentation

void B1EventAction::BeginOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 73 of file B1EventAction.cc.

Here is the call graph for this function:

virtual void B1EventAction::BeginOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

virtual void B1EventAction::EndOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

void B1EventAction::EndOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 86 of file B1EventAction.cc.

Here is the call graph for this function:

G4double B1EventAction::GetEnergy2Sum ( ) const
inline

Definition at line 63 of file B1EventAction.hh.

G4double B1EventAction::GetEnergy2Sum ( ) const
inline

Definition at line 63 of file B1EventAction.hh.

Here is the caller graph for this function:

G4double B1EventAction::GetEnergySum ( ) const
inline

Definition at line 62 of file B1EventAction.hh.

Here is the caller graph for this function:

G4double B1EventAction::GetEnergySum ( ) const
inline

Definition at line 62 of file B1EventAction.hh.

B1EventAction * B1EventAction::Instance ( void  )
static

Definition at line 46 of file B1EventAction.cc.

Here is the caller graph for this function:

static B1EventAction* B1EventAction::Instance ( )
static
void B1EventAction::Reset ( )
void B1EventAction::Reset ( )

Definition at line 96 of file B1EventAction.cc.

Here is the caller graph for this function:


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