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() <<
", "
84 oss <<
"CSC chamber (endcap, station, ring, chamber, layer): "
87 << detId.
ring() <<
", "
95 oss <<
"RPC chamber ";
96 switch ( detId.
region() ) {
98 oss <<
"/ barrel / (wheel, station, sector, layer, subsector, roll): "
99 << detId.
ring() <<
", "
102 << detId.
layer() <<
", "
107 oss <<
"/ forward endcap / (wheel, station, sector, layer, subsector, roll): "
108 << detId.
ring() <<
", "
111 << detId.
layer() <<
", "
116 oss <<
"/ backward endcap / (wheel, station, sector, layer, subsector, roll): "
117 << detId.
ring() <<
", "
120 << detId.
layer() <<
", "
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() <<
", "
154 oss <<
"EcalEndcap (ix, iy, SuperCrystal, crystal, quadrant): "
155 << detId.
ix() <<
", "
156 << detId.
iy() <<
", "
157 << detId.
isc() <<
", "
158 << detId.
ic() <<
", "
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() <<
", "
214 for(std::set<DetId>::const_iterator
id = idSet.begin();
id != idSet.end();
id++)
224 for(std::vector<DetId>::const_iterator
id = idSet.begin();
id != idSet.end();
id++)
unsigned int layer() const
layer id
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
unsigned int layer() const
layer id
int iphi() const
get the crystal iphi
int depth() const
get the tower depth
int ieta() const
get the cell ieta
int iphi() const
get the tower iphi
static std::string info(const DetId &)
int ieta() const
get the crystal ieta
int iphi() const
get the cell iphi
unsigned int wheel() const
wheel id
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
unsigned int layer() const
layer id
int subsector() const
SubSector id : some sectors are divided along the phi direction in subsectors (from 1 to 4 in Barrel...
int ieta() const
get the tower ieta
int station() const
Return the station number.
int wheel() const
Return the wheel number.
unsigned int wheel() const
wheel id
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.