Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
B1ConRun Class Reference

#include <B1ConRun.hh>

Inheritance diagram for B1ConRun:
Collaboration diagram for B1ConRun:

Public Member Functions

 B1ConRun ()
 
virtual ~B1ConRun ()
 
virtual void Merge (const G4Run *)
 
virtual void AddEdep (G4double edep)
 
G4int GetNumberOfEvent () const
 
G4double GetEdepPerEvent (G4int i) const
 
- Public Member Functions inherited from B1Run
 B1Run ()
 
virtual ~B1Run ()
 
G4double GetEdep () const
 
G4double GetEdep2 () const
 
 B1Run ()
 
virtual ~B1Run ()
 
void AddEdep (G4double edep)
 
G4double GetEdep () const
 
G4double GetEdep2 () const
 
- Public Member Functions inherited from G4Run
 G4Run ()
 
virtual ~G4Run ()
 
virtual void RecordEvent (const G4Event *)
 
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
 

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 which extends B1Run

Definition at line 42 of file B1ConRun.hh.

Constructor & Destructor Documentation

B1ConRun::B1ConRun ( )

Definition at line 35 of file B1ConRun.cc.

36 : B1Run(),
37  fEdepEventVector()
38 {}
B1Run()
Definition: B1Run.cc:35
B1ConRun::~B1ConRun ( )
virtual

Definition at line 42 of file B1ConRun.cc.

43 {}

Member Function Documentation

void B1ConRun::AddEdep ( G4double  edep)
virtual

Reimplemented from B1Run.

Definition at line 60 of file B1ConRun.cc.

61 {
62  // Update data in base class
63  B1Run::AddEdep(edep);
64 
65  fEdepEventVector.push_back(edep);
66 }
virtual void AddEdep(G4double edep)
Definition: B1Run.cc:59

Here is the call graph for this function:

G4double B1ConRun::GetEdepPerEvent ( G4int  i) const
inline

Definition at line 54 of file B1ConRun.hh.

54 { return fEdepEventVector[i]; }

Here is the caller graph for this function:

G4int B1ConRun::GetNumberOfEvent ( ) const
inline

Definition at line 53 of file B1ConRun.hh.

53 { return (G4int)fEdepEventVector.size(); }
int G4int
Definition: G4Types.hh:78

Here is the caller graph for this function:

void B1ConRun::Merge ( const G4Run aRun)
virtual

Reimplemented from B1Run.

Definition at line 47 of file B1ConRun.cc.

48 {
49  // Merge data in base class
50  B1Run::Merge(aRun);
51 
52  const B1ConRun* localRun = static_cast<const B1ConRun*>(aRun);
53  for ( size_t i = 0 ; i != localRun->fEdepEventVector.size() ; i++ ) {
54  fEdepEventVector.push_back( localRun->fEdepEventVector[i] );
55  }
56 }
virtual void Merge(const G4Run *)
Definition: B1Run.cc:48

Here is the call graph for this function:


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