Geant4-11
Public Member Functions | Protected Attributes
test.MyRunAction Class Reference
Inheritance diagram for test.MyRunAction:
G4UserRunAction G4UserRunAction

Public Member Functions

virtual void BeginOfRunAction (const G4Run *aRun)
 
def BeginOfRunAction (self, run)
 
virtual void EndOfRunAction (const G4Run *aRun)
 
def EndOfRunAction (self, run)
 
def EndOfRunAction (self, run)
 
virtual G4RunGenerateRun ()
 
G4bool IsMaster () const
 
virtual void SetMaster (G4bool val=true)
 

Protected Attributes

G4bool isMaster = true
 

Detailed Description

Definition at line 23 of file test.py.

Member Function Documentation

◆ BeginOfRunAction() [1/2]

void G4UserRunAction::BeginOfRunAction ( const G4Run aRun)
virtualinherited

◆ BeginOfRunAction() [2/2]

def test.MyRunAction.BeginOfRunAction (   self,
  run 
)

Definition at line 32 of file test.py.

32 def BeginOfRunAction(self, run):
33 print("*** #event to be processed (BRA)=",
34 run.GetNumberOfEventToBeProcessed())
35
void print(G4double elem)

References print().

◆ EndOfRunAction() [1/3]

void G4UserRunAction::EndOfRunAction ( const G4Run aRun)
virtualinherited

◆ EndOfRunAction() [2/3]

def test.MyRunAction.EndOfRunAction (   self,
  run 
)

Definition at line 26 of file test.py.

26 def EndOfRunAction(self, run):
27 print "*** End of Run"
28 print "- Run sammary : (id= %d, #events= %d)" \
29 % (run.GetRunID(), run.GetNumberOfEventToBeProcessed())
30
31# ------------------------------------------------------------------

◆ EndOfRunAction() [3/3]

def test.MyRunAction.EndOfRunAction (   self,
  run 
)

Definition at line 36 of file test.py.

36 def EndOfRunAction(self, run):
37 print("*** run end run(ERA)=", run.GetRunID())
38
39# ------------------------------------------------------------------

References print().

◆ GenerateRun()

G4Run * G4UserRunAction::GenerateRun ( )
virtualinherited

◆ IsMaster()

G4bool G4UserRunAction::IsMaster ( ) const
inlineinherited

Definition at line 64 of file G4UserRunAction.hh.

64{ return isMaster; }

References G4UserRunAction::isMaster.

◆ SetMaster()

virtual void G4UserRunAction::SetMaster ( G4bool  val = true)
inlinevirtualinherited

Field Documentation

◆ isMaster

G4bool G4UserRunAction::isMaster = true
protectedinherited

Definition at line 68 of file G4UserRunAction.hh.

Referenced by G4UserRunAction::IsMaster(), and G4UserRunAction::SetMaster().


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