26 std::ostringstream oss;
28 oss <<
"DetId: " <<
id.rawId() <<
"\n";
32 switch (
id.subdetId()) {
53 oss << tTopo->
layer(
id);
57 switch (
id.subdetId()) {
60 oss <<
"DT chamber (wheel, station, sector): " <<
detId.wheel() <<
", " <<
detId.station() <<
", " 65 oss <<
"CSC chamber (endcap, station, ring, chamber, layer): " <<
detId.endcap() <<
", " <<
detId.station()
66 <<
", " <<
detId.ring() <<
", " <<
detId.chamber() <<
", " <<
detId.layer();
70 oss <<
"RPC chamber ";
71 switch (
detId.region()) {
73 oss <<
"/ barrel / (wheel, station, sector, layer, subsector, roll): " <<
detId.ring() <<
", " 74 <<
detId.station() <<
", " <<
detId.sector() <<
", " <<
detId.layer() <<
", " <<
detId.subsector()
75 <<
", " <<
detId.roll();
78 oss <<
"/ forward endcap / (wheel, station, sector, layer, subsector, roll): " <<
detId.ring() <<
", " 79 <<
detId.station() <<
", " <<
detId.sector() <<
", " <<
detId.layer() <<
", " <<
detId.subsector()
80 <<
", " <<
detId.roll();
83 oss <<
"/ backward endcap / (wheel, station, sector, layer, subsector, roll): " <<
detId.ring() <<
", " 84 <<
detId.station() <<
", " <<
detId.sector() <<
", " <<
detId.layer() <<
", " <<
detId.subsector()
85 <<
", " <<
detId.roll();
91 oss <<
"GEM chamber (endcap, station, ring, chamber, layer): " <<
detId.region() <<
", " <<
detId.station()
92 <<
", " <<
detId.ring() <<
", " <<
detId.chamber() <<
", " <<
detId.layer();
96 oss <<
"ME0 chamber (endcap, station, ring, chamber, layer): " <<
detId.region() <<
", " <<
detId.station()
97 <<
", " <<
detId.chamber() <<
", " <<
detId.layer();
104 oss <<
"CaloTower (ieta, iphi): " <<
detId.ieta() <<
", " <<
detId.iphi();
108 switch (
id.subdetId()) {
111 oss <<
"EcalBarrel (ieta, iphi, tower_ieta, tower_iphi): " <<
detId.ieta() <<
", " <<
detId.iphi() <<
", " 112 <<
detId.tower_ieta() <<
", " <<
detId.tower_iphi();
116 oss <<
"EcalEndcap (ix, iy, SuperCrystal, crystal, quadrant): " <<
detId.ix() <<
", " <<
detId.iy() <<
", " 120 oss <<
"EcalPreshower";
123 oss <<
"EcalTriggerTower";
126 oss <<
"EcalLaserPnDiode";
133 switch (
detId.subdet()) {
138 oss <<
"HcalBarrel ";
141 oss <<
"HcalEndcap ";
147 oss <<
"HcalForward ";
150 oss <<
"HcalTriggerTower ";
156 oss <<
"(ieta, iphi, depth):" <<
detId.ieta() <<
", " <<
detId.iphi() <<
", " <<
detId.depth();
165 for (std::set<DetId>::const_iterator
id = idSet.begin();
id != idSet.end();
id++) {
174 for (std::vector<DetId>::const_iterator
id = idSet.begin();
id != idSet.end();
id++) {
static constexpr auto TEC
unsigned int layer(const DetId &id) const
static constexpr auto TOB
static constexpr auto TIB
static std::string info(const DetId &, const TrackerTopology *tTopo)
static constexpr auto TID