Geant4  10.00.p02
G4Run Class Reference

#include <G4Run.hh>

+ Inheritance diagram for G4Run:
+ Collaboration diagram for G4Run:

Public Member Functions

 G4Run ()
 
virtual ~G4Run ()
 
virtual void RecordEvent (const G4Event *)
 
virtual void Merge (const G4Run *)
 
G4int GetRunID () const
 
G4int GetNumberOfEvent () const
 
G4int GetNumberOfEventToBeProcessed () const
 
const G4HCtableGetHCtable () const
 
const G4DCtableGetDCtable () const
 
const G4StringGetRandomNumberStatus () const
 
void SetRunID (G4int id)
 
void SetNumberOfEventToBeProcessed (G4int n_ev)
 
void SetHCtable (G4HCtable *HCtbl)
 
void SetDCtable (G4DCtable *DCtbl)
 
void SetRandomNumberStatus (G4String &st)
 
void StoreEvent (G4Event *evt)
 
const std::vector< const
G4Event * > * 
GetEventVector () const
 

Protected Attributes

G4int runID
 
G4int numberOfEvent
 
G4int numberOfEventToBeProcessed
 
G4HCtableHCtable
 
G4DCtableDCtable
 
G4String randomNumberStatus
 
std::vector< const G4Event * > * eventVector
 

Private Member Functions

 G4Run (const G4Run &)
 
G4Runoperator= (const G4Run &)
 

Detailed Description

Definition at line 46 of file G4Run.hh.

Constructor & Destructor Documentation

G4Run::G4Run ( )

Definition at line 34 of file G4Run.cc.

References eventVector.

G4Run::~G4Run ( )
virtual

Definition at line 38 of file G4Run.cc.

References eventVector, G4RunManager::GetRunManager(), G4RunManager::GetRunManagerType(), and G4RunManager::masterRM.

+ Here is the call graph for this function:

G4Run::G4Run ( const G4Run )
inlineprivate

Definition at line 54 of file G4Run.hh.

Member Function Documentation

const G4DCtable* G4Run::GetDCtable ( ) const
inline

Definition at line 88 of file G4Run.hh.

References DCtable.

const std::vector<const G4Event*>* G4Run::GetEventVector ( ) const
inline

Definition at line 115 of file G4Run.hh.

References eventVector.

Referenced by G4VisManager::EndOfEvent(), G4VisManager::EndOfRun(), G4VisCommandSceneAddEventID::EventID::operator()(), G4VSceneHandler::ProcessScene(), G4VisCommandSceneEndOfEventAction::SetNewValue(), and G4VisCommandReviewKeptEvents::SetNewValue().

+ Here is the caller graph for this function:

const G4HCtable* G4Run::GetHCtable ( ) const
inline

Definition at line 85 of file G4Run.hh.

References HCtable.

G4int G4Run::GetNumberOfEventToBeProcessed ( ) const
inline

Definition at line 83 of file G4Run.hh.

References numberOfEventToBeProcessed.

Referenced by RMC01AnalysisManager::BeginOfRun(), RunAction::CreateFilePixels(), G4VisManager::EndOfEvent(), export_G4Run(), G4VisCommandSceneAddEventID::EventID::operator()(), and RunAction::PrintRunInfo().

+ Here is the caller graph for this function:

const G4String& G4Run::GetRandomNumberStatus ( ) const
inline

Definition at line 91 of file G4Run.hh.

References randomNumberStatus.

G4int G4Run::GetRunID ( ) const
inline

Definition at line 76 of file G4Run.hh.

References runID.

Referenced by CCalRunAction::BeginOfRunAction(), G4HumanPhantomRunAction::BeginOfRunAction(), ExGflashRunAction::BeginOfRunAction(), B3RunAction::BeginOfRunAction(), RE01RunAction::BeginOfRunAction(), eRositaRunAction::BeginOfRunAction(), OpNoviceRunAction::BeginOfRunAction(), exGPSRunAction::BeginOfRunAction(), exrdmRunAction::BeginOfRunAction(), FCALRunAction::BeginOfRunAction(), F04RunAction::BeginOfRunAction(), ExN02RunAction::BeginOfRunAction(), RE05RunAction::BeginOfRunAction(), F02RunAction::BeginOfRunAction(), F01RunAction::BeginOfRunAction(), F03RunAction::BeginOfRunAction(), DicomRunAction::BeginOfRunAction(), B1ConRunAction::BeginOfRunAction(), ExP01RunAction::BeginOfRunAction(), WLSRunAction::BeginOfRunAction(), PurgMagRunAction::BeginOfRunAction(), G03RunAction::BeginOfRunAction(), ExG4RunAction01::BeginOfRunAction(), GammaRayTelRunAction::BeginOfRunAction(), UltraRunAction::BeginOfRunAction(), Em10RunAction::BeginOfRunAction(), B02RunAction::BeginOfRunAction(), B01RunAction::BeginOfRunAction(), B03RunAction::BeginOfRunAction(), G02RunAction::BeginOfRunAction(), DMXRunAction::BeginOfRunAction(), B4bRunAction::BeginOfRunAction(), RMC01RunAction::BeginOfRunAction(), XrayTelRunAction::BeginOfRunAction(), RE02RunAction::BeginOfRunAction(), ExG4EventAction01::EndOfEventAction(), CCalRunAction::EndOfRunAction(), eRositaRunAction::EndOfRunAction(), DicomRunAction::EndOfRunAction(), ExG4RunAction01::EndOfRunAction(), UltraRunAction::EndOfRunAction(), GammaRayTelRunAction::EndOfRunAction(), export_G4Run(), G4WorkerRunManager::GenerateEvent(), G4RunManager::GenerateEvent(), G4VisCommandSceneAddEventID::EventID::operator()(), RunAction::PrintRunInfo(), G4RunManager::rndmSaveThisEvent(), G4RunManager::rndmSaveThisRun(), G4WorkerRunManager::RunInitialization(), G4RunManager::RunInitialization(), and WLSSteppingAction::saveRandomStatus().

void G4Run::Merge ( const G4Run right)
virtual

Reimplemented in Run, RE02Run, B01Run, B02Run, B03Run, DicomRun, Run, Run, Run, Run, G4RTRun, ElectronRun, B1Run, B3Run, B1ConRun, B1Run, and RE06Run.

Definition at line 54 of file G4Run.cc.

References eventVector, and numberOfEvent.

Referenced by B1Run::Merge(), B3Run::Merge(), RE06Run::Merge(), ElectronRun::Merge(), G4RTRun::Merge(), Run::Merge(), B03Run::Merge(), B02Run::Merge(), B01Run::Merge(), DicomRun::Merge(), RE02Run::Merge(), and G4MTRunManager::MergeRun().

+ Here is the caller graph for this function:

G4Run& G4Run::operator= ( const G4Run )
inlineprivate

Definition at line 55 of file G4Run.hh.

void G4Run::RecordEvent ( const G4Event )
virtual

Reimplemented in RE02Run, DicomRun, B01Run, B02Run, B03Run, G4RTRun, ElectronRun, B3Run, and RE06Run.

Definition at line 51 of file G4Run.cc.

References numberOfEvent.

Referenced by G4RunManager::AnalyzeEvent(), B3Run::RecordEvent(), ElectronRun::RecordEvent(), and DicomRun::RecordEvent().

+ Here is the caller graph for this function:

void G4Run::SetDCtable ( G4DCtable DCtbl)
inline

Definition at line 101 of file G4Run.hh.

Referenced by G4WorkerRunManager::RunInitialization(), and G4RunManager::RunInitialization().

+ Here is the caller graph for this function:

void G4Run::SetHCtable ( G4HCtable HCtbl)
inline

Definition at line 99 of file G4Run.hh.

Referenced by G4WorkerRunManager::RunInitialization(), and G4RunManager::RunInitialization().

+ Here is the caller graph for this function:

void G4Run::SetNumberOfEventToBeProcessed ( G4int  n_ev)
inline

Definition at line 97 of file G4Run.hh.

Referenced by export_G4Run(), G4WorkerRunManager::RunInitialization(), and G4RunManager::RunInitialization().

+ Here is the caller graph for this function:

void G4Run::SetRandomNumberStatus ( G4String st)
inline

Definition at line 103 of file G4Run.hh.

Referenced by G4WorkerRunManager::RunInitialization(), and G4RunManager::RunInitialization().

+ Here is the caller graph for this function:

void G4Run::SetRunID ( G4int  id)
inline

Definition at line 95 of file G4Run.hh.

Referenced by export_G4Run(), G4WorkerRunManager::RunInitialization(), and G4RunManager::RunInitialization().

+ Here is the caller graph for this function:

void G4Run::StoreEvent ( G4Event evt)

Definition at line 62 of file G4Run.cc.

References eventVector.

Referenced by G4RunManager::StackPreviousEvent().

+ Here is the caller graph for this function:

Member Data Documentation

G4DCtable* G4Run::DCtable
protected

Definition at line 62 of file G4Run.hh.

Referenced by GetDCtable().

std::vector<const G4Event*>* G4Run::eventVector
protected

Definition at line 64 of file G4Run.hh.

Referenced by G4Run(), GetEventVector(), Merge(), StoreEvent(), and ~G4Run().

G4HCtable* G4Run::HCtable
protected

Definition at line 61 of file G4Run.hh.

Referenced by GetHCtable().

G4int G4Run::numberOfEventToBeProcessed
protected

Definition at line 60 of file G4Run.hh.

Referenced by GetNumberOfEventToBeProcessed().

G4String G4Run::randomNumberStatus
protected

Definition at line 63 of file G4Run.hh.

Referenced by GetRandomNumberStatus().

G4int G4Run::runID
protected

Definition at line 58 of file G4Run.hh.

Referenced by GetRunID().


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