@@ -21,8 +21,10 @@ namespace sbnd::crt {
2121 class CRTTrack {
2222
2323 std::vector<geo::Point_t> fPoints ; // the fitted track points at each tagger [cm]
24- double fTime ; // average time [ns]
25- double fTimeErr ; // average time error [ns]
24+ double fTs0 ; // average time according to T0 clock [ns]
25+ double fTs0Err ; // average time error according to T0 clock [ns]
26+ double fTs1 ; // average time according to T1 clock [ns]
27+ double fTs1Err ; // average time error according to T1 clock [ns]
2628 double fPE ; // total PE
2729 double fToF ; // time from first space point to last [ns]
2830 std::set<CRTTagger> fTaggers ; // which taggers were used to create the track
@@ -31,17 +33,21 @@ namespace sbnd::crt {
3133
3234 CRTTrack ();
3335
34- CRTTrack (const geo::Point_t &_start, const geo::Point_t &_end, const double &_time, const double &_etime,
35- const double &_pe, const double &_tof, const std::set<CRTTagger> &_taggers);
36+ CRTTrack (const geo::Point_t &_start, const geo::Point_t &_end, const double &_ts0, const double &_ets0,
37+ const double &_ts1, const double &_ets1, const double &_pe, const double &_tof,
38+ const std::set<CRTTagger> &_taggers);
3639
37- CRTTrack (const std::vector<geo::Point_t> &_points, const double &_time, const double &_etime,
38- const double &_pe, const double &_tof, const std::set<CRTTagger> &_taggers);
40+ CRTTrack (const std::vector<geo::Point_t> &_points, const double &_ts0, const double &_ets0,
41+ const double &_ts1, const double &_ets1, const double &_pe, const double &_tof,
42+ const std::set<CRTTagger> &_taggers);
3943
4044 virtual ~CRTTrack ();
4145
4246 std::vector<geo::Point_t> Points () const ;
43- double Time () const ;
44- double TimeErr () const ;
47+ double Ts0 () const ;
48+ double Ts0Err () const ;
49+ double Ts1 () const ;
50+ double Ts1Err () const ;
4551 double PE () const ;
4652 double ToF () const ;
4753 std::set<CRTTagger> Taggers () const ;
0 commit comments