30 { KeyValue{
"MCTracksLocation",
"/Event/MCTracks" }, KeyValue{
"TracksLocation",
"/Event/Tracks" } } ) {}
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 ) {
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 ) {
61 "(Relative) maximum delta theta to consider 2 tracks as identical" };