23 cout <<
"EventNavigator object:" << std::endl;
24 cout <<
" Mdc hits: " << m_mcMdcMcHitsIdx.size() << endl;
25 cout <<
" Mdc tracks: " << m_mcMdcTracksIdx.size() << endl;
26 cout <<
" Emc hits: " << m_mcEmcMcHitsIdx.size() << endl;
27 cout <<
" Emc showers: " << m_mcEmcRecShowersIdx.size() << endl;
28 cout <<
" TABLES:" << endl;
29 cout <<
" m_mdcTracksWrtMcParticle "
30 << m_mdcTracksWrtMcParticle.size() << endl;
31 cout <<
" m_mcParticlesWrtMdcTrack "
32 << m_mcParticlesWrtMdcTrack.size() << endl;
33 cout <<
" m_mdcKalTracksWrtMcParticle "
34 << m_mdcKalTracksWrtMcParticle.size() << endl;
35 cout <<
" m_mcParticlesWrtMdcKalTrack "
36 << m_mcParticlesWrtMdcKalTrack.size() << endl;
37 cout <<
" m_mdcTracksWrtMcParticleP "
38 << m_mdcTracksWrtMcParticleP.size() << endl;
39 cout <<
" m_mcParticlesWrtMdcTrackP "
40 << m_mcParticlesWrtMdcTrackP.size() << endl;
41 cout <<
" m_mdcKalTracksWrtMcParticle "
42 << m_mdcKalTracksWrtMcParticleP.size() << endl;
43 cout <<
" m_mcParticlesWrtMdcKalTrack "
44 << m_mcParticlesWrtMdcKalTrackP.size() << endl;
45 cout <<
" m_mcParticlesWrtRecShower "
46 << m_mcParticlesWrtRecShower.size() << endl;
47 cout <<
" m_emcRecShowersWrtMcParticle "
48 << m_emcRecShowersWrtMcParticle.size() << endl;
49 cout <<
" m_mcParticlesWrtEmcShowerP "
50 << m_mcParticlesWrtRecEmcShowerP.size() << endl;
51 cout <<
" m_emcRecShowersWrtMcParticle "
52 << m_emcRecShowersWrtMcParticleP.size() << endl;
135 RecMdcTrackVectorP::iterator it;
137 for (it=vpair.begin(); it!=vpair.end(); it++)
139 if ( (*it).first == value )
148 vpair.push_back( pair<const RecMdcTrack*,int>(value,1));
151 for (it=vpair.begin(); it!=vpair.end(); it++)
153 if((*it).second > m_mdcCut)
155 if (find(tmp.begin(),tmp.end(),(*it).first) == tmp.end() )
157 tmp.push_back((*it).first);
167 RecMdcKalTrackVectorP::iterator it;
169 for (it=vpair.begin(); it!=vpair.end(); it++)
171 if ( (*it).first == value )
180 vpair.push_back( pair<const RecMdcKalTrack*,int>(value,1));
183 for (it=vpair.begin(); it!=vpair.end(); it++)
185 if((*it).second > m_mdcCut)
187 if (find(tmp.begin(),tmp.end(),(*it).first) == tmp.end() )
189 tmp.push_back((*it).first);
199 McParticleVectorP::iterator it;
201 for (it=vpair.begin(); it!=vpair.end(); it++)
203 if ( (*it).first == value )
212 vpair.push_back( pair<const McParticle*,int>(value,1));
215 for (it=vpair.begin(); it!=vpair.end(); it++)
217 if((*it).second > m_mdcCut)
219 if (find(tmp.begin(),tmp.end(),(*it).first) == tmp.end() )
221 tmp.push_back((*it).first);
232 McParticleVectorP::iterator it;
234 for (it=vpair.begin(); it!=vpair.end(); it++)
236 if ( (*it).first == value )
245 vpair.push_back( pair<const McParticle*,int>(value,1));
248 for (it=vpair.begin(); it!=vpair.end(); it++)
250 if((*it).second > m_mdcCut)
252 if (find(tmp.begin(),tmp.end(),(*it).first) == tmp.end() )
254 tmp.push_back((*it).first);
268 McParticleVectorP::iterator it;
270 for (it=vpair.begin(); it!=vpair.end(); it++)
272 if ( (*it).first == value )
281 vpair.push_back( pair<const McParticle*,int>(value,1));
284 for (it=vpair.begin(); it!=vpair.end(); it++)
286 if (find(tmp.begin(),tmp.end(),(*it).first) == tmp.end() )
288 tmp.push_back((*it).first);
300 RecEmcShowerVectorP::iterator it;
302 for (it=vpair.begin(); it!=vpair.end(); it++)
304 if ( (*it).first == value )
313 vpair.push_back( pair<const RecEmcShower*,int>(value,1));
316 for (it=vpair.begin(); it!=vpair.end(); it++)
318 if (find(tmp.begin(),tmp.end(),(*it).first) == tmp.end() )
320 tmp.push_back((*it).first);