55 fNx(0), fNy(0), fNz(0)
114 re02Run->
GetHitsMap(
"PhantomSD/chargedPassCellFlux");
116 re02Run->
GetHitsMap(
"PhantomSD/chargedCellFlux");
118 re02Run->
GetHitsMap(
"PhantomSD/chargedSurfFlux");
120 re02Run->
GetHitsMap(
"PhantomSD/gammaSurfCurr000");
122 re02Run->
GetHitsMap(
"PhantomSD/gammaSurfCurr001");
124 re02Run->
GetHitsMap(
"PhantomSD/gammaSurfCurr002");
126 re02Run->
GetHitsMap(
"PhantomSD/gammaSurfCurr003");
128 G4cout <<
"============================================================="
131 G4cout <<
"============================================================="
133 G4cout << std::setw( 8) <<
"#Z Cell#";
149 for ( iz = 0; iz <
fNz; iz++){
160 if ( !totED ) totED =
new G4double(0.0);
161 if ( !proED ) proED =
new G4double(0.0);
162 if ( !proNS ) proNS =
new G4double(0.0);
163 if ( !pasCF ) pasCF =
new G4double(0.0);
165 if ( !sfx ) sfx =
new G4double(0.0);
166 if ( !gcur0 ) gcur0 =
new G4double(0.0);
167 if ( !gcur1 ) gcur1 =
new G4double(0.0);
168 if ( !gcur2 ) gcur2 =
new G4double(0.0);
169 if ( !gcur3 ) gcur3 =
new G4double(0.0);
170 G4cout << std::setw( 6) << iz <<
" "
171 << std::setw(12) <<
G4BestUnit(*totED,
"Energy")
172 << std::setw(12) <<
G4BestUnit(*proED,
"Energy")
173 << std::setw(12) << (*proNS) <<
" "
174 << std::setw(13) << (*pasCF)*
cm*
cm <<
" /cm2"
175 << std::setw(15) << (*cF)*
cm*
cm <<
" /cm2"
176 << std::setw(15) << (*sfx)*
cm*
cm <<
" /cm2"
177 << std::setw(15) << (*gcur0)*
cm*
cm <<
" /cm2"
178 << std::setw(15) << (*gcur1)*
cm*
cm <<
" /cm2"
179 << std::setw(15) << (*gcur2)*
cm*
cm <<
" /cm2"
180 << std::setw(15) << (*gcur3)*
cm*
cm <<
" /cm2"
183 G4cout <<
"============================================="<<
G4endl;
185 std::ofstream file(
"totED.txt");
186 for ( iz = 0; iz <
fNz; iz++){
187 for ( iy = 0; iy <
fNy; iy++){
188 for ( ix = 0; ix <
fNx; ix++){
190 if ( !totED ) totED =
new G4double(0.0);
191 file << ix <<
" "<<iy<<
" "<<iz<<
" "<< *totED/
MeV <<
G4endl;
const G4VUserDetectorConstruction * GetUserDetectorConstruction() const
Definition of the RE02RunAction class.
void GetNumberOfSegmentsInPhantom(G4int &nx, G4int &ny, G4int &nz) const
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
virtual G4Run * GenerateRun()
G4int CopyNo(G4int ix, G4int iy, G4int iz)
G4GLOB_DLL std::ostream G4cout
std::vector< G4String > fSDName
G4int GetNumberOfEvent() const
G4THitsMap< G4double > * GetHitsMap(G4int i)
Uer detector construction class.
static G4RunManager * GetRunManager()
virtual void BeginOfRunAction(const G4Run *)
virtual void EndOfRunAction(const G4Run *)
Definition of the RE02DetectorConstruction class.
Definition of the RE02Run class.