#include <RE06Run.hh>
Definition at line 42 of file RE06Run.hh.
◆ RE06Run()
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()
◆ ~RE06Run()
◆ FindMinimum()
Definition at line 174 of file RE06Run.cc.
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); }
std::map< G4int, T * > * GetMap() const
virtual size_t GetSize() const
◆ GetEMinElectron()
Definition at line 59 of file RE06Run.hh.
G4double FindMinimum(const G4THitsMap< G4double > &map) const
G4THitsMap< G4double > fMapMin[6][3]
◆ GetEMinGamma()
Definition at line 58 of file RE06Run.hh.
G4double FindMinimum(const G4THitsMap< G4double > &map) const
G4THitsMap< G4double > fMapMin[6][3]
◆ GetEMinPositron()
Definition at line 60 of file RE06Run.hh.
G4double FindMinimum(const G4THitsMap< G4double > &map) const
G4THitsMap< G4double > fMapMin[6][3]
◆ GetNElectron()
Definition at line 53 of file RE06Run.hh.
G4THitsMap< G4double > fMapSum[6][6]
G4double GetTotal(const G4THitsMap< G4double > &map) const
◆ GetNGamma()
Definition at line 52 of file RE06Run.hh.
G4THitsMap< G4double > fMapSum[6][6]
G4double GetTotal(const G4THitsMap< G4double > &map) const
◆ GetNPositron()
Definition at line 54 of file RE06Run.hh.
G4THitsMap< G4double > fMapSum[6][6]
G4double GetTotal(const G4THitsMap< G4double > &map) const
◆ GetNStep()
Definition at line 56 of file RE06Run.hh.
G4THitsMap< G4double > fMapSum[6][6]
G4double GetTotal(const G4THitsMap< G4double > &map) const
◆ GetParaValue()
Definition at line 62 of file RE06Run.hh.
G4THitsMap< G4double > fMapPara[3][6]
◆ GetTotal()
Definition at line 162 of file RE06Run.cc.
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); }
std::map< G4int, T * > * GetMap() const
virtual size_t GetSize() const
◆ GetTotalE()
Definition at line 51 of file RE06Run.hh.
G4THitsMap< G4double > fMapSum[6][6]
G4double GetTotal(const G4THitsMap< G4double > &map) const
◆ GetTotalL()
Definition at line 55 of file RE06Run.hh.
G4THitsMap< G4double > fMapSum[6][6]
G4double GetTotal(const G4THitsMap< G4double > &map) const
◆ Merge()
void RE06Run::Merge |
( |
const G4Run * |
aRun | ) |
|
|
virtual |
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++) {
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++) {
virtual void Merge(const G4Run *)
std::map< G4int, T * > * GetMap() const
G4int set(const G4int &key, T *&aHit) const
G4THitsMap< G4double > fMapSum[6][6]
G4THitsMap< G4double > fMapPara[3][6]
G4THitsMap< G4double > fMapMin[6][3]
◆ RecordEvent()
void RE06Run::RecordEvent |
( |
const G4Event * |
evt | ) |
|
|
virtual |
Reimplemented from G4Run.
Definition at line 90 of file RE06Run.cc.
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;
G4VHitsCollection * GetHC(G4int i)
std::map< G4int, T * > * GetMap() const
G4int set(const G4int &key, T *&aHit) const
G4THitsMap< G4double > fMapSum[6][6]
G4HCofThisEvent * GetHCofThisEvent() const
G4THitsMap< G4double > fMapPara[3][6]
G4THitsMap< G4double > fMapMin[6][3]
◆ fColIDMin
G4int RE06Run::fColIDMin[6][3] |
|
private |
◆ fColIDPara
G4int RE06Run::fColIDPara[3][6] |
|
private |
◆ fColIDSum
G4int RE06Run::fColIDSum[6][6] |
|
private |
◆ fMapMin
◆ fMapPara
◆ fMapSum
The documentation for this class was generated from the following files: