9 edm::LogInfo(
"TrackFoldedOccupancyClient") <<
"TrackFoldedOccupancyClient::Deleting TrackFoldedOccupancyClient ";
22 edm::LogInfo(
"TrackFoldedOccupancyClient") <<
"TrackFoldedOccupancyClient::Deleting TrackFoldedOccupancyClient ";
29 edm::LogInfo(
"TrackFoldedOccupancyClient") <<
"TrackFoldedOccupancyClient::beginJob done";
36 edm::LogInfo(
"TrackFoldedOccupancyClient") <<
"TrackFoldedOccupancyClient:: Begining of Run";
58 histname =
"TkEtaPhi_RelativeDifference_byFoldingmap_op_" +
histTag_;
64 histname =
"TkEtaPhi_Ratio_byFoldingmap_" +
histTag_;
69 histname =
"TkEtaPhi_Ratio_byFoldingmap_op_" +
histTag_;
80 edm::LogInfo(
"TrackFoldedOccupancyClient") <<
"TrackFoldedOccupancyClient::endLuminosityBlock";
86 hname =
"TrackEtaPhi_";
89 hname =
"TrackEtaPhiInverted_";
92 hname =
"TrackEtaPhiInvertedoutofphase_";
95 if (TrackEtaPhi ==
nullptr || TrackEtaPhiInverted ==
nullptr || TrackEtaPhiInvertedoutofphase ==
nullptr) {
96 edm::LogWarning(
"TrackFoldedOccupancyClient") <<
"MEs needed for this module not found. Skipping.";
106 for (
int ii = 1;
ii <= nx;
ii++) {
107 for (
int jj = 1;
jj <= ny;
jj++) {
114 if (Sum1 == 0 || Sum2 == 0) {
118 double ratio1 = Sub1 / Sum1;
119 double ratio2 = Sub2 / Sum2;
T getParameter(std::string const &) const
virtual void setCurrentFolder(std::string const &fullpath)
void beginJob(void) override
BeginJob.
#define DEFINE_FWK_MODULE(type)
TrackFoldedOccupancyClient(const edm::ParameterSet &ps)
Constructor.
MonitorElement * TkEtaPhi_Ratio_byFoldingmap
MonitorElement * TkEtaPhi_RelativeDifference_byFoldingmap
void bookMEs(DQMStore::IBooker &ibooker_)
book MEs
MonitorElement * TkEtaPhi_Ratio_byFoldingmap_op
void dqmEndJob(DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_) override
EndJob.
virtual int getNbinsY() const
get # of bins in Y-axis
~TrackFoldedOccupancyClient() override
Destructor.
Log< level::Info, false > LogInfo
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
MonitorElement * TkEtaPhi_RelativeDifference_byFoldingmap_op
virtual MonitorElement * get(std::string const &fullpath) const
virtual int getNbinsX() const
get # of bins in X-axis
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
BeginRun.
Log< level::Warning, false > LogWarning
virtual void divide(const MonitorElement *, const MonitorElement *, double, double, const char *)
Replace entries with results of dividing num by denom.
virtual double getBinContent(int binx) const
get content of bin (1-D)
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)