Go to the documentation of this file.
11 std::map<std::string, sistripsummary::TrackerRegion>
mapping = {
30 <<
"Unknown partition: " <<
region;
47 std::vector<sistripsummary::TrackerRegion>
ret;
61 side = m_trackerTopo->
tidSide(detid);
62 subdet = 3 * 10 + side;
67 side = m_trackerTopo->
tecSide(detid);
68 subdet = 4 * 10 + side;
72 detCode = (subdet * 10) +
layer;
74 ret.push_back(static_cast<sistripsummary::TrackerRegion>(detCode));
76 if (subdet / 10 > 0) {
77 ret.push_back(static_cast<sistripsummary::TrackerRegion>(subdet / 10));
80 ret.push_back(static_cast<sistripsummary::TrackerRegion>(subdet));
93 std::map<unsigned int, float> info_per_detid;
100 if (
mod !=
nullptr && !
mod->notInUse() &&
mod->count > 0) {
101 info_per_detid[
key] =
mod->value;
ret
prodAgent to be discontinued
T mod(const T &a, const T &b)
unsigned int tidWheel(const DetId &id) const
static constexpr auto TIB
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
constexpr std::array< uint8_t, layerIndexSize > layer
std::pair< float, float > getTruncatedRange(const TrackerMap *theMap)
unsigned int tidSide(const DetId &id) const
Log< level::Error, false > LogError
unsigned int tobLayer(const DetId &id) const
static constexpr auto TEC
static constexpr auto TOB
sistripsummary::TrackerRegion getRegionFromString(std::string region)
unsigned int tecWheel(const DetId &id) const
std::pair< float, float > getTheRange(std::map< uint32_t, float > values, const float nsigma)
static constexpr auto TID
std::vector< sistripsummary::TrackerRegion > getRegionsFromDetId(const TrackerTopology *m_trackerTopo, DetId detid)
unsigned int tibLayer(const DetId &id) const
unsigned int tecSide(const DetId &id) const