25 monitorDir_(ps.getUntrackedParameter<
string>(
"monitorDir",
"")),
28 prescaleLS_(ps.getUntrackedParameter<int>(
"prescaleLS", -1)),
29 prescaleEvt_(ps.getUntrackedParameter<int>(
"prescaleEvt", -1)),
30 m_runInEventLoop(ps.getUntrackedParameter<bool>(
"runInEventLoop",
false)),
31 m_runInEndLumi(ps.getUntrackedParameter<bool>(
"runInEndLumi",
false)),
32 m_runInEndRun(ps.getUntrackedParameter<bool>(
"runInEndRun",
false)),
33 m_runInEndJob(ps.getUntrackedParameter<bool>(
"runInEndJob",
false))
109 Input =
dbe_->
get(
"L1T/L1TGCT/IsoEmOccEtaPhi");
115 Input =
dbe_->
get(
"L1T/L1TGCT/NonIsoEmOccEtaPhi");
121 Input =
dbe_->
get(
"L1T/L1TGCT/AllJetsOccEtaPhi");
127 Input =
dbe_->
get(
"L1T/L1TGCT/CenJetsOccEtaPhi");
133 Input =
dbe_->
get(
"L1T/L1TGCT/ForJetsOccEtaPhi");
139 Input =
dbe_->
get(
"L1T/L1TGCT/TauJetsOccEtaPhi");
151 if (input->GetNbinsX() != output->
getNbinsX())
return;
154 TH1D* projX = input->ProjectionX();
156 for (Int_t
i=0;
i<projX->GetNbinsX();
i++) {
165 if (input->GetNbinsY() != output->
getNbinsX())
return;
168 TH1D* projY = input->ProjectionY();
170 for (Int_t
i=0;
i<projY->GetNbinsX();
i++) {
L1TGCTClient(const edm::ParameterSet &ps)
Constructor.
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * l1GctForJetsOccPhi_
void beginJob(void)
BeginJob.
MonitorElement * l1GctTauJetsOccEta_
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * l1GctTauJetsOccPhi_
MonitorElement * l1GctIsoEmOccEta_
MonitorElement * l1GctAllJetsOccPhi_
MonitorElement * l1GctForJetsOccEta_
MonitorElement * l1GctCenJetsOccPhi_
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
void makeXProjection(TH2F *input, MonitorElement *output)
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
MonitorElement * l1GctAllJetsOccEta_
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
MonitorElement * l1GctNonIsoEmOccPhi_
bool m_runInEventLoop
prescale on number of events
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
MonitorElement * l1GctIsoEmOccPhi_
virtual ~L1TGCTClient()
Destructor.
void makeYProjection(TH2F *input, MonitorElement *output)
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
DQM Client Diagnostic.
MonitorElement * l1GctNonIsoEmOccEta_
int getNbinsX(void) const
get # of bins in X-axis
TH2F * getTH2F(void) const
MonitorElement * l1GctCenJetsOccEta_
void setCurrentFolder(const std::string &fullpath)
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.