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