54 : fNx(0), fNy(0), fNz(0)
58 fSDName.push_back(
G4String(
"PhantomSD"));
111 re02Run->
GetHitsMap(
"PhantomSD/chargedPassCellFlux");
113 re02Run->
GetHitsMap(
"PhantomSD/chargedCellFlux");
115 re02Run->
GetHitsMap(
"PhantomSD/chargedSurfFlux");
117 re02Run->
GetHitsMap(
"PhantomSD/gammaSurfCurr000");
119 re02Run->
GetHitsMap(
"PhantomSD/gammaSurfCurr001");
121 re02Run->
GetHitsMap(
"PhantomSD/gammaSurfCurr002");
123 re02Run->
GetHitsMap(
"PhantomSD/gammaSurfCurr003");
125 G4cout <<
"============================================================="
128 G4cout <<
"============================================================="
130 G4cout << std::setw( 8) <<
"#Z Cell#";
146 for ( iz = 0; iz < fNz; iz++){
157 if ( !totED ) totED =
new G4double(0.0);
158 if ( !proED ) proED =
new G4double(0.0);
159 if ( !proNS ) proNS =
new G4double(0.0);
160 if ( !pasCF ) pasCF =
new G4double(0.0);
162 if ( !sfx ) sfx =
new G4double(0.0);
163 if ( !gcur0 ) gcur0 =
new G4double(0.0);
164 if ( !gcur1 ) gcur1 =
new G4double(0.0);
165 if ( !gcur2 ) gcur2 =
new G4double(0.0);
166 if ( !gcur3 ) gcur3 =
new G4double(0.0);
167 G4cout << std::setw( 6) << iz <<
" "
168 << std::setw(12) <<
G4BestUnit(*totED,
"Energy")
169 << std::setw(12) <<
G4BestUnit(*proED,
"Energy")
170 << std::setw(12) << (*proNS) <<
" "
171 << std::setw(13) << (*pasCF)*
cm*
cm <<
" /cm2"
172 << std::setw(15) << (*cF)*
cm*
cm <<
" /cm2"
173 << std::setw(15) << (*sfx)*
cm*
cm <<
" /cm2"
174 << std::setw(15) << (*gcur0)*
cm*
cm <<
" /cm2"
175 << std::setw(15) << (*gcur1)*
cm*
cm <<
" /cm2"
176 << std::setw(15) << (*gcur2)*
cm*
cm <<
" /cm2"
177 << std::setw(15) << (*gcur3)*
cm*
cm <<
" /cm2"
180 G4cout <<
"============================================="<<
G4endl;
182 std::ofstream
file(
"totED.txt");
183 for ( iz = 0; iz < fNz; iz++){
184 for ( iy = 0; iy < fNy; iy++){
185 for ( ix = 0; ix < fNx; ix++){
187 if ( !totED ) totED =
new G4double(0.0);
188 file << ix <<
" "<<iy<<
" "<<iz<<
" "<< *totED/
MeV <<
G4endl;