Definition at line 28 of file DetIdInfo.cc.
References DetId::Calo, CSCDetId::chamber(), MuonSubdetId::CSC, HcalDetId::depth(), MuonSubdetId::DT, DetId::Ecal, EcalBarrel, EcalEndcap, EcalLaserPnDiode, EcalPreshower, EcalTriggerTower, CSCDetId::endcap(), DetId::Hcal, HcalBarrel, HcalEmpty, HcalEndcap, HcalForward, HcalOther, HcalOuter, HcalTriggerTower, EEDetId::ic(), CaloTowerDetId::ieta(), HcalDetId::ieta(), EBDetId::ieta(), CaloTowerDetId::iphi(), HcalDetId::iphi(), EBDetId::iphi(), EEDetId::iquadrant(), EEDetId::isc(), EEDetId::ix(), EEDetId::iy(), PXBDetId::layer(), TOBDetId::layer(), TIBDetId::layer(), CSCDetId::layer(), RPCDetId::layer(), DetId::Muon, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, RPCDetId::region(), RPCDetId::ring(), CSCDetId::ring(), RPCDetId::roll(), MuonSubdetId::RPC, DTChamberId::sector(), RPCDetId::sector(), DTChamberId::station(), CSCDetId::station(), RPCDetId::station(), HcalDetId::subdet(), RPCDetId::subsector(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, EBDetId::tower_ieta(), EBDetId::tower_iphi(), DetId::Tracker, DTChamberId::wheel(), TIDDetId::wheel(), and TECDetId::wheel().
Referenced by DetIdAssociator::buildMap(), SimpleNavigableLayer::compatibleLayers(), TrackDetectorAssociator::fillHcal(), TrackDetMatchInfo::findMaxDeposition(), TrackDetectorAssociator::getTAMuonChamberMatches(), info(), and TrackDetMatchInfo::nXnEnergy().
29 std::ostringstream oss;
31 oss <<
"DetId: " <<
id.rawId() <<
"\n";
36 switch (
id.subdetId() ) {
71 switch (
id.subdetId() ) {
75 oss <<
"DT chamber (wheel, station, sector): "
76 << detId.wheel() <<
", "
77 << detId.station() <<
", "
84 oss <<
"CSC chamber (endcap, station, ring, chamber, layer): "
85 << detId.endcap() <<
", "
86 << detId.station() <<
", "
87 << detId.ring() <<
", "
88 << detId.chamber() <<
", "
95 oss <<
"RPC chamber ";
96 switch ( detId.region() ) {
98 oss <<
"/ barrel / (wheel, station, sector, layer, subsector, roll): "
99 << detId.ring() <<
", "
100 << detId.station() <<
", "
101 << detId.sector() <<
", "
102 << detId.layer() <<
", "
103 << detId.subsector() <<
", "
107 oss <<
"/ forward endcap / (wheel, station, sector, layer, subsector, roll): "
108 << detId.ring() <<
", "
109 << detId.station() <<
", "
110 << detId.sector() <<
", "
111 << detId.layer() <<
", "
112 << detId.subsector() <<
", "
116 oss <<
"/ backward endcap / (wheel, station, sector, layer, subsector, roll): "
117 << detId.ring() <<
", "
118 << detId.station() <<
", "
119 << detId.sector() <<
", "
120 << detId.layer() <<
", "
121 << detId.subsector() <<
", "
133 oss <<
"CaloTower (ieta, iphi): "
134 << detId.ieta() <<
", "
140 switch (
id.subdetId() ) {
144 oss <<
"EcalBarrel (ieta, iphi, tower_ieta, tower_iphi): "
145 << detId.ieta() <<
", "
146 << detId.iphi() <<
", "
147 << detId.tower_ieta() <<
", "
148 << detId.tower_iphi();
154 oss <<
"EcalEndcap (ix, iy, SuperCrystal, crystal, quadrant): "
155 << detId.ix() <<
", "
156 << detId.iy() <<
", "
157 << detId.isc() <<
", "
158 << detId.ic() <<
", "
159 << detId.iquadrant();
163 oss <<
"EcalPreshower";
166 oss <<
"EcalTriggerTower";
169 oss <<
"EcalLaserPnDiode";
177 switch ( detId.subdet() ) {
182 oss <<
"HcalBarrel ";
185 oss <<
"HcalEndcap ";
191 oss <<
"HcalForward ";
194 oss <<
"HcalTriggerTower ";
200 oss <<
"(ieta, iphi, depth):"
201 << detId.ieta() <<
", "
202 << detId.iphi() <<
", "
unsigned int layer() const
layer id
unsigned int layer() const
layer id
unsigned int wheel() const
wheel id
unsigned int layer() const
layer id
unsigned int wheel() const
wheel id