Geant4  10.01.p02
ElectronRun Class Reference

#include <ElectronRun.hh>

+ Inheritance diagram for ElectronRun:
+ Collaboration diagram for ElectronRun:

Public Member Functions

 ElectronRun ()
 
virtual ~ElectronRun ()
 
virtual void RecordEvent (const G4Event *)
 
virtual void Merge (const G4Run *)
 
void DumpData (G4String &) const
 
- Public Member Functions inherited from G4Run
 G4Run ()
 
virtual ~G4Run ()
 
G4int GetRunID () const
 
G4int GetNumberOfEvent () const
 
G4int GetNumberOfEventToBeProcessed () const
 
const G4HCtable * GetHCtable () const
 
const G4DCtable * GetDCtable () const
 
const G4String & GetRandomNumberStatus () 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
 

Private Member Functions

void Print (const std::vector< G4String > &title, const std::map< G4int, std::vector< G4double > > &out, G4String &) const
 

Private Attributes

std::map< G4int, G4THitsMap
< G4double > * > 
fMap
 

Additional Inherited Members

- Protected Attributes inherited from G4Run
G4int runID
 
G4int numberOfEvent
 
G4int numberOfEventToBeProcessed
 
G4HCtable * HCtable
 
G4DCtable * DCtable
 
G4String randomNumberStatus
 
std::vector< const G4Event * > * eventVector
 

Detailed Description

Definition at line 43 of file ElectronRun.hh.

Constructor & Destructor Documentation

ElectronRun::ElectronRun ( )

Definition at line 40 of file ElectronRun.cc.

References fMap.

ElectronRun::~ElectronRun ( )
virtual

Definition at line 51 of file ElectronRun.cc.

References fMap.

Member Function Documentation

void ElectronRun::DumpData ( G4String &  outputFileSpec) const

Definition at line 95 of file ElectronRun.cc.

References fMap, G4THitsMap< T >::GetMap(), G4VHitsCollection::GetName(), and Print().

Referenced by ElectronRunAction::EndOfRunAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ElectronRun::Merge ( const G4Run *  aRun)
virtual

Reimplemented from G4Run.

Definition at line 198 of file ElectronRun.cc.

References fMap, and G4Run::Merge().

+ Here is the call graph for this function:

void ElectronRun::Print ( const std::vector< G4String > &  title,
const std::map< G4int, std::vector< G4double > > &  out,
G4String &  outputFileSpec 
) const
private

Definition at line 144 of file ElectronRun.cc.

References G4cout, G4endl, and mm.

Referenced by DumpData().

+ Here is the caller graph for this function:

void ElectronRun::RecordEvent ( const G4Event *  anEvent)
virtual

Reimplemented from G4Run.

Definition at line 64 of file ElectronRun.cc.

References fMap, G4HCofThisEvent::GetHC(), G4Event::GetHCofThisEvent(), and G4Run::RecordEvent().

+ Here is the call graph for this function:

Member Data Documentation

std::map<G4int, G4THitsMap<G4double>* > ElectronRun::fMap
private

Definition at line 58 of file ElectronRun.hh.

Referenced by DumpData(), ElectronRun(), Merge(), RecordEvent(), and ~ElectronRun().


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