1 #ifndef DQM_SiPixelPhase1Summary_SiPixelBarycenterHelper_h
2 #define DQM_SiPixelPhase1Summary_SiPixelBarycenterHelper_h
13 namespace DQMBarycenter {
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;
pathNames_ & tns()), endPathNames_(&tns.getEndPaths()), wantSummary_(tns.wantSummary()
std::map< DQMBarycenter::PARTITION, double > Xbarycenters
const std::array< double, 9 > getY()
std::map< DQMBarycenter::PARTITION, double > Ybarycenters
std::map< DQMBarycenter::PARTITION, double > nmodules
Log< level::Error, false > LogError
static std::string const input
std::map< DQMBarycenter::PARTITION, double > Zbarycenters
void computeBarycenters(const std::vector< AlignTransform > &input, const TrackerTopology &tTopo, const std::map< DQMBarycenter::coordinate, float > &GPR)
virtual ~TkAlBarycenters()
const PARTITION PARTITIONS[(int) PARTITION::LAST+1]
Log< level::Warning, false > LogWarning
const std::array< double, 9 > getZ()
HalfCylinder halfCylinder() const
const std::array< double, 9 > getX()