Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4RTRunAction Class Reference

#include <G4RTRunAction.hh>

+ Inheritance diagram for G4RTRunAction:

Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Definition at line 43 of file G4RTRunAction.hh.

Constructor & Destructor Documentation

◆ G4RTRunAction()

G4RTRunAction::G4RTRunAction ( )

Definition at line 39 of file G4RTRunAction.cc.

39{;}

◆ ~G4RTRunAction()

G4RTRunAction::~G4RTRunAction ( )
virtual

Definition at line 40 of file G4RTRunAction.cc.

40{;}

Member Function Documentation

◆ BeginOfRunAction()

void G4RTRunAction::BeginOfRunAction ( const G4Run )
virtual

Reimplemented from G4UserRunAction.

Definition at line 45 of file G4RTRunAction.cc.

46{
48 if(theSDMan) theSDMan->Activate("/",false);
49}
void Activate(G4String dName, G4bool activeFlag)
Definition: G4SDManager.cc:121
static G4SDManager * GetSDMpointerIfExist()
Definition: G4SDManager.cc:48

◆ EndOfRunAction()

void G4RTRunAction::EndOfRunAction ( const G4Run )
virtual

Reimplemented from G4UserRunAction.

Definition at line 51 of file G4RTRunAction.cc.

52{
54 if(theSDMan) theSDMan->Activate("/",true);
55}

◆ GenerateRun()

G4Run * G4RTRunAction::GenerateRun ( )
virtual

Reimplemented from G4UserRunAction.

Definition at line 42 of file G4RTRunAction.cc.

43{ return new G4RTRun; }

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