1 #ifndef DataFormats_MuonDetId_GEMDetId_h 2 #define DataFormats_MuonDetId_GEMDetId_h 81 <<
"GEMDetId ctor: det: " <<
det() <<
" subdet: " <<
subdetId() <<
" is not a valid GEM id\n";
90 <<
"GEMDetId ctor: det: " <<
det() <<
" subdet: " <<
subdetId() <<
" is not a valid GEM id\n";
101 <<
"GEMDetId ctor: Invalid parameters: region " <<
region <<
" ring " <<
ring <<
" station " <<
station 102 <<
" layer " <<
layer <<
" chamber " <<
chamber <<
" ieta " <<
ieta << std::endl;
109 int ietaInBits =
ieta;
120 int subdet =
gen.subdetId();
123 <<
"GEMDetId ctor: Cannot assign GEMDetID from " << std::hex <<
gen.rawId() <<
std::dec;
136 uint32_t rawid =
gen.rawId();
139 int reg(0), ri(0), stn(-1), lay(0), chamb(0),
iet(0);
145 uint32_t rawid =
gen.rawId();
148 int reg(0), ri(0), stn(-1), lay(0), chamb(0),
iet(0);
156 if (
r.station() == this->
station()) {
220 uint32_t rawid(inpid);
229 int ietaInBits =
ieta;
static constexpr uint32_t LayerNumBits
constexpr bool operator==(const GEMDetId &gen) const
static constexpr uint32_t LayerMask
static constexpr uint32_t ChamberNumBits
constexpr int station() const
std::ostream & operator<<(std::ostream &os, const GEMDetId &id)
static constexpr uint32_t StationStartBit
static constexpr uint32_t LayerNumBitsP
constexpr int region() const
static constexpr void unpackId(const uint32_t &rawid, int ®ion, int &ring, int &station, int &layer, int &chamber, int &ieta)
static constexpr uint32_t StationNumBits
static constexpr uint32_t FormatMask
constexpr bool v11Format() const
static constexpr uint32_t v12Form(const uint32_t &inpid)
static constexpr uint32_t LayerStartBitM
static constexpr int32_t maxRegionId
constexpr bool operator<(const GEMDetId &r) const
static constexpr uint32_t LayerMaskP
static constexpr uint32_t FormatStartBit
static constexpr uint32_t RingMask
static const int kSubdetOffset
constexpr int layer() const
static constexpr int32_t maxRingId
constexpr GEMDetId(int region, int ring, int station, int layer, int chamber, int ieta)
Construct from fully qualified identifier.
constexpr Detector det() const
get the detector field from this detid
constexpr int chamber() const
static constexpr int32_t maxLayerId0
static constexpr uint32_t RegionMask
static constexpr uint32_t ChamberStartBit
constexpr GEMDetId(DetId id)
static constexpr uint32_t LayerStartBit
constexpr uint32_t v12Form() const
static const int kSubdetMask
static constexpr uint32_t StationMask
static constexpr uint32_t EtaPartitionStartBitP
static constexpr uint32_t chamberIdMask
static constexpr int32_t minStationId0
static constexpr uint32_t EtaPartitionStartBit
static constexpr int32_t maxStationId
constexpr int ring() const
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static constexpr uint32_t FormatNumBits
static constexpr int32_t maxEtaPartitionId
constexpr GEMDetId(uint32_t id)
static constexpr uint32_t kMuonIdMask
static constexpr uint32_t RegionNumBits
constexpr int ieta() const
static constexpr uint32_t EtaPartitionMask
static constexpr uint32_t superChamberIdMask
constexpr void v12FromV11(const uint32_t &rawid)
static constexpr uint32_t RingNumBits
static constexpr int32_t minRingId
GEMSubDetId::Station subsystem() const
constexpr uint32_t rawId() const
get the raw id
constexpr GEMDetId layerId() const
static const int kDetMask
static constexpr uint32_t kGEMIdFormat
static constexpr int32_t minRollId
static constexpr int32_t maxLayerId
static constexpr uint32_t RegionStartBit
static constexpr int32_t maxChamberId
constexpr GEMDetId superChamberId() const
static const int kDetOffset
constexpr int roll() const
constexpr GEMDetId & operator=(const DetId &gen)
static constexpr uint32_t ChamberStartBitM
static constexpr int32_t minChamberId
static constexpr uint32_t EtaPartitionStartBitM
static constexpr int32_t minStationId
constexpr GEMDetId chamberId() const
static constexpr uint32_t RingStartBit
static constexpr int32_t minEtaPartitionId
static constexpr uint32_t EtaPartitionNumBits
constexpr int nlayers() const
static constexpr int32_t minLayerId
constexpr bool operator!=(const GEMDetId &gen) const
static constexpr uint32_t ChamberMask
static constexpr int32_t minRegionId
static constexpr int32_t maxRollId