33 LogInfo(
"PixelDQM") <<
"SiPixelBarycenter::SiPixelBarycenter: Got DQM BackEnd interface" << endl;
63 "Position of the barycenter for " +
subdetector +
";Coordinate;Position [mm]",
81 const std::vector<AlignTransform>&
input,
82 const std::vector<AlignTransform>& GPR,
84 const auto GPR_translation_pixel = GPR[0].translation();
85 const std::map<DQMBarycenter::coordinate, float> GPR_pixel = {{
DQMBarycenter::t_x, GPR_translation_pixel.x()},
92 auto Xbarycenters = barycenters.
getX();
93 auto Ybarycenters = barycenters.
getY();
94 auto Zbarycenters = barycenters.
getZ();
const edm::ESGetToken< Alignments, GlobalPositionRcd > gprToken_
virtual void setCurrentFolder(std::string const &fullpath)
#define DEFINE_FWK_MODULE(type)
void fillBarycenterHistograms(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, const std::vector< AlignTransform > &input, const std::vector< AlignTransform > &GPR, const TrackerTopology &tTopo)
const std::array< double, 9 > getY()
std::vector< AlignTransform > m_align
void dqmEndRun(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, edm::Run const &iRun, edm::EventSetup const &c) override
static std::string const input
const std::array< std::string, 9 > subdetectors_
void dqmEndJob(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter) override
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackerTopologyToken_
SiPixelBarycenter(const edm::ParameterSet &conf)
Log< level::Info, false > LogInfo
void computeBarycenters(const std::vector< AlignTransform > &input, const TrackerTopology &tTopo, const std::map< DQMBarycenter::coordinate, float > &GPR)
std::map< std::string, MonitorElement * > barycenters_
const edm::ESGetToken< Alignments, TrackerAlignmentRcd > alignmentToken_
const std::array< double, 9 > getZ()
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
const std::array< double, 9 > getX()
void bookBarycenterHistograms(DQMStore::IBooker &iBooker)
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override