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

#include <geant4/tree/geant4-10.6-release/examples/advanced/hadrontherapy/include/HadrontherapyRunAction.hh>

+ Inheritance diagram for HadrontherapyRunAction:
+ Collaboration diagram for HadrontherapyRunAction:

Public Member Functions

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

Private Attributes

G4int electromagnetic
 
G4int hadronic
 
HadrontherapyRBEAccumulable fRBEAccumulable
 

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Definition at line 44 of file HadrontherapyRunAction.hh.

View newest version in sPHENIX GitHub at line 44 of file HadrontherapyRunAction.hh

Constructor & Destructor Documentation

HadrontherapyRunAction::HadrontherapyRunAction ( )

Definition at line 48 of file HadrontherapyRunAction.cc.

View newest version in sPHENIX GitHub at line 48 of file HadrontherapyRunAction.cc

References fRBEAccumulable, G4cout, G4endl, G4AccumulableManager::Instance(), G4ToolsAnalysisManager::Instance(), MeV, and G4AccumulableManager::RegisterAccumulable().

+ Here is the call graph for this function:

HadrontherapyRunAction::~HadrontherapyRunAction ( )

Definition at line 78 of file HadrontherapyRunAction.cc.

View newest version in sPHENIX GitHub at line 78 of file HadrontherapyRunAction.cc

References G4ToolsAnalysisManager::Instance().

+ Here is the call graph for this function:

Member Function Documentation

void HadrontherapyRunAction::AddEMProcess ( )

Definition at line 152 of file HadrontherapyRunAction.cc.

View newest version in sPHENIX GitHub at line 152 of file HadrontherapyRunAction.cc

References electromagnetic.

void HadrontherapyRunAction::AddHadronicProcess ( )

Definition at line 158 of file HadrontherapyRunAction.cc.

View newest version in sPHENIX GitHub at line 158 of file HadrontherapyRunAction.cc

References hadronic.

void HadrontherapyRunAction::BeginOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 84 of file HadrontherapyRunAction.cc.

View newest version in sPHENIX GitHub at line 84 of file HadrontherapyRunAction.cc

References electromagnetic, G4cout, G4endl, HadrontherapyRBE::GetInstance(), G4RunManager::GetRunManager(), HadrontherapyRBE::GetVerboseLevel(), hadronic, G4AccumulableManager::Instance(), G4ToolsAnalysisManager::Instance(), HadrontherapyRBE::IsCalculationEnabled(), G4UserRunAction::IsMaster(), HadrontherapyRBE::PrintParameters(), and G4AccumulableManager::Reset().

+ Here is the call graph for this function:

void HadrontherapyRunAction::SelectEnergy ( G4int  )

Member Data Documentation

G4int HadrontherapyRunAction::electromagnetic
private

Definition at line 64 of file HadrontherapyRunAction.hh.

View newest version in sPHENIX GitHub at line 64 of file HadrontherapyRunAction.hh

Referenced by AddEMProcess(), and BeginOfRunAction().

HadrontherapyRBEAccumulable HadrontherapyRunAction::fRBEAccumulable
private

Definition at line 67 of file HadrontherapyRunAction.hh.

View newest version in sPHENIX GitHub at line 67 of file HadrontherapyRunAction.hh

Referenced by EndOfRunAction(), and HadrontherapyRunAction().

G4int HadrontherapyRunAction::hadronic
private

Definition at line 65 of file HadrontherapyRunAction.hh.

View newest version in sPHENIX GitHub at line 65 of file HadrontherapyRunAction.hh

Referenced by AddHadronicProcess(), and BeginOfRunAction().


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