Geant4  10.00.p02
RunAction::ParticleStatistics Class Reference

Public Member Functions

 ParticleStatistics ()
 
 ~ParticleStatistics ()
 
void EventFinished ()
 
void FillData (G4double kinEnergy, G4double costheta, G4double longitudinalPolarization)
 
void PrintResults (G4int totalNumberOfEvents)
 
void Clear ()
 

Private Attributes

G4int currentNumber
 
G4int totalNumber
 
G4int totalNumber2
 
G4double sumEnergy
 
G4double sumEnergy2
 
G4double sumPolarization
 
G4double sumPolarization2
 
G4double sumCosTheta
 
G4double sumCosTheta2
 

Detailed Description

Definition at line 52 of file RunAction.hh.

Constructor & Destructor Documentation

RunAction::ParticleStatistics::ParticleStatistics ( )

Definition at line 173 of file RunAction.cc.

RunAction::ParticleStatistics::~ParticleStatistics ( )

Definition at line 183 of file RunAction.cc.

Member Function Documentation

void RunAction::ParticleStatistics::Clear ( )

Definition at line 229 of file RunAction.cc.

void RunAction::ParticleStatistics::EventFinished ( )

Definition at line 188 of file RunAction.cc.

Referenced by RunAction::EventFinished().

+ Here is the caller graph for this function:

void RunAction::ParticleStatistics::FillData ( G4double  kinEnergy,
G4double  costheta,
G4double  longitudinalPolarization 
)

Definition at line 196 of file RunAction.cc.

Referenced by RunAction::FillData().

+ Here is the caller graph for this function:

void RunAction::ParticleStatistics::PrintResults ( G4int  totalNumberOfEvents)

Definition at line 211 of file RunAction.cc.

References G4BestUnit, and G4cout.

Member Data Documentation

G4int RunAction::ParticleStatistics::currentNumber
private

Definition at line 62 of file RunAction.hh.

G4double RunAction::ParticleStatistics::sumCosTheta
private

Definition at line 66 of file RunAction.hh.

G4double RunAction::ParticleStatistics::sumCosTheta2
private

Definition at line 66 of file RunAction.hh.

G4double RunAction::ParticleStatistics::sumEnergy
private

Definition at line 64 of file RunAction.hh.

G4double RunAction::ParticleStatistics::sumEnergy2
private

Definition at line 64 of file RunAction.hh.

G4double RunAction::ParticleStatistics::sumPolarization
private

Definition at line 65 of file RunAction.hh.

G4double RunAction::ParticleStatistics::sumPolarization2
private

Definition at line 65 of file RunAction.hh.

G4int RunAction::ParticleStatistics::totalNumber
private

Definition at line 63 of file RunAction.hh.

G4int RunAction::ParticleStatistics::totalNumber2
private

Definition at line 63 of file RunAction.hh.


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