32 std::ostringstream oss;
34 oss <<
"DetId: " <<
id.rawId() <<
"\n";
39 switch (
id.subdetId() ) {
72 oss<< tTopo->
layer(
id);
76 switch (
id.subdetId() ) {
80 oss <<
"DT chamber (wheel, station, sector): " 81 << detId.
wheel() <<
", " 89 oss <<
"CSC chamber (endcap, station, ring, chamber, layer): " 92 << detId.
ring() <<
", " 100 oss <<
"RPC chamber ";
101 switch ( detId.
region() ) {
103 oss <<
"/ barrel / (wheel, station, sector, layer, subsector, roll): " 104 << detId.
ring() <<
", " 107 << detId.
layer() <<
", " 112 oss <<
"/ forward endcap / (wheel, station, sector, layer, subsector, roll): " 113 << detId.
ring() <<
", " 116 << detId.
layer() <<
", " 121 oss <<
"/ backward endcap / (wheel, station, sector, layer, subsector, roll): " 122 << detId.
ring() <<
", " 125 << detId.
layer() <<
", " 135 oss <<
"GEM chamber (endcap, station, ring, chamber, layer): " 138 << detId.
ring() <<
", " 146 oss <<
"ME0 chamber (endcap, station, ring, chamber, layer): " 159 oss <<
"CaloTower (ieta, iphi): " 160 << detId.
ieta() <<
", " 166 switch (
id.subdetId() ) {
170 oss <<
"EcalBarrel (ieta, iphi, tower_ieta, tower_iphi): " 171 << detId.
ieta() <<
", " 172 << detId.
iphi() <<
", " 180 oss <<
"EcalEndcap (ix, iy, SuperCrystal, crystal, quadrant): " 181 << detId.
ix() <<
", " 182 << detId.
iy() <<
", " 183 << detId.
isc() <<
", " 184 << detId.
ic() <<
", " 189 oss <<
"EcalPreshower";
192 oss <<
"EcalTriggerTower";
195 oss <<
"EcalLaserPnDiode";
203 switch ( detId.
subdet() ) {
208 oss <<
"HcalBarrel ";
211 oss <<
"HcalEndcap ";
217 oss <<
"HcalForward ";
220 oss <<
"HcalTriggerTower ";
226 oss <<
"(ieta, iphi, depth):" 227 << detId.
ieta() <<
", " 228 << detId.
iphi() <<
", " 240 for(std::set<DetId>::const_iterator
id = idSet.begin();
id != idSet.end();
id++)
242 text +=
info(*
id, tTopo);
250 for(std::vector<DetId>::const_iterator
id = idSet.begin();
id != idSet.end();
id++)
252 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.