Geant4  10.02.p02
B4bRunAction Class Reference

Run action class. More...

#include <B4bRunAction.hh>

+ Inheritance diagram for B4bRunAction:
+ Collaboration diagram for B4bRunAction:

Public Member Functions

 B4bRunAction ()
 
virtual ~B4bRunAction ()
 
virtual G4RunGenerateRun ()
 
virtual void BeginOfRunAction (const G4Run *)
 
virtual void EndOfRunAction (const G4Run *)
 
- Public Member Functions inherited from G4UserRunAction
 G4UserRunAction ()
 
virtual ~G4UserRunAction ()
 
void SetMaster (G4bool val=true)
 
G4bool IsMaster () const
 

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Run action class.

It accumulates statistic and computes dispersion of the energy deposit and track lengths of charged particles with use of analysis tools: H1D histograms are created in BeginOfRunAction() for the following physics quantities:

  • Edep in absorber
  • Edep in gap
  • Track length in absorber
  • Track length in gap The same values are also saved in the ntuple. The histograms and ntuple are saved in the output file in a format accoring to a selected technology in B4Analysis.hh.

In EndOfRunAction(), the accumulated statistic and computed dispersion is printed.

Definition at line 57 of file B4bRunAction.hh.

Constructor & Destructor Documentation

B4bRunAction::B4bRunAction ( )

Definition at line 42 of file B4bRunAction.cc.

References cm, G4cout, G4endl, G4RunManager::GetRunManager(), m, MeV, and G4RunManager::SetPrintProgress().

+ Here is the call graph for this function:

B4bRunAction::~B4bRunAction ( )
virtual

Definition at line 81 of file B4bRunAction.cc.

Member Function Documentation

void B4bRunAction::BeginOfRunAction ( const G4Run run)
virtual

Reimplemented from G4UserRunAction.

Definition at line 95 of file B4bRunAction.cc.

References G4cout, G4endl, and G4Run::GetRunID().

+ Here is the call graph for this function:

void B4bRunAction::EndOfRunAction ( const G4Run )
virtual

Reimplemented from G4UserRunAction.

Definition at line 113 of file B4bRunAction.cc.

References G4BestUnit, G4cout, G4endl, and G4UserRunAction::isMaster.

G4Run * B4bRunAction::GenerateRun ( void  )
virtual

Reimplemented from G4UserRunAction.

Definition at line 88 of file B4bRunAction.cc.


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