Go to the documentation of this file.
33 LogInfo(
"PixelDQM") <<
"SiPixelBarycenter::SiPixelBarycenter: Got DQM BackEnd interface" << endl;
39 LogInfo(
"PixelDQM") <<
"SiPixelBarycenter::~SiPixelBarycenter: Destructor" << endl;
67 {
"BPIX",
"FPIX_zm",
"FPIX_zp",
"BPIX_xp",
"BPIX_xm",
"FPIX_zp_xp",
"FPIX_zm_xp",
"FPIX_zp_xm",
"FPIX_zm_xm"}) {
70 "Position of the barycenter for " +
subdetector +
";Coordinate;Position [mm]",
88 const std::vector<AlignTransform>&
input,
89 const std::vector<AlignTransform>& GPR,
91 const auto GPR_translation_pixel = GPR[0].translation();
92 const std::map<DQMBarycenter::coordinate, float> GPR_pixel = {{
DQMBarycenter::t_x, GPR_translation_pixel.x()},
99 auto Xbarycenters = barycenters.
getX();
100 auto Ybarycenters = barycenters.
getY();
101 auto Zbarycenters = barycenters.
getZ();
105 "BPIX",
"FPIX_zm",
"FPIX_zp",
"BPIX_xp",
"BPIX_xm",
"FPIX_zp_xp",
"FPIX_zm_xp",
"FPIX_zp_xm",
"FPIX_zm_xm"};
const std::array< double, 9 > getX()
void bookBarycenterHistograms(DQMStore::IBooker &iBooker)
static const std::string input
virtual void setCurrentFolder(std::string const &fullpath)
const std::array< double, 9 > getY()
Log< level::Info, false > LogInfo
void fillBarycenterHistograms(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, const std::vector< AlignTransform > &input, const std::vector< AlignTransform > &GPR, const TrackerTopology &tTopo)
void dqmEndJob(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter) override
#define DEFINE_FWK_MODULE(type)
SiPixelBarycenter(const edm::ParameterSet &conf)
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackerTopologyToken_
const std::array< double, 9 > getZ()
void dqmEndLuminosityBlock(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter, edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c) override
void computeBarycenters(const std::vector< AlignTransform > &input, const TrackerTopology &tTopo, const std::map< DQMBarycenter::coordinate, float > &GPR)
const edm::ESGetToken< Alignments, TrackerAlignmentRcd > alignmentToken_
std::map< std::string, MonitorElement * > barycenters_
std::vector< AlignTransform > m_align
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
~SiPixelBarycenter() override
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
const edm::ESGetToken< Alignments, GlobalPositionRcd > gprToken_