|
|
Go to the documentation of this file.
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 ieta() const
get the crystal ieta
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.
constexpr int ring() const
int subsector() const
SubSector id : some sectors are divided along the phi direction in subsectors (from 1 to 4 in Barrel,...
constexpr int layer() const
constexpr int iphi() const
get the cell iphi
constexpr int region() const
unsigned int layer(const DetId &id) const
constexpr int depth() const
get the tower depth
int tower_ieta() const
get the HCAL/trigger ieta of this crystal
static std::string info(const DetId &, const TrackerTopology *tTopo)
static constexpr auto TIB
int tower_iphi() const
get the HCAL/trigger iphi of this crystal
constexpr int chamber() const
constexpr int ieta() const
get the cell ieta
constexpr HcalSubdetector subdet() const
get the subdetector
int iphi() const
get the tower iphi
int ieta() const
get the tower ieta
static constexpr auto TEC
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
int chamber() const
Chamber id: it identifies a chamber in a ring it goes from 1 to 36.
static constexpr auto TOB
constexpr int station() const
int iphi() const
get the crystal iphi
int region() const
Region id: 0 for Barrel Not in use, +/-1 For +/- Endcap.
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 wheel() const
Return the wheel number.
static constexpr auto TID
int station() const
Return the station number.