Geant4  10.02.p01
TSRunAction Class Reference

#include <TSRunAction.hh>

+ Inheritance diagram for TSRunAction:
+ Collaboration diagram for TSRunAction:

Public Types

typedef std::tuple< G4double,
G4double, G4double
Compare_t
 
typedef std::map< G4int,
Compare_t
IDcompare_t
 
typedef std::map< G4String,
IDcompare_t
TypeCompare_t
 

Public Member Functions

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

Private Attributes

TSDetectorConstructionfDetector
 
G4String fName
 
TypeCompare_t fTypeCompare
 

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Definition at line 52 of file TSRunAction.hh.

Member Typedef Documentation

Definition at line 55 of file TSRunAction.hh.

Definition at line 56 of file TSRunAction.hh.

Definition at line 57 of file TSRunAction.hh.

Constructor & Destructor Documentation

TSRunAction::TSRunAction ( )

Definition at line 51 of file TSRunAction.cc.

TSRunAction::~TSRunAction ( )
virtual

Definition at line 58 of file TSRunAction.cc.

Member Function Documentation

void TSRunAction::BeginOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 70 of file TSRunAction.cc.

References G4Run::GetNumberOfEventToBeProcessed(), G4RunManager::GetRunManager(), and G4RunManager::SetPrintProgress().

+ Here is the call graph for this function:

void TSRunAction::EndOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 80 of file TSRunAction.cc.

References eV, fName, fTypeCompare, G4cout, G4endl, G4Exception(), TSRun::GetAtomicHitsMap(), TSRun::GetHitsMap(), G4THitsMap< T >::GetMap(), TSRun::GetMutexHitsMap(), G4Run::GetNumberOfEvent(), G4UserRunAction::IsMaster(), JustWarning, keV, print(), and second.

+ Here is the call graph for this function:

G4Run * TSRunAction::GenerateRun ( void  )
virtual

Reimplemented from G4UserRunAction.

Definition at line 63 of file TSRunAction.cc.

References fName.

Member Data Documentation

TSDetectorConstruction* TSRunAction::fDetector
private

Definition at line 69 of file TSRunAction.hh.

G4String TSRunAction::fName
private

Definition at line 70 of file TSRunAction.hh.

Referenced by EndOfRunAction(), and GenerateRun().

TypeCompare_t TSRunAction::fTypeCompare
private

Definition at line 71 of file TSRunAction.hh.

Referenced by EndOfRunAction().


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