8 #ifndef HCALDIGISCLIENT_H
9 #define HCALDIGISCLIENT_H
56 HistLim(
int nbin,
double mini,
double maxi)
57 :
n(nbin),
min(mini),
max(maxi) {
94 msm_->find(name)->second->Fill(X, Y);
103 std::map<std::string, MonitorElement*> *
msm_;
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
void book2D(std::string name, const HistLim &limX, const HistLim &limY)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
void scaleMETH2D(MonitorElement *ME, double s)
int HcalDigisEndjob(const std::vector< MonitorElement * > &hcalMEs, std::string subdet_)
HcalDigisClient(const edm::ParameterSet &)
void fill2D(std::string name, double X, double Y, double weight=1)
void fill1D(std::string name, double X, double weight=1)
const T & max(const T &a, const T &b)
void booking(std::string subdetopt)
void book1D(std::string name, int n, double min, double max)
MonitorElement * monitor(std::string name)
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
std::map< std::string, MonitorElement * > * msm_
double integralMETH2D(MonitorElement *ME, int i0, int i1, int j0, int j1)
void fillPf(std::string name, double X, double Y)
virtual void endRun(edm::Run const &, edm::EventSetup const &)
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void book1D(std::string name, const HistLim &limX)
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
HistLim(int nbin, double mini, double maxi)
void setCurrentFolder(const std::string &fullpath)
void bookPf(std::string name, const HistLim &limX, const HistLim &limY)