Definition at line 25 of file DetIdInfo.cc.
References DetId::Calo, MuonSubdetId::CSC, hcalRecHitTable_cff::detId, MuonSubdetId::DT, DetId::Ecal, EcalBarrel, EcalEndcap, EcalLaserPnDiode, EcalPreshower, EcalTriggerTower, MuonSubdetId::GEM, DetId::Hcal, HcalBarrel, HcalEmpty, HcalEndcap, HcalForward, HcalOther, HcalOuter, HcalTriggerTower, TrackerTopology::layer(), MuonSubdetId::ME0, DetId::Muon, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, nano_mu_digi_cff::rawId, MuonSubdetId::RPC, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, and DetId::Tracker.
Referenced by DetIdAssociator::buildMap(), TrackDetectorAssociator::fillHcal(), TrackDetMatchInfo::findMaxDeposition(), TrackDetectorAssociator::getTAMuonChamberMatches(), info(), and TrackDetMatchInfo::nXnEnergy().
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();
static constexpr auto TEC
unsigned int layer(const DetId &id) const
static constexpr auto TOB
static constexpr auto TIB
static constexpr auto TID