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()
70 oss <<
"RPC chamber ";
73 oss <<
"/ barrel / (wheel, station, sector, layer, subsector, roll): " << detId.
ring() <<
", " 75 <<
", " << detId.
roll();
78 oss <<
"/ forward endcap / (wheel, station, sector, layer, subsector, roll): " << detId.
ring() <<
", " 80 <<
", " << detId.
roll();
83 oss <<
"/ backward endcap / (wheel, station, sector, layer, subsector, roll): " << detId.
ring() <<
", " 85 <<
", " << detId.
roll();
91 oss <<
"GEM chamber (endcap, station, ring, chamber, layer): " << detId.
region() <<
", " << detId.
station()
96 oss <<
"ME0 chamber (endcap, station, ring, chamber, layer): " << detId.
region() <<
", " << detId.
station()
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() <<
", " 116 oss <<
"EcalEndcap (ix, iy, SuperCrystal, crystal, quadrant): " << detId.
ix() <<
", " << detId.
iy() <<
", " 117 << detId.
isc() <<
", " << detId.
ic() <<
", " << detId.
iquadrant();
120 oss <<
"EcalPreshower";
123 oss <<
"EcalTriggerTower";
126 oss <<
"EcalLaserPnDiode";
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++) {
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
int station() const
Return the station number.
static constexpr auto TEC
constexpr int station() const
constexpr int region() const
int iphi() const
get the crystal iphi
constexpr int layer() const
constexpr int chamber() const
unsigned int layer(const DetId &id) const
int ieta() const
get the crystal ieta
int tower_ieta() const
get the HCAL/trigger ieta of this crystal
constexpr HcalSubdetector subdet() const
get the subdetector
int layer() const
Layer id: each chamber has six layers of chambers: layer 1 is the inner layer and layer 6 is the oute...
constexpr int ieta() const
get the cell ieta
constexpr int ring() const
static constexpr auto TOB
int tower_iphi() const
get the HCAL/trigger iphi of this crystal
int subsector() const
SubSector id : some sectors are divided along the phi direction in subsectors (from 1 to 4 in Barrel...
int region() const
Region id: 0 for Barrel Not in use, +/-1 For +/- Endcap.
static constexpr auto TIB
int chamber() const
Chamber id: it identifies a chamber in a ring it goes from 1 to 36.
static std::string info(const DetId &, const TrackerTopology *tTopo)
int iphi() const
get the tower iphi
int ieta() const
get the tower ieta
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.
int wheel() const
Return the wheel number.
static constexpr auto TID
constexpr int iphi() const
get the cell iphi
constexpr int depth() const
get the tower depth