36 detNum +=
layer * 10 + stereo;
44 std::map<unsigned int, Values>::const_iterator valueMapIt =
valueMap_.begin();
46 ss <<
"subDet" << std::setw(15) <<
"layer" << std::setw(16) <<
"mono/stereo" << std::setw(20);
48 ss <<
"mean +- rms" << std::endl;
50 ss <<
"count" << std::endl;
55 for (; valueMapIt !=
valueMap_.end(); ++valueMapIt) {
56 int count = valueMapIt->second.count;
68 switch ((valueMapIt->first) / 1000) {
88 int layer = (valueMapIt->first) / 10 - (valueMapIt->first) / 1000 * 100;
89 int stereo = valueMapIt->first -
layer * 10 - (valueMapIt->first) / 1000 * 1000;
91 ss << std::setw(15) <<
layer << std::setw(13) << stereo << std::setw(18);
static constexpr auto TEC
unsigned int tobLayer(const DetId &id) const
uint32_t tidStereo(const DetId &id) const
unsigned int tidWheel(const DetId &id) const
unsigned int tecWheel(const DetId &id) const
void print(std::stringstream &ss, const bool mean=true) const
std::map< unsigned int, Values > valueMap_
constexpr std::array< uint8_t, layerIndexSize > layer
const TrackerTopology * trackerTopo_
uint32_t tobStereo(const DetId &id) const
void add(DetId detid, float value)
Used to compute the mean value of the value variable divided by subdetector, layer and mono/stereo...
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
uint32_t tecStereo(const DetId &id) const
unsigned int tibLayer(const DetId &id) const
static constexpr auto TID
uint32_t tibStereo(const DetId &id) const