Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
B1Run Class Reference

#include <B1Run.hh>

Inheritance diagram for B1Run:
G4Run G4Run B1ConRun

Public Member Functions

 B1Run ()
 
virtual ~B1Run ()
 
virtual void Merge (const G4Run *)
 
void AddEdep (G4double edep)
 
G4double GetEdep () const
 
G4double GetEdep2 () const
 
 B1Run ()
 
virtual ~B1Run ()
 
virtual void Merge (const G4Run *)
 
virtual 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 basic/B1/include/B1Run.hh.

Constructor & Destructor Documentation

B1Run::B1Run ( )

Definition at line 35 of file basic/B1/src/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 basic/B1/src/B1Run.cc.

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

Member Function Documentation

void B1Run::AddEdep ( G4double  edep)

Definition at line 59 of file basic/B1/src/B1Run.cc.

Referenced by B1ConRun::AddEdep(), and B1EventAction::EndOfEventAction().

60 {
61  fEdep += edep;
62  fEdep2 += edep*edep;
63 }
virtual void B1Run::AddEdep ( G4double  edep)
virtual

Reimplemented in B1ConRun.

G4double B1Run::GetEdep ( ) const
inline

Definition at line 54 of file extended/analysis/B1Con/include/B1Run.hh.

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

Definition at line 54 of file basic/B1/include/B1Run.hh.

Referenced by B1RunAction::EndOfRunAction(), and B1ConRunAction::EndOfRunAction().

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

Definition at line 55 of file basic/B1/include/B1Run.hh.

Referenced by B1RunAction::EndOfRunAction(), and B1ConRunAction::EndOfRunAction().

55 { return fEdep2; }
G4double B1Run::GetEdep2 ( ) const
inline

Definition at line 55 of file extended/analysis/B1Con/include/B1Run.hh.

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

Reimplemented from G4Run.

Reimplemented in B1ConRun.

Definition at line 48 of file basic/B1/src/B1Run.cc.

References G4Run::Merge().

Referenced by B1ConRun::Merge().

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
virtual void B1Run::Merge ( const G4Run )
virtual

Reimplemented from G4Run.

Reimplemented in B1ConRun.


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