39 const std::string &
name)
40 :
SubsysReco(name), m_pidmap(map), m_PIDDetector(det) {
42 std::cout <<
"ECCEFastPIDReco::ECCEFastPIDReco(): Fatal Error missing "
70 cout << __PRETTY_FUNCTION__ <<
" " <<
Name()
77 findNode::getClass<PHG4TruthInfoContainer>(topNode,
"G4TruthInfo");
79 cout << __PRETTY_FUNCTION__ <<
" " <<
Name()
80 <<
": PHG4TruthInfoContainer node is missing, can't collect G4 truth "
89 cout << __PRETTY_FUNCTION__ <<
" " <<
Name() <<
": PHG4HitContainer "
106 iter.findFirst(
"PHCompositeNode",
"DST"));
110 cout << m_EICPIDParticleMapNodeName <<
" node added" << endl;
123 cout << __PRETTY_FUNCTION__ <<
" " <<
Name() <<
": m_SvtxTrackMap = ";
136 cout << __PRETTY_FUNCTION__ <<
" " <<
Name()
137 <<
" : ignore none SvtxTrack_FastSim track: ";
148 const int truth_pid = g4particle->
get_pid();
153 bool matched =
false;
161 for (
auto hititer = hit_range.first; hititer != hit_range.second;
163 const PHG4Hit *hit = hititer->second;
169 cout << __PRETTY_FUNCTION__ <<
" " <<
Name() <<
" Named "
171 <<
": matching track ";
173 cout <<
"with particle: ";
175 cout <<
"with hit: ";
177 cout <<
"Result in momentum of " <<
momentum.mag()
178 <<
"GeV/c at eta = " <<
momentum.eta() << endl;
189 cout << __PRETTY_FUNCTION__ <<
" " <<
Name() <<
" Named " <<
Name()
193 cout <<
"with particle: ";
200 cout << __PRETTY_FUNCTION__ <<
" " <<
Name() <<
" Named " <<
Name()
203 cout <<
"with particle: ";
205 cout <<
"Result in momentum of " <<
momentum.mag()
206 <<
"GeV/c at eta = " <<
momentum.eta() << endl;
229 for (
const auto &pair : ll_map)
241 cout << __PRETTY_FUNCTION__ <<
" " <<
Name()
242 <<
" : done processing from trackmap ";
243 m_SvtxTrackMap->identify();
244 cout << __PRETTY_FUNCTION__ <<
" " <<
Name()
245 <<
" : produced EICPIDParticleContainer ";