Geant4  10.01.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 53 of file RunAction.hh.

Constructor & Destructor Documentation

RunAction::ParticleStatistics::ParticleStatistics ( )

Definition at line 253 of file RunAction.cc.

RunAction::ParticleStatistics::~ParticleStatistics ( )

Definition at line 263 of file RunAction.cc.

Member Function Documentation

void RunAction::ParticleStatistics::Clear ( )

Definition at line 309 of file RunAction.cc.

void RunAction::ParticleStatistics::EventFinished ( )

Definition at line 268 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 276 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 291 of file RunAction.cc.

References G4BestUnit, and G4cout.

Member Data Documentation

G4int RunAction::ParticleStatistics::currentNumber
private

Definition at line 63 of file RunAction.hh.

G4double RunAction::ParticleStatistics::sumCosTheta
private

Definition at line 67 of file RunAction.hh.

G4double RunAction::ParticleStatistics::sumCosTheta2
private

Definition at line 67 of file RunAction.hh.

G4double RunAction::ParticleStatistics::sumEnergy
private

Definition at line 65 of file RunAction.hh.

G4double RunAction::ParticleStatistics::sumEnergy2
private

Definition at line 65 of file RunAction.hh.

G4double RunAction::ParticleStatistics::sumPolarization
private

Definition at line 66 of file RunAction.hh.

G4double RunAction::ParticleStatistics::sumPolarization2
private

Definition at line 66 of file RunAction.hh.

G4int RunAction::ParticleStatistics::totalNumber
private

Definition at line 64 of file RunAction.hh.

G4int RunAction::ParticleStatistics::totalNumber2
private

Definition at line 64 of file RunAction.hh.


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