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;
static constexpr auto TEC
unsigned int tobLayer(const DetId &id) const
std::vector< sistripsummary::TrackerRegion > getRegionsFromDetId(const TrackerTopology *m_trackerTopo, DetId detid)
sistripsummary::TrackerRegion getRegionFromString(std::string region)
ret
prodAgent to be discontinued
unsigned int tidSide(const DetId &id) const
unsigned int tidWheel(const DetId &id) const
unsigned int tecWheel(const DetId &id) const
Log< level::Error, false > LogError
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
std::pair< float, float > getTheRange(std::map< uint32_t, float > values, const float nsigma)
unsigned int tecSide(const DetId &id) const
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static constexpr auto TOB
static constexpr auto TIB
std::pair< float, float > getTruncatedRange(const TrackerMap *theMap)
unsigned int tibLayer(const DetId &id) const
T mod(const T &a, const T &b)
static constexpr auto TID