@@ -64,7 +64,6 @@ sbn::TrackCaloSkimmer::TrackCaloSkimmer(fhicl::ParameterSet const& p)
6464 : EDAnalyzer{p},
6565 fFitExp (2 ),
6666 fFitConst(1 )
67- , fCRTEventDisplayAlg(p.get<fhicl::ParameterSet>(" CRTEventDisplayAlg" ))
6867{
6968 // Grab config
7069 fPFPproducer = p.get < art::InputTag > (" PFPproducer" ," pandoraGausCryo0" );
@@ -261,7 +260,6 @@ void sbn::TrackCaloSkimmer::analyze(art::Event const& e)
261260
262261 // The raw digit list is not sorted, so make it into a map on the WireID
263262 std::map<geo::WireID, art::Ptr<raw::RawDigit>> rawdigits;
264- /*
265263 for (const art::Ptr<raw::RawDigit> &d: rawdigitlist) {
266264
267265 std::vector<geo::WireID> wids;
@@ -281,7 +279,7 @@ void sbn::TrackCaloSkimmer::analyze(art::Event const& e)
281279
282280 rawdigits[wids[0 ]] = d;
283281 }
284- */
282+
285283 // Collect all hits
286284 art::ValidHandle<std::vector<recob::Hit>> allhit_handle = e.getValidHandle <std::vector<recob::Hit>>(fHITproducer );
287285 std::vector<art::Ptr<recob::Hit>> allHits;
@@ -298,12 +296,10 @@ void sbn::TrackCaloSkimmer::analyze(art::Event const& e)
298296 const cheat::BackTrackerService *bt = NULL ;
299297
300298 if (simchannels.size ()) {
301- /*
302299 art::ServiceHandle<cheat::BackTrackerService> bt_serv;
303300 id_to_ide_map = caf::PrepSimChannels (simchannels, *wireReadout);
304301 id_to_truehit_map = caf::PrepTrueHits (allHits, clock_data, *bt_serv.get ());
305302 bt = bt_serv.get ();
306- */
307303 }
308304
309305 // service data
@@ -412,23 +408,6 @@ void sbn::TrackCaloSkimmer::analyze(art::Event const& e)
412408
413409 hasT0 = hasPFPT0 || hasCRTTrackT0 || hasCRTHitT0 || hasCRTSpacePointT0;
414410
415- if (hasPFPT0)
416- {
417- fCRTEventDisplayAlg .SetPrint (true );
418- fCRTEventDisplayAlg .SetMinTime (t0PFP - 3e3 );
419- fCRTEventDisplayAlg .SetMaxTime (t0PFP + 3e3 );
420-
421- auto const clockData = art::ServiceHandle<detinfo::DetectorClocksService const >()->DataFor (e);
422-
423- if (hasCRTTrackT0)
424- {
425- std::cout << t0CRTTrack << std::endl;
426- fCRTEventDisplayAlg .Draw (clockData, e, Form (" /exp/sbnd/data/users/hlay/crt_fall_production_2025/t0_event_displays/good/crtEventDisplayRun%iSubrun%iEvent%iPFP%li" , e.run (), e.subRun (), e.event (), p_pfp.key ()));
427- }
428- else
429- fCRTEventDisplayAlg .Draw (clockData, e, Form (" /exp/sbnd/data/users/hlay/crt_fall_production_2025/t0_event_displays/bad/crtEventDisplayRun%iSubrun%iEvent%iPFP%li" , e.run (), e.subRun (), e.event (), p_pfp.key ()));
430- }
431- continue ;
432411 // "whicht0" should reflect the T0 used for the reconstruction of the drift coordinate.
433412 if (!hasT0) whicht0 = -1 ;
434413 // In this way, if a track is T0 tagged from PFP and CRT tagged, which T0 reflects the PFP Tag.
0 commit comments