26 std::ostringstream oss;
28 oss <<
"DetId: " <<
id.rawId() <<
"\n";
33 switch (
id.subdetId() ) {
66 oss<< tTopo->
layer(
id);
70 switch (
id.subdetId() ) {
74 oss <<
"DT chamber (wheel, station, sector): " 75 << detId.
wheel() <<
", " 83 oss <<
"CSC chamber (endcap, station, ring, chamber, layer): " 86 << detId.
ring() <<
", " 94 oss <<
"RPC chamber ";
95 switch ( detId.
region() ) {
97 oss <<
"/ barrel / (wheel, station, sector, layer, subsector, roll): " 98 << detId.
ring() <<
", " 101 << detId.
layer() <<
", " 106 oss <<
"/ forward endcap / (wheel, station, sector, layer, subsector, roll): " 107 << detId.
ring() <<
", " 110 << detId.
layer() <<
", " 115 oss <<
"/ backward endcap / (wheel, station, sector, layer, subsector, roll): " 116 << detId.
ring() <<
", " 119 << detId.
layer() <<
", " 129 oss <<
"GEM chamber (endcap, station, ring, chamber, layer): " 132 << detId.
ring() <<
", " 140 oss <<
"ME0 chamber (endcap, station, ring, chamber, layer): " 153 oss <<
"CaloTower (ieta, iphi): " 154 << detId.
ieta() <<
", " 160 switch (
id.subdetId() ) {
164 oss <<
"EcalBarrel (ieta, iphi, tower_ieta, tower_iphi): " 165 << detId.
ieta() <<
", " 166 << detId.
iphi() <<
", " 174 oss <<
"EcalEndcap (ix, iy, SuperCrystal, crystal, quadrant): " 175 << detId.
ix() <<
", " 176 << detId.
iy() <<
", " 177 << detId.
isc() <<
", " 178 << detId.
ic() <<
", " 183 oss <<
"EcalPreshower";
186 oss <<
"EcalTriggerTower";
189 oss <<
"EcalLaserPnDiode";
197 switch ( detId.
subdet() ) {
202 oss <<
"HcalBarrel ";
205 oss <<
"HcalEndcap ";
211 oss <<
"HcalForward ";
214 oss <<
"HcalTriggerTower ";
220 oss <<
"(ieta, iphi, depth):" 221 << detId.
ieta() <<
", " 222 << detId.
iphi() <<
", " 234 for(std::set<DetId>::const_iterator
id = idSet.begin();
id != idSet.end();
id++)
236 text +=
info(*
id, tTopo);
244 for(std::vector<DetId>::const_iterator
id = idSet.begin();
id != idSet.end();
id++)
246 text +=
info(*
id, tTopo);
HcalSubdetector subdet() const
get the subdetector
int tower_ieta() const
get the HCAL/trigger ieta of this crystal
int tower_iphi() const
get the HCAL/trigger iphi of this crystal
int chamber() const
Chamber id: it identifies a chamber in a ring it goes from 1 to 36.
int iphi() const
get the crystal iphi
int depth() const
get the tower depth
int chamber() const
Chamber id: it identifies a chamber in a ring it goes from 1 to 36.
int layer() const
Layer id: each station have two layers of chambers: layer 1 is the inner chamber and layer 2 is the o...
int ieta() const
get the cell ieta
int iphi() const
get the tower iphi
int station() const
Station id : the station is the pair of chambers at same disk.
int ieta() const
get the crystal ieta
int region() const
Region id: 0 for Barrel Not in use, +/-1 For +/- Endcap.
int iphi() const
get the cell iphi
static std::string info(const DetId &, const TrackerTopology *tTopo)
int region() const
Region id: 0 for Barrel Not in use, +/-1 For +/- Endcap.
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
unsigned int layer(const DetId &id) const
int subsector() const
SubSector id : some sectors are divided along the phi direction in subsectors (from 1 to 4 in Barrel...
int layer() const
Layer id: each chamber has six layers of chambers: layer 1 is the inner layer and layer 6 is the oute...
int ieta() const
get the tower ieta
int station() const
Return the station number.
int wheel() const
Return the wheel number.
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.