Go to the documentation of this file.
36 detNum += layer * 10 + stereo;
45 std::map<unsigned int, Values>::const_iterator valueMapIt =
valueMap_.begin();
47 ss <<
"subDet" << std::setw(15) <<
"layer" << std::setw(16) <<
"mono/stereo" << std::setw(20);
49 ss <<
"mean +- rms" << std::endl;
51 ss <<
"count" << std::endl;
56 for (; valueMapIt !=
valueMap_.end(); ++valueMapIt) {
57 int count = valueMapIt->second.count;
69 switch ((valueMapIt->first) / 1000) {
89 int layer = (valueMapIt->first) / 10 - (valueMapIt->first) / 1000 * 100;
90 int stereo = valueMapIt->first - layer * 10 - (valueMapIt->first) / 1000 * 1000;
92 ss << std::setw(15) << layer << std::setw(13) << stereo << std::setw(18);
uint32_t tobStereo(const DetId &id) const
unsigned int tidWheel(const DetId &id) const
void print(std::stringstream &ss, const bool mean=true) const
const TrackerTopology * trackerTopo_
std::map< unsigned int, Values > valueMap_
static constexpr auto TIB
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)
uint32_t tibStereo(const DetId &id) const
uint32_t tidStereo(const DetId &id) const
unsigned int tobLayer(const DetId &id) const
static constexpr auto TEC
static constexpr auto TOB
unsigned int tecWheel(const DetId &id) const
static constexpr auto TID
uint32_t tecStereo(const DetId &id) const
unsigned int tibLayer(const DetId &id) const