32 {
33 for ( auto const& track : tracks ) {
35 selection.reserve( 10 );
36 std::copy_if( mcTracks.begin(), mcTracks.end(), std::back_inserter( selection ),
37 [track, this]( MCTrack mcTrack ) { return almostEqual( track.theta, mcTrack.theta ); } );
38 if ( selection.size() == 0 ) {
40 } else {
42 }
43 }
44 for ( auto const& mcTrack : mcTracks ) {
46 selection.reserve( 10 );
47 std::copy_if( tracks.begin(), tracks.end(), std::back_inserter( selection ),
48 [mcTrack, this]( Track track ) { return almostEqual( track.theta, mcTrack.theta ); } );
49 if ( selection.size() == 0 ) {
51 } else if ( selection.size() > 1 ) {
53 }
54 }
55 }
Gaudi::Accumulators::Counter n_duplicatedTracks
Gaudi::Accumulators::Counter n_lostTracks
Gaudi::Accumulators::Counter n_foundTracks
Gaudi::Accumulators::Counter n_ghostTracks
std::vector< MCTrack > MCTracks
std::vector< Track > Tracks