From 1fef2d9e71b05b4d97c11a9c3123ba186be9c2ce Mon Sep 17 00:00:00 2001 From: Tamas Vami Date: Wed, 28 Aug 2024 21:08:18 -0700 Subject: [PATCH] Loosen so we can reach other layers --- Ecal/src/Ecal/EcalVetoProcessor.cxx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Ecal/src/Ecal/EcalVetoProcessor.cxx b/Ecal/src/Ecal/EcalVetoProcessor.cxx index 6ef9dc4d0..57599b186 100644 --- a/Ecal/src/Ecal/EcalVetoProcessor.cxx +++ b/Ecal/src/Ecal/EcalVetoProcessor.cxx @@ -990,9 +990,6 @@ void EcalVetoProcessor::produce(framework::Event &event) { ldmx_log(debug) << "Finding linreg tracks from " << trackingHitList.size() << " hits"; - std::cout << "Finding linreg tracks from " << trackingHitList.size() - << " hits" << std::endl; - for (int iHit = 0; iHit < trackingHitList.size(); iHit++) { int track[34]; int trackLen; @@ -1020,7 +1017,8 @@ void EcalVetoProcessor::produce(framework::Event &event) { continue; float dstToHit = (trackingHitList[iHit].pos - trackingHitList[jHit].pos).Mag(); - if (dstToHit <= 2 * cellWidth) { + // TODO + if (dstToHit <= 20) { hitsInRegion[nHitsInRegion] = jHit; nHitsInRegion++; } @@ -1104,7 +1102,6 @@ void EcalVetoProcessor::produce(framework::Event &event) { } // end 2nd loop on hits in the region if (trackLen == 0) continue; - std::cout << " trackLen " << trackLen << std::endl; // Ordinarily, additional hits in line w/ track would be added here. // However, this doesn't affect the results of the simple veto. Exclude all @@ -1122,10 +1119,6 @@ void EcalVetoProcessor::produce(framework::Event &event) { << " straight tracks and " << nLinregTracks_ << " lin-reg tracks"; - std::cout << " MIP tracking completed; found " << nStraightTracks_ - << " straight tracks and " << nLinregTracks_ << " lin-reg tracks" - << std::endl; - result.setVariables( nReadoutHits_, deepestLayerHit_, summedDet_, summedTightIso_, maxCellDep_, showerRMS_, xStd_, yStd_, avgLayerHit_, stdLayerHit_, ecalBackEnergy_,