Geant4  10.01.p02
B03Run Class Reference

#include <B03Run.hh>

+ Inheritance diagram for B03Run:
+ Collaboration diagram for B03Run:

Public Member Functions

 B03Run (const std::vector< G4String > mfdName)
 
virtual ~B03Run ()
 
virtual void RecordEvent (const G4Event *)
 
G4int GetNumberOfHitsMap () const
 
G4THitsMap< G4double > * GetHitsMap (G4int i)
 
G4THitsMap< G4double > * GetHitsMap (const G4String &detName, const G4String &colName)
 
G4THitsMap< G4double > * GetHitsMap (const G4String &fullName)
 
void DumpAllScorer ()
 
virtual void Merge (const G4Run *)
 
- Public Member Functions inherited from G4Run
 G4Run ()
 
virtual ~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
 

Private Attributes

std::vector< G4StringfCollName
 
std::vector< G4intfCollID
 
std::vector< G4THitsMap
< G4double > * > 
fRunMap
 

Additional Inherited Members

- Protected Attributes inherited from G4Run
G4int runID
 
G4int numberOfEvent
 
G4int numberOfEventToBeProcessed
 
G4HCtableHCtable
 
G4DCtableDCtable
 
G4String randomNumberStatus
 
std::vector< const G4Event * > * eventVector
 

Detailed Description

Definition at line 50 of file B03Run.hh.

Constructor & Destructor Documentation

B03Run::B03Run ( const std::vector< G4String mfdName)

Definition at line 70 of file B03Run.cc.

References fCollID, fCollName, G4SDManager::FindSensitiveDetector(), fRunMap, G4cout, G4endl, G4SDManager::GetCollectionID(), G4VPrimitiveScorer::GetName(), G4MultiFunctionalDetector::GetNumberOfPrimitives(), G4MultiFunctionalDetector::GetPrimitive(), and G4SDManager::GetSDMpointer().

+ Here is the call graph for this function:

B03Run::~B03Run ( )
virtual

Definition at line 118 of file B03Run.cc.

References fCollID, fCollName, and fRunMap.

Member Function Documentation

void B03Run::DumpAllScorer ( )

Definition at line 199 of file B03Run.cc.

References G4THitsMap< T >::entries(), G4cout, G4endl, GetHitsMap(), G4THitsMap< T >::GetMap(), G4VHitsCollection::GetName(), GetNumberOfHitsMap(), G4VHitsCollection::GetSDname(), and n.

+ Here is the call graph for this function:

G4THitsMap<G4double>* B03Run::GetHitsMap ( G4int  i)
inline

Definition at line 70 of file B03Run.hh.

References fRunMap.

Referenced by DumpAllScorer(), B03RunAction::EndOfRunAction(), and GetHitsMap().

+ Here is the caller graph for this function:

G4THitsMap< G4double > * B03Run::GetHitsMap ( const G4String detName,
const G4String colName 
)

Definition at line 172 of file B03Run.cc.

References G4cout, G4endl, and GetHitsMap().

+ Here is the call graph for this function:

G4THitsMap< G4double > * B03Run::GetHitsMap ( const G4String fullName)

Definition at line 184 of file B03Run.cc.

References fCollName, fRunMap, G4cout, and G4endl.

G4int B03Run::GetNumberOfHitsMap ( ) const
inline

Definition at line 66 of file B03Run.hh.

References fRunMap.

Referenced by DumpAllScorer().

+ Here is the caller graph for this function:

void B03Run::Merge ( const G4Run aRun)
virtual

Reimplemented from G4Run.

Definition at line 222 of file B03Run.cc.

References fCollID, fRunMap, and G4Run::Merge().

+ Here is the call graph for this function:

void B03Run::RecordEvent ( const G4Event aEvent)
virtual

Reimplemented from G4Run.

Definition at line 135 of file B03Run.cc.

References fCollID, fRunMap, G4cout, G4endl, G4HCofThisEvent::GetHC(), G4Event::GetHCofThisEvent(), and G4Run::numberOfEvent.

+ Here is the call graph for this function:

Member Data Documentation

std::vector<G4int> B03Run::fCollID
private

Definition at line 82 of file B03Run.hh.

Referenced by B03Run(), Merge(), RecordEvent(), and ~B03Run().

std::vector<G4String> B03Run::fCollName
private

Definition at line 81 of file B03Run.hh.

Referenced by B03Run(), GetHitsMap(), and ~B03Run().

std::vector<G4THitsMap<G4double>*> B03Run::fRunMap
private

Definition at line 83 of file B03Run.hh.

Referenced by B03Run(), GetHitsMap(), GetNumberOfHitsMap(), Merge(), RecordEvent(), and ~B03Run().


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