Geant4  10.02
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 42 of file HadrontherapyRunAction.hh.

Constructor & Destructor Documentation

HadrontherapyRunAction::HadrontherapyRunAction ( )

Definition at line 46 of file HadrontherapyRunAction.cc.

HadrontherapyRunAction::~HadrontherapyRunAction ( )

Definition at line 50 of file HadrontherapyRunAction.cc.

Member Function Documentation

void HadrontherapyRunAction::AddEMProcess ( )

Definition at line 71 of file HadrontherapyRunAction.cc.

References electromagnetic.

void HadrontherapyRunAction::AddHadronicProcess ( )

Definition at line 75 of file HadrontherapyRunAction.cc.

References hadronic.

void HadrontherapyRunAction::BeginOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 54 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 63 of file HadrontherapyRunAction.cc.

void HadrontherapyRunAction::SelectEnergy ( G4int  )

Member Data Documentation

G4int HadrontherapyRunAction::electromagnetic
private

Definition at line 62 of file HadrontherapyRunAction.hh.

Referenced by AddEMProcess(), and BeginOfRunAction().

G4int HadrontherapyRunAction::hadronic
private

Definition at line 63 of file HadrontherapyRunAction.hh.

Referenced by AddHadronicProcess(), and BeginOfRunAction().


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