22 void trackMonitoring(
const std::vector<ldmx::StraightTrack>& tracks,
23 const std::vector<ldmx::Measurement>& measurements,
24 const std::string title,
const bool& do_detail);
27 void trackMonitoringUnique(
const std::vector<ldmx::StraightTrack>& tracks,
28 const std::vector<ldmx::Measurement>& measurements,
29 const std::string title,
const bool& do_detail,
30 const bool& do_truth);
35 void sortTracks(
const std::vector<ldmx::StraightTrack>& tracks,
36 std::vector<ldmx::StraightTrack>& unique_tracks,
37 std::vector<ldmx::StraightTrack>& duplicate_tracks,
38 std::vector<ldmx::StraightTrack>& fake_tracks);
43 double thetaAngleError(
double m_x,
double m_y,
44 const std::vector<double>& covariance_vector);
45 double phiAngleError(
double m_x,
46 const std::vector<double>& covariance_vector);
47 double locError(
double var_slope,
double var_intercept,
48 double cov_slope_intercept,
double z_pos);
51 std::string track_collection_{
"LinearRecoilTracks"};
52 std::string truth_collection_{
"LinearRecoilTruthTracks"};
53 std::string measurement_collection_{
"DigiRecoilSimHits"};
54 std::string title_{
"recoil_lin_trk_"};
55 std::string input_pass_name_{
""};
56 std::string track_collection_events_passname_;
57 std::string truth_collection_events_passname_;
59 double track_prob_cut_{0.5};
60 std::string subdetector_{
"Recoil"};
61 bool do_truth_comparison_{
false};
64 std::shared_ptr<ldmx::StraightTracks> truth_track_collection_{
nullptr};
69 std::vector<ldmx::StraightTrack> unique_tracks_;
71 std::vector<ldmx::StraightTrack> duplicate_tracks_;
73 std::vector<ldmx::StraightTrack> fake_tracks_;