From 0b74499e8023854c4f13b645734ea4aed3adfc5b Mon Sep 17 00:00:00 2001 From: Sven Dildick Date: Mon, 6 Jul 2020 15:21:58 -0500 Subject: [PATCH] Add more comments --- L1Trigger/CSCTriggerPrimitives/src/CSCGEMMotherboard.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/L1Trigger/CSCTriggerPrimitives/src/CSCGEMMotherboard.cc b/L1Trigger/CSCTriggerPrimitives/src/CSCGEMMotherboard.cc index 4f7bcb6672ea6..caf16eef9f07f 100644 --- a/L1Trigger/CSCTriggerPrimitives/src/CSCGEMMotherboard.cc +++ b/L1Trigger/CSCTriggerPrimitives/src/CSCGEMMotherboard.cc @@ -144,6 +144,8 @@ CSCCorrelatedLCTDigi CSCGEMMotherboard::constructLCTsGEM(const CSCALCTDigi& alct p = CSCPart::ME1A; } + // min pad number is always 0 + // max pad number is 191 or 383, depending on the station assert(gem2.pad(1) >= 0); assert(gem2.pad(2) >= 0); assert(gem2.pad(1) < maxPads()); @@ -175,6 +177,8 @@ CSCCorrelatedLCTDigi CSCGEMMotherboard::constructLCTsGEM(const CSCALCTDigi& alct thisLCT.setType(CSCCorrelatedLCTDigi::ALCT2GEM); valid = true; } else if (clct.isValid() and gem2.isValid() and not alct.isValid()) { + // min roll number is always 1 + // max roll number is 8 or 16, depending on the station assert(gem2.roll() >= GEMDetId::minRollId); assert(gem2.roll() <= maxRolls());