#include <RE06Run.hh>
Definition at line 42 of file RE06Run.hh.
Definition at line 39 of file RE06Run.cc.
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];
G4int GetCollectionID(G4String colName)
static G4SDManager * GetSDMpointer()
Definition at line 59 of file RE06Run.hh.
59 {
return FindMinimum(fMapMin[i][1]);}
Definition at line 58 of file RE06Run.hh.
58 {
return FindMinimum(fMapMin[i][0]);}
Definition at line 60 of file RE06Run.hh.
60 {
return FindMinimum(fMapMin[i][2]);}
Definition at line 53 of file RE06Run.hh.
53 {
return GetTotal(fMapSum[i][2]); }
Definition at line 52 of file RE06Run.hh.
52 {
return GetTotal(fMapSum[i][1]); }
Definition at line 54 of file RE06Run.hh.
54 {
return GetTotal(fMapSum[i][3]); }
Definition at line 56 of file RE06Run.hh.
56 {
return GetTotal(fMapSum[i][5]); }
Definition at line 51 of file RE06Run.hh.
51 {
return GetTotal(fMapSum[i][0]); }
Definition at line 55 of file RE06Run.hh.
55 {
return GetTotal(fMapSum[i][4]); }
Reimplemented from G4Run.
Definition at line 133 of file RE06Run.cc.
136 for(
G4int i = 0; i < 6; i++) {
137 for(
G4int j = 0; j < 6; j++) {
138 fMapSum[i][j] += localRun->fMapSum[i][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;
146 G4double * mapP = fMapMin[i][j][key];
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++) {
154 fMapPara[i][j] += localRun->fMapPara[i][j];
virtual void Merge(const G4Run *)
G4int set(const G4int &key, T *&aHit) const
std::map< G4int, T * > * GetMap() const
Reimplemented from G4Run.
Definition at line 90 of file RE06Run.cc.
102 fMapSum[i][j] += *evtMap;
109 std::map<G4int,G4double*>::iterator itr = evtMap->
GetMap()->begin();
110 for(; itr != evtMap->
GetMap()->end(); itr++)
112 G4int key = (itr->first);
114 G4double* mapP = fMapMin[i][j][key];
115 if( mapP && (val>*mapP) )
continue;
116 fMapMin[i][j].
set(key,val);
127 fMapPara[i][j] += *evtMap;
G4int set(const G4int &key, T *&aHit) const
G4VHitsCollection * GetHC(G4int i)
std::map< G4int, T * > * GetMap() const
G4HCofThisEvent * GetHCofThisEvent() const
The documentation for this class was generated from the following files:
- source/geant4.10.03.p03/examples/extended/runAndEvent/RE06/include/RE06Run.hh
- source/geant4.10.03.p03/examples/extended/runAndEvent/RE06/src/RE06Run.cc