Skip to content

Commit

Permalink
Keep minRollId and maxRollId to backward compatible.
Browse files Browse the repository at this point in the history
  • Loading branch information
yeckang committed Mar 1, 2021
1 parent aec34b7 commit 6552faf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DataFormats/MuonDetId/interface/GEMDetId.h
Expand Up @@ -32,6 +32,8 @@ class GEMDetId : public DetId {
static constexpr int32_t maxLayerId = 2; // GE1/GE2 has 2 layers
static constexpr int32_t minEtaPartitionId = 0;
static constexpr int32_t maxEtaPartitionId = 16;
static constexpr int32_t minRollId = minEtaPartitionId;
static constexpr int32_t maxRollId = maxEtaPartitionId;

private:
static constexpr uint32_t RegionNumBits = 2;
Expand Down

0 comments on commit 6552faf

Please sign in to comment.