39 for ( std::vector<int>::iterator
iter = vtofHit.begin();
iter != vtofHit.end();
iter++ )
41 int tofId = ( *iter );
43 part = int( tofId / 10000. );
44 layer = int( ( tofId - part * 10000 ) / 1000. );
45 im = int( ( tofId - part * 10000 - layer * 1000 ) / 10. );
49 if ( find( ecapHit.begin(), ecapHit.end(), im ) == ecapHit.end() )
50 { ecapHit.push_back( im ); }
55 if ( find( wcapHit.begin(), wcapHit.end(), im ) == wcapHit.end() )
56 { wcapHit.push_back( im ); }
63 if ( find( barrelHit1.begin(), barrelHit1.end(), im ) == barrelHit1.end() )
64 { barrelHit1.push_back( im ); }
69 if ( find( barrelHit2.begin(), barrelHit2.end(), im ) == barrelHit2.end() )
70 { barrelHit2.push_back( im ); }