#ifndef PANDA_CHECK_H_ #define PANDA_CHECK_H_ /** @file check.h header for checking HT results */ #include #include "event-point.h" using namespace std; /** extracts tracks from the input data @param tracks[out] - the tracks extracted from the input data, sorted by event @param eps - the input points @remarks the input point are sorted by event number */ void extract_tracks(vector > &tracks, const vector &eps); /** sorts the tracks by event @param evt_tracks[out] - tracks sorted by event (1 vector per event) @param tracks - the tracks */ void sort_by_event(vector > &evt_tracks, const vector &tracks); /** given extracted and reconstructed tracks, evaluates the reconstruction quality (total, correct, failed, false positives, redundant) @param orig_tracks - the tracks extracted from the original data @param rec_tracks - the tracks extracted from @param eps - the precision of track comparison @remarks rates are computed per-track, not per-event */ void compute_rates (const vector > &orig_tracks, const vector< vector > &rec_tracks, float eps); #endif