17 FairTask(
"Test version of " + name +
" reconstruction code")
36 std::cout <<
"-E- EicCalorimeterReconstruction::Init(): no EicRunAna instance found!" << std::endl;
37 std::cout <<
"-E- EicCalorimeterReconstruction::Init(): please use EicRunAna instead of FairRunAna!" << std::endl;
49 std::cout <<
"-E- EicCalorimeterReconstruction::Init(): no mapping info found!" << std::endl;
68 std::cout <<
"-E- EicCalorimeterReconstruction::Init(): no digi info found!" << std::endl;
76 std::cout <<
"-W- " <<
mDetName->
NAME() <<
" clustering algorithm: strange threshold settings!" <<
83 std::cout <<
"-W- EicIdealTracker::Init: No " <<
mDetName->
Name() <<
"Hit array!" << std::endl;
128 hmap.insert(std::pair<UInt_t,EicCalorimeterDigiHit*>(cellPhotonCount, ghit));
133 for (std::multimap<UInt_t,EicCalorimeterDigiHit*>::reverse_iterator
it=
hmap.rbegin();
it!=
hmap.rend();
it++)
141 printf(
"@@QQ@@ %8llX -> %3d %3d -> %5d (%d)\n", ghit->
mCoord,
153 if (ghit->
mUsed)
continue;
159 group.
mCells.push_back(cell);
168 Long64_t eventPhotonCountSum = 0;
175 Long64_t groupPhotonCountSum = 0;
177 for (
unsigned iq=0; iq<cgroup->
mCells.size(); iq++) {
199 eventPhotonCountSum += groupPhotonCountSum;
205 Long64_t groupSignalPhotonCountSum = 0;
206 std::map<std::pair<UInt_t, UInt_t>, Long64_t> perParentSignalPhotonCountSum;
208 for (
unsigned iq=0; iq<cgroup->
mCells.size(); iq++) {
221 for (std::map<std::pair<UInt_t, UInt_t>, Long64_t>::iterator jt=perParentSignalPhotonCountSum.begin();
222 jt!=perParentSignalPhotonCountSum.end(); ++jt)
242 std::multimap<UInt_t,EicCalorimeterDigiHit*>::reverse_iterator
it)
244 for (std::multimap<UInt_t,EicCalorimeterDigiHit*>::reverse_iterator iq=
hmap.rbegin(); iq!=
hmap.rend(); iq++)
249 if (ghit->
mUsed)
continue;
255 group.
mCells.push_back(cell);