Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4CellScoreComposer.hh File Reference

Go to the source code of this file.

Classes

class  G4CellScoreComposer
 

Macros

#define G4CellScoreComposer_hh   G4CellScoreComposer_hh
 

Functions

std::ostream & operator<< (std::ostream &out, const G4CellScoreComposer &ps)
 

Macro Definition Documentation

◆ G4CellScoreComposer_hh

#define G4CellScoreComposer_hh   G4CellScoreComposer_hh

Definition at line 44 of file G4CellScoreComposer.hh.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & out,
const G4CellScoreComposer & ps )

Definition at line 88 of file G4CellScoreComposer.cc.

89{
90 G4CellScoreValues scores = ps.GetStandardCellScoreValues();
91 out << "Tracks entering: " << scores.fSumTracksEntering << G4endl;
92 out << "Population: " << scores.fSumPopulation << G4endl;
93 out << "Collisions: " << scores.fSumCollisions << G4endl;
94 out << "Collisions*Wgt: " << scores.fSumCollisionsWeight << G4endl;
95 out << "NumWGTedEnergy: " << scores.fNumberWeightedEnergy << G4endl;
96 out << "FluxWGTedEnergy: " << scores.fFluxWeightedEnergy << G4endl;
97 out << "Aver.TrackWGT*I: " << scores.fAverageTrackWeight * scores.fImportance << G4endl;
98 return out;
99}
#define G4endl
Definition G4ios.hh:67