Geant4-11
Functions
G4CellScoreComposer.cc File Reference
#include "G4CellScoreComposer.hh"
#include "G4Step.hh"

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 99 of file G4CellScoreComposer.cc.

100{
101 G4CellScoreValues scores = ps.GetStandardCellScoreValues();
102 out << "Tracks entering: " << scores.fSumTracksEntering << G4endl;
103 out << "Population: " << scores.fSumPopulation << G4endl;
104 out << "Collisions: " << scores.fSumCollisions << G4endl;
105 out << "Collisions*Wgt: " << scores.fSumCollisionsWeight << G4endl;
106 out << "NumWGTedEnergy: " << scores.fNumberWeightedEnergy << G4endl;
107 out << "FluxWGTedEnergy: " << scores.fFluxWeightedEnergy << G4endl;
108 out << "Aver.TrackWGT*I: " << scores.fAverageTrackWeight * scores.fImportance
109 << G4endl;
110 return out;
111}
static constexpr double ps
Definition: G4SIunits.hh:157
#define G4endl
Definition: G4ios.hh:57
G4double fNumberWeightedEnergy

References G4CellScoreValues::fAverageTrackWeight, G4CellScoreValues::fFluxWeightedEnergy, G4CellScoreValues::fImportance, G4CellScoreValues::fNumberWeightedEnergy, G4CellScoreValues::fSumCollisions, G4CellScoreValues::fSumCollisionsWeight, G4CellScoreValues::fSumPopulation, G4CellScoreValues::fSumTracksEntering, G4endl, and ps.