Go to the documentation of this file.
30 { KeyValue{
"MCTracksLocation",
"/Event/MCTracks" }, KeyValue{
"TracksLocation",
"/Event/Tracks" } } ) {}
33 for (
auto const& track : tracks ) {
37 [track,
this](
MCTrack mcTrack ) { return almostEqual( track.theta, mcTrack.theta ); } );
38 if ( selection.
size() == 0 ) {
44 for (
auto const& mcTrack : mcTracks ) {
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" };
details::Consumer< Signature, Traits_, details::isLegacy< Traits_ > > Consumer
bool almostEqual(float a, float b) const
void operator()(MCTracks const &mcTracks, Tracks const &tracks) const override
T back_inserter(T... args)
Gaudi::Accumulators::Counter n_ghostTracks
Gaudi::Property< float > m_maxDeltaTheta
Gaudi::ParticleID abs(const Gaudi::ParticleID &p)
Return the absolute value for a PID.
Gaudi::Accumulators::Counter n_lostTracks
CheckerAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Accumulators::Counter n_duplicatedTracks
#define DECLARE_COMPONENT(type)
Gaudi::Accumulators::Counter n_foundTracks
most simple MC Track ever : in 2D space, starting from the origin and thus fully defined by an angle ...
Comparison of Reconstructed Tracks and MCTracks.
most simple Track ever : in 2D space, starting from the origin and thus fully defined by an angle the...