34 #include "G4HCofThisEvent.hh"
43 = {
"Calor-A_abs",
"Calor-A_gap",
44 "Calor-B_abs",
"Calor-B_gap",
45 "Calor-C_abs",
"Calor-C_gap"};
48 = {
"eDep",
"nGamma",
"nElectron",
"nPositron",
"trackLength",
"nStep"};
51 = {
"minEkinGamma",
"minEkinElectron",
"minEkinPositron"};
54 = {
"Calor-AP_para",
"Calor-BP_para",
"Calor-CP_para"};
63 fullName = detName[i]+
"/"+primNameSum[j];
68 fullName = detName[i]+
"/"+primNameMin[j];
76 fullName = paraName[i]+
"/"+primNameSum[j];
109 std::map<G4int,G4double*>::iterator itr = evtMap->
GetMap()->begin();
110 for(; itr != evtMap->
GetMap()->end(); itr++)
112 G4int key = (itr->first);
115 if( mapP && (val>*mapP) )
continue;
136 for(
G4int i = 0; i < 6; i++) {
137 for(
G4int j = 0; j < 6; j++) {
141 for(
G4int j = 0; j < 3; j++) {
142 std::map<G4int, G4double*>::iterator itr = localRun->
fMapMin[i][j].
GetMap()->begin();
143 for(; itr != localRun->
fMapMin[i][j].
GetMap()->end(); itr++) {
144 G4int key = itr->first;
147 if(!mapP || val < *mapP)
fMapMin[i][j].
set(key, val);
152 for(
G4int i = 0; i < 3; i++) {
153 for(
G4int j = 0; j < 6; j++) {
165 if(map.
GetSize()==0)
return tot;
166 std::map<G4int,G4double*>::iterator itr = map.
GetMap()->begin();
167 for(; itr != map.
GetMap()->end(); itr++)
168 { tot += *(itr->second); }
178 if(map.
GetSize()==0)
return val;
179 std::map<G4int,G4double*>::iterator itr = map.
GetMap()->begin();
180 for(; itr != map.
GetMap()->end(); itr++)
181 {
if(val>*(itr->second)) val = *(itr->second); }
virtual void Merge(const G4Run *)
G4double FindMinimum(const G4THitsMap< G4double > &map) const
G4VHitsCollection * GetHC(G4int i)
G4int GetCollectionID(G4String colName)
virtual void Merge(const G4Run *)
G4THitsMap< G4double > fMapSum[6][6]
virtual size_t GetSize() const
static G4SDManager * GetSDMpointer()
G4THitsMap< G4double > fMapPara[3][6]
G4double GetTotal(const G4THitsMap< G4double > &map) const
std::map< G4int, T * > * GetMap() const
G4THitsMap< G4double > fMapMin[6][3]
G4HCofThisEvent * GetHCofThisEvent() const
Definition of the RE06Run class.
G4int set(const G4int &key, T *&aHit) const
virtual void RecordEvent(const G4Event *)