20 cout <<
"EventNavigator object:" << std::endl;
21 cout <<
" Mdc hits: " << m_mcMdcMcHitsIdx.size() << endl;
22 cout <<
" Mdc tracks: " << m_mcMdcTracksIdx.size() << endl;
23 cout <<
" Emc hits: " << m_mcEmcMcHitsIdx.size() << endl;
24 cout <<
" Emc showers: " << m_mcEmcRecShowersIdx.size() << endl;
25 cout <<
" TABLES:" << endl;
26 cout <<
" m_mdcTracksWrtMcParticle " << m_mdcTracksWrtMcParticle.size() << endl;
27 cout <<
" m_mcParticlesWrtMdcTrack " << m_mcParticlesWrtMdcTrack.size() << endl;
28 cout <<
" m_mdcKalTracksWrtMcParticle " << m_mdcKalTracksWrtMcParticle.size() << endl;
29 cout <<
" m_mcParticlesWrtMdcKalTrack " << m_mcParticlesWrtMdcKalTrack.size() << endl;
30 cout <<
" m_mdcTracksWrtMcParticleP " << m_mdcTracksWrtMcParticleP.size() << endl;
31 cout <<
" m_mcParticlesWrtMdcTrackP " << m_mcParticlesWrtMdcTrackP.size() << endl;
32 cout <<
" m_mdcKalTracksWrtMcParticle " << m_mdcKalTracksWrtMcParticleP.size() << endl;
33 cout <<
" m_mcParticlesWrtMdcKalTrack " << m_mcParticlesWrtMdcKalTrackP.size() << endl;
34 cout <<
" m_mcParticlesWrtRecShower " << m_mcParticlesWrtRecShower.size() << endl;
35 cout <<
" m_emcRecShowersWrtMcParticle " << m_emcRecShowersWrtMcParticle.size() << endl;
36 cout <<
" m_mcParticlesWrtEmcShowerP " << m_mcParticlesWrtRecEmcShowerP.size() << endl;
37 cout <<
" m_emcRecShowersWrtMcParticle " << m_emcRecShowersWrtMcParticleP.size() << endl;
110 RecMdcTrackVectorP::iterator it;
112 for ( it = vpair.begin(); it != vpair.end(); it++ )
114 if ( ( *it ).first == value )
122 if ( !found ) vpair.push_back( pair<const RecMdcTrack*, int>( value, 1 ) );
125 for ( it = vpair.begin(); it != vpair.end(); it++ )
127 if ( ( *it ).second > m_mdcCut )
129 if ( find( tmp.begin(), tmp.end(), ( *it ).first ) == tmp.end() )
130 { tmp.push_back( ( *it ).first ); }
138 RecMdcKalTrackVectorP::iterator it;
140 for ( it = vpair.begin(); it != vpair.end(); it++ )
142 if ( ( *it ).first == value )
150 if ( !found ) vpair.push_back( pair<const RecMdcKalTrack*, int>( value, 1 ) );
153 for ( it = vpair.begin(); it != vpair.end(); it++ )
155 if ( ( *it ).second > m_mdcCut )
157 if ( find( tmp.begin(), tmp.end(), ( *it ).first ) == tmp.end() )
158 { tmp.push_back( ( *it ).first ); }
166 McParticleVectorP::iterator it;
168 for ( it = vpair.begin(); it != vpair.end(); it++ )
170 if ( ( *it ).first == value )
178 if ( !found ) vpair.push_back( pair<const McParticle*, int>( value, 1 ) );
181 for ( it = vpair.begin(); it != vpair.end(); it++ )
183 if ( ( *it ).second > m_mdcCut )
185 if ( find( tmp.begin(), tmp.end(), ( *it ).first ) == tmp.end() )
186 { tmp.push_back( ( *it ).first ); }
194 McParticleVectorP::iterator it;
196 for ( it = vpair.begin(); it != vpair.end(); it++ )
198 if ( ( *it ).first == value )
206 if ( !found ) vpair.push_back( pair<const McParticle*, int>( value, 1 ) );
209 for ( it = vpair.begin(); it != vpair.end(); it++ )
211 if ( ( *it ).second > m_mdcCut )
213 if ( find( tmp.begin(), tmp.end(), ( *it ).first ) == tmp.end() )
214 { tmp.push_back( ( *it ).first ); }
227 m_mcParticlesWrtRecEmcShowerP[( (
RecEmcShower*)
key )->getShowerId().get_value()];
228 McParticleVectorP::iterator it;
230 for ( it = vpair.begin(); it != vpair.end(); it++ )
232 if ( ( *it ).first == value )
240 if ( !found ) vpair.push_back( pair<const McParticle*, int>( value, 1 ) );
243 m_mcParticlesWrtRecShower[( (
RecEmcShower*)
key )->getShowerId().get_value()];
244 for ( it = vpair.begin(); it != vpair.end(); it++ )
246 if ( find( tmp.begin(), tmp.end(), ( *it ).first ) == tmp.end() )
247 { tmp.push_back( ( *it ).first ); }
257 RecEmcShowerVectorP::iterator it;
259 for ( it = vpair.begin(); it != vpair.end(); it++ )
261 if ( ( *it ).first == value )
269 if ( !found ) vpair.push_back( pair<const RecEmcShower*, int>( value, 1 ) );
272 for ( it = vpair.begin(); it != vpair.end(); it++ )
274 if ( find( tmp.begin(), tmp.end(), ( *it ).first ) == tmp.end() )
275 { tmp.push_back( ( *it ).first ); }