@@ -159,8 +159,8 @@ class sbnd::crt::CRTAnalysis : public art::EDAnalyzer {
159159 // strip hit to select the strip which has ADC above threshold
160160 std::vector<uint32_t > _sh_channel;
161161 std::vector<int16_t > _sh_tagger;
162- std::vector<int64_t > _sh_ts0;
163- std::vector<int64_t > _sh_ts1;
162+ std::vector<double > _sh_ts0;
163+ std::vector<double > _sh_ts1;
164164 std::vector<uint32_t > _sh_unixs;
165165 std::vector<double > _sh_pos;
166166 std::vector<double > _sh_err;
@@ -176,16 +176,16 @@ class sbnd::crt::CRTAnalysis : public art::EDAnalyzer {
176176 std::vector<double > _sh_truth_time;
177177
178178 // cluster from x-y coincidence for CRTSpacePoint , this is what we normally call a CRT hit
179- std::vector<int64_t > _cl_ts0;
180- std::vector<int64_t > _cl_ts1;
179+ std::vector<double > _cl_ts0;
180+ std::vector<double > _cl_ts1;
181181 std::vector<uint32_t > _cl_unixs;
182182 std::vector<uint16_t > _cl_nhits;
183183 std::vector<int16_t > _cl_tagger;
184184 std::vector<uint8_t > _cl_composition;
185185 std::vector<std::vector<uint32_t >> _cl_channel_set;
186186 std::vector<std::vector<uint16_t >> _cl_adc_set;
187- std::vector<std::vector<uint32_t >> _cl_sh_ts0_set; // ! To store t0 from x-y coincidences
188- std::vector<std::vector<uint32_t >> _cl_sh_ts1_set; // ! To store t1 from x-y coincidences
187+ std::vector<std::vector<double >> _cl_sh_ts0_set; // ! To store t0 from x-y coincidences
188+ std::vector<std::vector<double >> _cl_sh_ts1_set; // ! To store t1 from x-y coincidences
189189 std::vector<std::vector<uint16_t >> _cl_sh_feb_mac5_set; // ! MAC5 addresses of StripHit FEBs
190190 std::vector<std::vector<double >> _cl_sh_time_walk_set; // ! Time walk correction
191191 std::vector<std::vector<double >> _cl_sh_prop_delay_set; // ! Light propagation correction
@@ -413,8 +413,8 @@ sbnd::crt::CRTAnalysis::CRTAnalysis(fhicl::ParameterSet const& p)
413413
414414 fTree ->Branch (" sh_channel" , " std::vector<uint32_t>" , &_sh_channel);
415415 fTree ->Branch (" sh_tagger" , " std::vector<int16_t>" , &_sh_tagger);
416- fTree ->Branch (" sh_ts0" , " std::vector<int64_t >" , &_sh_ts0);
417- fTree ->Branch (" sh_ts1" , " std::vector<int64_t >" , &_sh_ts1);
416+ fTree ->Branch (" sh_ts0" , " std::vector<double >" , &_sh_ts0);
417+ fTree ->Branch (" sh_ts1" , " std::vector<double >" , &_sh_ts1);
418418 fTree ->Branch (" sh_unixs" , " std::vector<uint32_t>" , &_sh_unixs);
419419 fTree ->Branch (" sh_pos" , " std::vector<double>" , &_sh_pos);
420420 fTree ->Branch (" sh_err" , " std::vector<double>" , &_sh_err);
@@ -432,16 +432,16 @@ sbnd::crt::CRTAnalysis::CRTAnalysis(fhicl::ParameterSet const& p)
432432 fTree ->Branch (" sh_truth_time" , " std::vector<double>" , &_sh_truth_time);
433433 }
434434
435- fTree ->Branch (" cl_ts0" , " std::vector<int64_t >" , &_cl_ts0);
436- fTree ->Branch (" cl_ts1" , " std::vector<int64_t >" , &_cl_ts1);
435+ fTree ->Branch (" cl_ts0" , " std::vector<double >" , &_cl_ts0);
436+ fTree ->Branch (" cl_ts1" , " std::vector<double >" , &_cl_ts1);
437437 fTree ->Branch (" cl_unixs" , " std::vector<uint32_t>" , &_cl_unixs);
438438 fTree ->Branch (" cl_nhits" , " std::vector<uint16_t>" , &_cl_nhits);
439439 fTree ->Branch (" cl_tagger" , " std::vector<int16_t>" , &_cl_tagger);
440440 fTree ->Branch (" cl_composition" , " std::vector<uint8_t>" , &_cl_composition);
441441 fTree ->Branch (" cl_channel_set" , " std::vector<std::vector<uint32_t>>" , &_cl_channel_set);
442442 fTree ->Branch (" cl_adc_set" , " std::vector<std::vector<uint16_t>>" , &_cl_adc_set);
443- fTree ->Branch (" cl_sh_ts0_set" , " std::vector<std::vector<uint32_t >>" , &_cl_sh_ts0_set);
444- fTree ->Branch (" cl_sh_ts1_set" , " std::vector<std::vector<uint32_t >>" , &_cl_sh_ts1_set);
443+ fTree ->Branch (" cl_sh_ts0_set" , " std::vector<std::vector<double >>" , &_cl_sh_ts0_set);
444+ fTree ->Branch (" cl_sh_ts1_set" , " std::vector<std::vector<double >>" , &_cl_sh_ts1_set);
445445 fTree ->Branch (" cl_sh_feb_mac5_set" , " std::vector<std::vector<uint16_t>>" , &_cl_sh_feb_mac5_set);
446446 fTree ->Branch (" cl_sh_time_walk_set" , " std::vector<std::vector<double>>" , &_cl_sh_time_walk_set);
447447 fTree ->Branch (" cl_sh_prop_delay_set" , " std::vector<std::vector<double>>" , &_cl_sh_prop_delay_set);
0 commit comments