33 #include "G4HCofThisEvent.hh"
42 = {
"Calor-A_abs",
"Calor-A_gap",
43 "Calor-B_abs",
"Calor-B_gap",
44 "Calor-C_abs",
"Calor-C_gap"};
47 = {
"eDep",
"nGamma",
"nElectron",
"nPositron",
"trackLength",
"nStep"};
50 = {
"minEkinGamma",
"minEkinElectron",
"minEkinPositron"};
53 = {
"Calor-AP_para",
"Calor-BP_para",
"Calor-CP_para"};
62 fullName = detName[i]+
"/"+primNameSum[j];
67 fullName = detName[i]+
"/"+primNameMin[j];
75 fullName = paraName[i]+
"/"+primNameSum[j];
108 std::map<G4int,G4double*>::iterator itr = evtMap->
GetMap()->begin();
109 for(; itr != evtMap->
GetMap()->end(); itr++)
111 G4int key = (itr->first);
114 if( mapP && (val>*mapP) )
continue;
135 for(
G4int i = 0; i < 6; i++) {
136 for(
G4int j = 0; j < 6; j++) {
140 for(
G4int j = 0; j < 3; j++) {
141 std::map<G4int, G4double*>::iterator itr = localRun->
fMapMin[i][j].
GetMap()->begin();
142 for(; itr != localRun->
fMapMin[i][j].
GetMap()->end(); itr++) {
143 G4int key = itr->first;
146 if(!mapP || val < *mapP)
fMapMin[i][j].
set(key, val);
151 for(
G4int i = 0; i < 3; i++) {
152 for(
G4int j = 0; j < 6; j++) {
164 if(map.
GetSize()==0)
return tot;
165 std::map<G4int,G4double*>::iterator itr = map.
GetMap()->begin();
166 for(; itr != map.
GetMap()->end(); itr++)
167 { tot += *(itr->second); }
177 if(map.
GetSize()==0)
return val;
178 std::map<G4int,G4double*>::iterator itr = map.
GetMap()->begin();
179 for(; itr != map.
GetMap()->end(); itr++)
180 {
if(val>*(itr->second)) val = *(itr->second); }