ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
B03RunAction Class Reference

#include <geant4/tree/geant4-10.6-release/examples/extended/biasing/B03/include/B03RunAction.hh>

+ Inheritance diagram for B03RunAction:
+ Collaboration diagram for B03RunAction:

Public Member Functions

 B03RunAction ()
 
virtual ~B03RunAction ()
 
virtual G4RunGenerateRun ()
 
virtual void BeginOfRunAction (const G4Run *)
 
virtual void EndOfRunAction (const G4Run *)
 
void PrintHeader (std::ostream *out)
 
std::string FillString (const std::string &name, char c, G4int n, G4bool back=true)
 
- Public Member Functions inherited from G4UserRunAction
 G4UserRunAction ()
 
virtual ~G4UserRunAction ()
 
virtual void SetMaster (G4bool val=true)
 
G4bool IsMaster () const
 

Private Attributes

std::vector< G4StringfSDName
 
G4int fFieldValue
 

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Definition at line 48 of file B03RunAction.hh.

View newest version in sPHENIX GitHub at line 48 of file B03RunAction.hh

Constructor & Destructor Documentation

B03RunAction::B03RunAction ( )

Definition at line 51 of file B03RunAction.cc.

View newest version in sPHENIX GitHub at line 51 of file B03RunAction.cc

References fSDName.

B03RunAction::~B03RunAction ( )
virtual

Definition at line 64 of file B03RunAction.cc.

View newest version in sPHENIX GitHub at line 64 of file B03RunAction.cc

References fSDName.

Member Function Documentation

void B03RunAction::BeginOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 81 of file B03RunAction.cc.

View newest version in sPHENIX GitHub at line 81 of file B03RunAction.cc

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

+ Here is the call graph for this function:

void B03RunAction::EndOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 88 of file B03RunAction.cc.

View newest version in sPHENIX GitHub at line 88 of file B03RunAction.cc

References fFieldValue, fSDName, G4cout, G4endl, B03ImportanceDetectorConstruction::GetCellName(), B03Run::GetHitsMap(), G4Run::GetNumberOfEvent(), G4RunManager::GetRunManager(), G4RunManager::GetUserDetectorConstruction(), G4UserRunAction::IsMaster(), PrintHeader(), and SL.

+ Here is the call graph for this function:

std::string B03RunAction::FillString ( const std::string &  name,
char  c,
G4int  n,
G4bool  back = true 
)

Definition at line 248 of file B03RunAction.cc.

View newest version in sPHENIX GitHub at line 248 of file B03RunAction.cc

References test::fname, and k.

G4Run * B03RunAction::GenerateRun ( void  )
virtual

Reimplemented from G4UserRunAction.

Definition at line 71 of file B03RunAction.cc.

View newest version in sPHENIX GitHub at line 71 of file B03RunAction.cc

References fSDName.

void B03RunAction::PrintHeader ( std::ostream *  out)

Definition at line 213 of file B03RunAction.cc.

View newest version in sPHENIX GitHub at line 213 of file B03RunAction.cc

References fFieldValue, G4endl, and it.

Referenced by EndOfRunAction().

+ Here is the caller graph for this function:

Member Data Documentation

G4int B03RunAction::fFieldValue
private

Definition at line 71 of file B03RunAction.hh.

View newest version in sPHENIX GitHub at line 71 of file B03RunAction.hh

Referenced by EndOfRunAction(), and PrintHeader().

std::vector<G4String> B03RunAction::fSDName
private

Definition at line 69 of file B03RunAction.hh.

View newest version in sPHENIX GitHub at line 69 of file B03RunAction.hh

Referenced by B03RunAction(), EndOfRunAction(), GenerateRun(), and ~B03RunAction().


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