1 #ifndef DQM_SiPixelPhase1Summary_SiPixelBarycenterHelper_h
2 #define DQM_SiPixelPhase1Summary_SiPixelBarycenterHelper_h
66 std::map<DQMBarycenter::PARTITION, double>
nmodules;
72 inline const std::array<double, 9>
getX()
87 inline const std::array<double, 9>
getY()
102 inline const std::array<double, 9>
getZ()
120 const std::map<DQMBarycenter::coordinate, float>& GPR)
123 for (
const auto& ali :
input) {
126 <<
"Encountered invalid Tracker DetId:" << ali.rawId() <<
" " <<
DetId(ali.rawId()).det()
132 int subid =
DetId(ali.rawId()).subdetId();
143 if (tns.tpe().endcapNumber(ali.rawId()) == 1) {
157 edm::LogError(
"PixelDQM") <<
"Unrecognized partition for barycenter computation " << subid << std::endl;
201 edm::LogError(
"PixelDQM") <<
"Unrecognized partition for barycenter computation " << subid << std::endl;
205 edm::LogError(
"PixelDQM") <<
"Unrecognized partition for barycenter computation " << subid << std::endl;