Geant4  10.02.p03
test.MyRunAction Class Reference
Inheritance diagram for test.MyRunAction:
Collaboration diagram for test.MyRunAction:

Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Definition at line 23 of file examples/demos/water_phantom/test.py.

Member Function Documentation

◆ BeginOfRunAction() [1/2]

def test.MyRunAction.BeginOfRunAction (   self,
  run 
)

Definition at line 32 of file tests/gtest01/python3/test.py.

32  def BeginOfRunAction(self, run):
33  print("*** #event to be processed (BRA)=",
34  run.GetNumberOfEventToBeProcessed())
35 
void print(G4double elem)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ BeginOfRunAction() [2/2]

def test.MyRunAction.BeginOfRunAction (   self,
  run 
)

Definition at line 33 of file tests/gtest01/test.py.

33  def BeginOfRunAction(self, run):
34  print "*** #event to be processed (BRA)=",
35  run.GetNumberOfEventToBeProcessed()
36 
Here is the call graph for this function:

◆ EndOfRunAction() [1/3]

def test.MyRunAction.EndOfRunAction (   self,
  run 
)

Definition at line 26 of file examples/demos/water_phantom/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 # ------------------------------------------------------------------
Here is the caller graph for this function:

◆ EndOfRunAction() [2/3]

def test.MyRunAction.EndOfRunAction (   self,
  run 
)

Definition at line 36 of file tests/gtest01/python3/test.py.

36  def EndOfRunAction(self, run):
37  print("*** run end run(ERA)=", run.GetRunID())
38 
39 # ------------------------------------------------------------------
void print(G4double elem)
Here is the call graph for this function:

◆ EndOfRunAction() [3/3]

def test.MyRunAction.EndOfRunAction (   self,
  run 
)

Definition at line 37 of file tests/gtest01/test.py.

37  def EndOfRunAction(self, run):
38  print "*** run end run(ERA)=", run.GetRunID()
39 
40 # ------------------------------------------------------------------
Here is the call graph for this function:

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