26 "",
"",
"",
"ctpps_tr_strip",
"ctpps_tr_pixel",
"ctpps_ti_diamond",
"ctpps_ti_fastsilicon",
"totem_t2"};
30 "CTPPS/TrackingStrip",
31 "CTPPS/TrackingPixel",
32 "CTPPS/TimingDiamond",
33 "CTPPS/TimingFastSilicon",
37 const string CTPPSDetId::rpNames[] = {
"nr_tp",
"nr_bt",
"nr_hr",
"fr_hr",
"fr_tp",
"fr_bt",
"cyl_hr"};
47 <<
" is not a valid CTPPS id.";
57 throw cms::Exception(
"InvalidDetId") <<
"CTPPSDetId ctor: invalid sub-detector " <<
SubDet <<
".";
62 <<
" Invalid parameters:" 63 <<
" arm=" << Arm <<
" station=" << Station <<
" rp=" << RomanPot << std::endl;
66 uint32_t
ok = 0xfe000000;
77 os <<
"subDet=" <<
id.subdetId() <<
" arm=" <<
id.arm() <<
" station=" <<
id.station() <<
" rp=" <<
id.rp();
std::ostream & operator<<(std::ostream &os, const CTPPSDetId &id)
static const uint32_t maxStation
static const uint32_t startRPBit
constexpr Detector det() const
get the detector field from this detid
static const uint32_t maskStation
static const uint32_t maskRP
static const std::string armNames[]
static const uint32_t lowMaskStation
static const uint32_t maskArm
static const uint32_t maxArm
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static const std::string subDetectorPaths[]
static const uint32_t maxRP
static const std::string rpNames[]
static const std::string subDetectorNames[]
static const uint32_t startStationBit
Base class for CTPPS detector IDs.
CTPPSDetId(uint32_t id)
Construct from a raw id.
static const uint32_t startArmBit
static const std::string stationNames[]
static const uint32_t lowMaskArm
static const uint32_t lowMaskRP