Geant4  10.00.p02
HadrontherapyRunAction Class Reference

#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 ()
 
void SetMaster (G4bool val=true)
 
G4bool IsMaster () const
 

Private Attributes

G4int electromagnetic
 
G4int hadronic
 

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Definition at line 48 of file HadrontherapyRunAction.hh.

Constructor & Destructor Documentation

HadrontherapyRunAction::HadrontherapyRunAction ( )

Definition at line 53 of file HadrontherapyRunAction.cc.

HadrontherapyRunAction::~HadrontherapyRunAction ( )

Definition at line 57 of file HadrontherapyRunAction.cc.

Member Function Documentation

void HadrontherapyRunAction::AddEMProcess ( )

Definition at line 78 of file HadrontherapyRunAction.cc.

References electromagnetic.

void HadrontherapyRunAction::AddHadronicProcess ( )

Definition at line 82 of file HadrontherapyRunAction.cc.

References hadronic.

void HadrontherapyRunAction::BeginOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 61 of file HadrontherapyRunAction.cc.

References electromagnetic, G4cout, G4endl, G4RunManager::GetRunManager(), and hadronic.

+ Here is the call graph for this function:

void HadrontherapyRunAction::EndOfRunAction ( const G4Run )
virtual

Reimplemented from G4UserRunAction.

Definition at line 70 of file HadrontherapyRunAction.cc.

void HadrontherapyRunAction::SelectEnergy ( G4int  )

Member Data Documentation

G4int HadrontherapyRunAction::electromagnetic
private

Definition at line 68 of file HadrontherapyRunAction.hh.

Referenced by AddEMProcess(), and BeginOfRunAction().

G4int HadrontherapyRunAction::hadronic
private

Definition at line 69 of file HadrontherapyRunAction.hh.

Referenced by AddHadronicProcess(), and BeginOfRunAction().


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