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