#include <B01RunAction.hh>
Definition at line 49 of file B01RunAction.hh.
◆ B01RunAction()
B01RunAction::B01RunAction |
( |
| ) |
|
◆ ~B01RunAction()
B01RunAction::~B01RunAction |
( |
| ) |
|
|
virtual |
◆ BeginOfRunAction()
void B01RunAction::BeginOfRunAction |
( |
const G4Run * |
aRun | ) |
|
|
virtual |
◆ EndOfRunAction()
void B01RunAction::EndOfRunAction |
( |
const G4Run * |
aRun | ) |
|
|
virtual |
Reimplemented from G4UserRunAction.
Definition at line 88 of file B01RunAction.cc.
136 "\n--------------------End of Global Run-----------------------" <<
144 "\n--------------------End of Local Run------------------------" <<
150 G4cout <<
"=============================================================" 152 G4cout <<
"=============================================================" 155 std::ostream *myout = &
G4cout;
168 if ( !SumCollisions ) SumCollisions =
new G4double(0.0);
169 if ( !SumCollWeight ) SumCollWeight =
new G4double(0.0);
170 if ( !Populations ) Populations =
new G4double(0.0);
171 if ( !TrackEnters ) TrackEnters =
new G4double(0.0);
172 if ( !SLs ) SLs =
new G4double(0.0);
173 if ( !SLWs ) SLWs =
new G4double(0.0);
174 if ( !SLWEs ) SLWEs =
new G4double(0.0);
175 if ( !SLW_Vs ) SLW_Vs =
new G4double(0.0);
176 if ( !SLWE_Vs ) SLWE_Vs =
new G4double(0.0);
180 if ( *SLW_Vs !=0. ) NumWeightedEnergy = (*SLWE_Vs)/(*SLW_Vs);
181 if ( *SLWs !=0. ) FluxWeightedEnergy = (*SLWEs)/(*SLWs);
182 if ( *SLs !=0. ) AverageTrackWeight = (*SLWs)/(*SLs);
186 << std::setw(
fFieldValue) << (*TrackEnters) <<
" |" 187 << std::setw(
fFieldValue) << (*Populations) <<
" |" 188 << std::setw(
fFieldValue) << (*SumCollisions) <<
" |" 189 << std::setw(
fFieldValue) << (*SumCollWeight) <<
" |" 190 << std::setw(
fFieldValue) << NumWeightedEnergy <<
" |" 191 << std::setw(
fFieldValue) << FluxWeightedEnergy <<
" |" 192 << std::setw(
fFieldValue) << AverageTrackWeight <<
" |" 200 G4cout <<
"============================================="<<
G4endl;
void PrintHeader(std::ostream *out)
G4GLOB_DLL std::ostream G4cout
G4String GetCellName(G4int i)
static G4RunManager * GetRunManager()
G4THitsMap< G4double > * GetHitsMap(G4int i)
std::vector< G4String > fSDName
static const G4double * SL[nLA]
G4int GetNumberOfEvent() const
const G4VUserDetectorConstruction * GetUserDetectorConstruction() const
◆ FillString()
std::string B01RunAction::FillString |
( |
const std::string & |
name, |
|
|
char |
c, |
|
|
G4int |
n, |
|
|
G4bool |
back = true |
|
) |
| |
◆ GenerateRun()
G4Run * B01RunAction::GenerateRun |
( |
void |
| ) |
|
|
virtual |
◆ PrintHeader()
void B01RunAction::PrintHeader |
( |
std::ostream * |
out | ) |
|
Definition at line 206 of file B01RunAction.cc.
208 std::vector<G4String> vecScoreName;
209 vecScoreName.push_back(
"Tr.Entering");
210 vecScoreName.push_back(
"Population");
211 vecScoreName.push_back(
"Collisions");
212 vecScoreName.push_back(
"Coll*WGT");
213 vecScoreName.push_back(
"NumWGTedE");
214 vecScoreName.push_back(
"FluxWGTedE");
215 vecScoreName.push_back(
"Av.Tr.WGT");
216 vecScoreName.push_back(
"SL");
217 vecScoreName.push_back(
"SLW");
218 vecScoreName.push_back(
"SLW_v");
219 vecScoreName.push_back(
"SLWE");
220 vecScoreName.push_back(
"SLWE_v");
226 *out << std::setw(
fFieldValue) <<
"Volume" <<
" |";
227 for (std::vector<G4String>::iterator it = vecScoreName.begin();
228 it != vecScoreName.end(); it++) {
◆ fFieldValue
G4int B01RunAction::fFieldValue |
|
private |
◆ fSDName
std::vector<G4String> B01RunAction::fSDName |
|
private |
The documentation for this class was generated from the following files: