15 #include <boost/tokenizer.hpp> 47 histName =
"DCAStats_";
48 DCAStats = ibooker.
book2D(histName, histName, 2, 0, 2, 4, 0, 4);
49 DCAStats->
getTH2F()->GetYaxis()->SetBinLabel(1,
"Mean");
50 DCAStats->getTH2F()->GetYaxis()->SetBinLabel(2,
"RMS, #sigma");
51 DCAStats->getTH2F()->GetYaxis()->SetBinLabel(3,
"Skewness ,#gamma_{1}");
52 DCAStats->getTH2F()->GetYaxis()->SetBinLabel(4,
"Kurtosis, #gamma_{2}");
53 DCAStats->setBinLabel(1,
"Longitudinal");
54 DCAStats->setBinLabel(2,
"Transverse");
55 DCAStats->setOption(
"text");
57 histName =
"LongDCASig_HeavyIonTk";
58 ME* element = igetter.
get(TopFolder_ +
"/" + histName);
61 DCAStats->setBinContent(1, 2, element->getTH1F()->GetRMS());
62 DCAStats->setBinContent(1, 3, element->getTH1F()->GetSkewness());
63 DCAStats->setBinContent(1, 4, element->getTH1F()->GetKurtosis());
65 histName =
"TransDCASig_HeavyIonTk";
66 ME* element1 = igetter.
get(TopFolder_ +
"/" + histName);
68 DCAStats->
setBinContent(2, 1, element1->getTH1F()->GetMean());
69 DCAStats->setBinContent(2, 2, element1->getTH1F()->GetRMS());
70 DCAStats->setBinContent(2, 3, element1->getTH1F()->GetSkewness());
71 DCAStats->setBinContent(2, 4, element1->getTH1F()->GetKurtosis());
virtual void setCurrentFolder(std::string const &fullpath)
TrackingDQMClientHeavyIons(const edm::ParameterSet &pset)
virtual TH2F * getTH2F() const
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())
virtual MonitorElement * get(std::string const &fullpath) const
dqm::harvesting::MonitorElement ME
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override