Skip to content

Commit

Permalink
example access detid - not to be integrated
Browse files Browse the repository at this point in the history
  • Loading branch information
jbsauvan committed Oct 12, 2022
1 parent dfa3131 commit 64a1e6e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion L1Trigger/L1THGCal/src/backend/HGCalHistoSeedingImpl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64a1e6e

Please sign in to comment.