Geant4  10.01.p01
B3Run Class Reference

Run class. More...

#include <B3Run.hh>

+ Inheritance diagram for B3Run:
+ Collaboration diagram for B3Run:

Public Member Functions

 B3Run ()
 
virtual ~B3Run ()
 
virtual void RecordEvent (const G4Event *)
 
virtual void Merge (const G4Run *)
 
G4int GetNbGoodEvents () const
 
G4double GetSumDose () const
 
- 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

G4int fCollID_cryst
 
G4int fCollID_patient
 
G4int fPrintModulo
 
G4int fGoodEvents
 
G4double fSumDose
 

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

Run class.

In RecordEvent() there is collected information event per event from Hits Collections, and accumulated statistic for the run

Definition at line 42 of file B3Run.hh.

Constructor & Destructor Documentation

B3Run::B3Run ( )

Definition at line 43 of file B3Run.cc.

B3Run::~B3Run ( )
virtual

Definition at line 55 of file B3Run.cc.

Member Function Documentation

G4int B3Run::GetNbGoodEvents ( ) const
inline

Definition at line 52 of file B3Run.hh.

References fGoodEvents.

Referenced by B3RunAction::EndOfRunAction().

+ Here is the caller graph for this function:

G4double B3Run::GetSumDose ( ) const
inline

Definition at line 53 of file B3Run.hh.

References fSumDose.

Referenced by B3RunAction::EndOfRunAction().

+ Here is the caller graph for this function:

void B3Run::Merge ( const G4Run aRun)
virtual

Reimplemented from G4Run.

Definition at line 119 of file B3Run.cc.

References fGoodEvents, fSumDose, and G4Run::Merge().

+ Here is the call graph for this function:

void B3Run::RecordEvent ( const G4Event event)
virtual

G4int copyNb = (itr->first); G4cout << G4endl << " cryst" << copyNb << ": " << edep/keV << " keV ";

G4int copyNb = (itr->first);

Reimplemented from G4Run.

Definition at line 60 of file B3Run.cc.

References fCollID_cryst, fCollID_patient, fGoodEvents, fPrintModulo, fSumDose, G4cout, G4endl, G4SDManager::GetCollectionID(), G4HCofThisEvent::GetHC(), G4THitsMap< T >::GetMap(), G4SDManager::GetSDMpointer(), keV, and G4Run::RecordEvent().

+ Here is the call graph for this function:

Member Data Documentation

G4int B3Run::fCollID_cryst
private

Definition at line 56 of file B3Run.hh.

Referenced by RecordEvent().

G4int B3Run::fCollID_patient
private

Definition at line 57 of file B3Run.hh.

Referenced by RecordEvent().

G4int B3Run::fGoodEvents
private

Definition at line 59 of file B3Run.hh.

Referenced by GetNbGoodEvents(), Merge(), and RecordEvent().

G4int B3Run::fPrintModulo
private

Definition at line 58 of file B3Run.hh.

Referenced by RecordEvent().

G4double B3Run::fSumDose
private

Definition at line 60 of file B3Run.hh.

Referenced by GetSumDose(), Merge(), and RecordEvent().


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