Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
test.MyRunAction Class Reference
Inheritance diagram for test.MyRunAction:
G4UserRunAction G4UserRunAction G4UserRunAction

Public Member Functions

def EndOfRunAction
 
def BeginOfRunAction
 
def EndOfRunAction
 
def BeginOfRunAction
 
def EndOfRunAction
 
- 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

def test.MyRunAction.BeginOfRunAction (   self,
  run 
)

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

References print().

Referenced by test.MyRunAction.BeginOfRunAction().

32 
33  def BeginOfRunAction(self, run):
34  print("*** #event to be processed (BRA)=",
35  run.GetNumberOfEventToBeProcessed())
void print(const std::vector< T > &data)
Definition: DicomRun.hh:111
def test.MyRunAction.BeginOfRunAction (   self,
  run 
)

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

References test.MyRunAction.BeginOfRunAction().

33 
34  def BeginOfRunAction(self, run):
35  print "*** #event to be processed (BRA)=",
36  run.GetNumberOfEventToBeProcessed()
def test.MyRunAction.EndOfRunAction (   self,
  run 
)

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

Referenced by test.MyRunAction.EndOfRunAction().

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

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

References test.MyRunAction.EndOfRunAction(), and print().

36 
37  def EndOfRunAction(self, run):
38  print("*** run end run(ERA)=", run.GetRunID())
39 
# ------------------------------------------------------------------
void print(const std::vector< T > &data)
Definition: DicomRun.hh:111
def test.MyRunAction.EndOfRunAction (   self,
  run 
)

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

References test.MyRunAction.EndOfRunAction().

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

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