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

#include <B1Run.hh>

Inheritance diagram for B1Run:
Collaboration diagram for B1Run:

Public Member Functions

 B1Run ()
 
virtual ~B1Run ()
 
virtual void Merge (const G4Run *)
 
virtual void AddEdep (G4double edep)
 
G4double GetEdep () const
 
G4double GetEdep2 () const
 
 B1Run ()
 
virtual ~B1Run ()
 
virtual void Merge (const G4Run *)
 
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

Definition at line 42 of file B1Run.hh.

Constructor & Destructor Documentation

B1Run::B1Run ( )

Definition at line 35 of file B1Run.cc.

36 : G4Run(),
37  fEdep(0.),
38  fEdep2(0.)
39 {}
G4Run()
Definition: G4Run.cc:34
B1Run::~B1Run ( )
virtual

Definition at line 43 of file B1Run.cc.

44 {}
B1Run::B1Run ( )
virtual B1Run::~B1Run ( )
virtual

Member Function Documentation

void B1Run::AddEdep ( G4double  edep)
virtual

Reimplemented in B1ConRun.

Definition at line 59 of file B1Run.cc.

60 {
61  fEdep += edep;
62  fEdep2 += edep*edep;
63 }

Here is the caller graph for this function:

void B1Run::AddEdep ( G4double  edep)
G4double B1Run::GetEdep ( ) const
inline

Definition at line 54 of file B1Run.hh.

54 { return fEdep; }
G4double B1Run::GetEdep ( ) const
inline

Definition at line 54 of file B1Run.hh.

54 { return fEdep; }

Here is the caller graph for this function:

G4double B1Run::GetEdep2 ( ) const
inline

Definition at line 55 of file B1Run.hh.

55 { return fEdep2; }

Here is the caller graph for this function:

G4double B1Run::GetEdep2 ( ) const
inline

Definition at line 55 of file B1Run.hh.

55 { return fEdep2; }
void B1Run::Merge ( const G4Run run)
virtual

Reimplemented from G4Run.

Reimplemented in B1ConRun.

Definition at line 48 of file B1Run.cc.

49 {
50  const B1Run* localRun = static_cast<const B1Run*>(run);
51  fEdep += localRun->fEdep;
52  fEdep2 += localRun->fEdep2;
53 
54  G4Run::Merge(run);
55 }
virtual void Merge(const G4Run *)
Definition: G4Run.cc:54
Definition: B1Run.hh:42

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void B1Run::Merge ( const G4Run )
virtual

Reimplemented from G4Run.

Reimplemented in B1ConRun.


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