From 64a1e6e5fec51c760fa3cf77822106fbdb1ca3fa Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Sauvan Date: Wed, 12 Oct 2022 16:15:13 +0200 Subject: [PATCH] example access detid - not to be integrated --- L1Trigger/L1THGCal/src/backend/HGCalHistoSeedingImpl.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/L1Trigger/L1THGCal/src/backend/HGCalHistoSeedingImpl.cc b/L1Trigger/L1THGCal/src/backend/HGCalHistoSeedingImpl.cc index 2353c592070be..03325655aa4da 100644 --- a/L1Trigger/L1THGCal/src/backend/HGCalHistoSeedingImpl.cc +++ b/L1Trigger/L1THGCal/src/backend/HGCalHistoSeedingImpl.cc @@ -89,7 +89,11 @@ HGCalHistoSeedingImpl::Histogram HGCalHistoSeedingImpl::fillHistoClusters( }; if (x1 < minx1 || x1 >= maxx1) { throw cms::Exception("OutOfBound") << "TC X1 = " << x1 << " out of the seeding histogram bounds " << minx1 - << " - " << maxx1; + << " - " << maxx1 + << "\n x= " << clu->centre().x() << ", y = " << clu->centre().y() + << "\n silicon = " << triggerTools_.isSilicon(clu->detId()) + << "\n TC detid(si) = " << HGCalTriggerDetId(clu->detId()) + << "\n TC detid(sci) = " << HGCScintillatorDetId(clu->detId()); } if (x2 < minx2 || x2 >= maxx2) { throw cms::Exception("OutOfBound") << "TC X2 = " << x2 << " out of the seeding histogram bounds " << minx2