@@ -208,18 +208,21 @@ class Hitdumper : public art::EDAnalyzer {
208208 std::vector<double > _crt_space_point_x; // /< CRT SpacePoint x
209209 std::vector<double > _crt_space_point_y; // /< CRT SpacePoint y
210210 std::vector<double > _crt_space_point_z; // /< CRT SpacePoint z
211- std::vector<double > _crt_space_point_time; // /< CRT SpacePoint time
211+ std::vector<double > _crt_space_point_t0; // /< CRT SpacePoint t0
212+ std::vector<double > _crt_space_point_t1; // /< CRT SpacePoint t1
212213 std::vector<double > _crt_space_point_x_err; // /< CRT SpacePoint x error
213214 std::vector<double > _crt_space_point_y_err; // /< CRT SpacePoint y error
214215 std::vector<double > _crt_space_point_z_err; // /< CRT SpacePoint z error
215- std::vector<double > _crt_space_point_time_err; // /< CRT SpacePoint time error
216+ std::vector<double > _crt_space_point_t0_err; // /< CRT SpacePoint t0 error
217+ std::vector<double > _crt_space_point_t1_err; // /< CRT SpacePoint t1 error
216218 std::vector<double > _crt_space_point_pe; // /< CRT SpacePoint PE
217219 std::vector<int > _crt_space_point_tagger; // /< CRT SpacePoint tagger enum
218220 std::vector<int > _crt_space_point_nhits; // /< CRT SpacePoint nhits
219221
220222 // CRT track variables
221- uint _n_crt_tracks; // /< Number of CRT tracks
222- std::vector<double > _crt_track_time; // /< CRT track time
223+ uint _n_crt_tracks; // /< Number of CRT tracks
224+ std::vector<double > _crt_track_t0; // /< CRT track t0
225+ std::vector<double > _crt_track_t1; // /< CRT track t1
223226 std::vector<double > _crt_track_pes; // /< CRT track PEs
224227 std::vector<double > _crt_track_x1; // /< CRT track x1
225228 std::vector<double > _crt_track_y1; // /< CRT track y1
@@ -641,11 +644,13 @@ void Hitdumper::analyze(const art::Event& evt)
641644 _crt_space_point_x.push_back (spacePoint->X ());
642645 _crt_space_point_y.push_back (spacePoint->Y ());
643646 _crt_space_point_z.push_back (spacePoint->Z ());
644- _crt_space_point_time.push_back (spacePoint->Time ());
647+ _crt_space_point_t0.push_back (spacePoint->Ts0 ());
648+ _crt_space_point_t1.push_back (spacePoint->Ts1 ());
645649 _crt_space_point_x_err.push_back (spacePoint->XErr ());
646650 _crt_space_point_y_err.push_back (spacePoint->YErr ());
647651 _crt_space_point_z_err.push_back (spacePoint->ZErr ());
648- _crt_space_point_time_err.push_back (spacePoint->TimeErr ());
652+ _crt_space_point_t0_err.push_back (spacePoint->Ts0Err ());
653+ _crt_space_point_t1_err.push_back (spacePoint->Ts1Err ());
649654 _crt_space_point_pe.push_back (spacePoint->PE ());
650655 _crt_space_point_tagger.push_back (cluster->Tagger ());
651656 _crt_space_point_nhits.push_back (cluster->NHits ());
@@ -672,7 +677,8 @@ void Hitdumper::analyze(const art::Event& evt)
672677 for (uint i = 0 ; i < _n_crt_tracks; ++i){
673678 const art::Ptr<sbnd::crt::CRTTrack> crttrack=ctrklist[i];
674679 _crt_track_pes.push_back (crttrack->PE ());
675- _crt_track_time.push_back (crttrack->Time ());
680+ _crt_track_t0.push_back (crttrack->Ts0 ());
681+ _crt_track_t1.push_back (crttrack->Ts1 ());
676682
677683 const geo::Point_t start = crttrack->Start ();
678684 const geo::Point_t end = crttrack->End ();
@@ -1221,11 +1227,13 @@ void Hitdumper::analyze(const art::Event& evt)
12211227 fTree ->Branch (" crt_space_point_x" , &_crt_space_point_x);
12221228 fTree ->Branch (" crt_space_point_y" , &_crt_space_point_y);
12231229 fTree ->Branch (" crt_space_point_z" , &_crt_space_point_z);
1224- fTree ->Branch (" crt_space_point_time" , &_crt_space_point_time);
1230+ fTree ->Branch (" crt_space_point_t0" , &_crt_space_point_t0);
1231+ fTree ->Branch (" crt_space_point_t1" , &_crt_space_point_t1);
12251232 fTree ->Branch (" crt_space_point_x_err" , &_crt_space_point_x_err);
12261233 fTree ->Branch (" crt_space_point_y_err" , &_crt_space_point_y_err);
12271234 fTree ->Branch (" crt_space_point_z_err" , &_crt_space_point_z_err);
1228- fTree ->Branch (" crt_space_point_time_err" , &_crt_space_point_time_err);
1235+ fTree ->Branch (" crt_space_point_t0_err" , &_crt_space_point_t0_err);
1236+ fTree ->Branch (" crt_space_point_t1_err" , &_crt_space_point_t1_err);
12291237 fTree ->Branch (" crt_space_point_pe" , &_crt_space_point_pe);
12301238 fTree ->Branch (" crt_space_point_tagger" , &_crt_space_point_tagger);
12311239 fTree ->Branch (" crt_space_point_nhits" , &_crt_space_point_nhits);
@@ -1238,7 +1246,8 @@ void Hitdumper::analyze(const art::Event& evt)
12381246 fTree ->Branch (" crt_track_x2" , &_crt_track_x2);
12391247 fTree ->Branch (" crt_track_y2" , &_crt_track_y2);
12401248 fTree ->Branch (" crt_track_z2" , &_crt_track_z2);
1241- fTree ->Branch (" crt_track_time" , &_crt_track_time);
1249+ fTree ->Branch (" crt_track_t0" , &_crt_track_t0);
1250+ fTree ->Branch (" crt_track_t1" , &_crt_track_t1);
12421251 fTree ->Branch (" crt_track_pes" , &_crt_track_pes);
12431252 fTree ->Branch (" crt_track_tagger1" , &_crt_track_tagger1);
12441253 fTree ->Branch (" crt_track_tagger2" , &_crt_track_tagger2);
@@ -1428,7 +1437,8 @@ void Hitdumper::ResetCRTTracksVars() {
14281437 _crt_track_x1.clear ();
14291438 _crt_track_y1.clear ();
14301439 _crt_track_z1.clear ();
1431- _crt_track_time.clear ();
1440+ _crt_track_t0.clear ();
1441+ _crt_track_t1.clear ();
14321442 _crt_track_pes.clear ();
14331443 _crt_track_x2.clear ();
14341444 _crt_track_y2.clear ();
@@ -1444,11 +1454,13 @@ void Hitdumper::ResetCRTSpacePointVars() {
14441454 _crt_space_point_x.clear ();
14451455 _crt_space_point_y.clear ();
14461456 _crt_space_point_z.clear ();
1447- _crt_space_point_time.clear ();
1457+ _crt_space_point_t0.clear ();
1458+ _crt_space_point_t1.clear ();
14481459 _crt_space_point_x_err.clear ();
14491460 _crt_space_point_y_err.clear ();
14501461 _crt_space_point_z_err.clear ();
1451- _crt_space_point_time_err.clear ();
1462+ _crt_space_point_t0_err.clear ();
1463+ _crt_space_point_t1_err.clear ();
14521464 _crt_space_point_pe.clear ();
14531465 _crt_space_point_tagger.clear ();
14541466 _crt_space_point_nhits.clear ();
0 commit comments