CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
L1TGMTClient Class Reference

#include <L1TGMTClient.h>

Inheritance diagram for L1TGMTClient:
edm::EDAnalyzer

Public Member Functions

 L1TGMTClient (const edm::ParameterSet &)
 Constructor. More...
 
virtual ~L1TGMTClient ()
 Destructor. More...
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

Protected Member Functions

void analyze (const edm::Event &, const edm::EventSetup &)
 Fake Analyze. More...
 
void beginJob ()
 BeginJob. More...
 
void beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &)
 
void beginRun (const edm::Run &, const edm::EventSetup &)
 BeginRun. More...
 
void endJob ()
 Endjob. More...
 
void endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &)
 DQM Client Diagnostic. More...
 
void endRun (const edm::Run &, const edm::EventSetup &)
 EndRun. More...
 
- Protected Member Functions inherited from edm::EDAnalyzer
CurrentProcessingContext const * currentContext () const
 

Private Member Functions

MonitorElementbookClone1D (const std::string &name, const std::string &title, const std::string &hrefName)
 
MonitorElementbookClone1DVB (const std::string &name, const std::string &title, const std::string &hrefName)
 
MonitorElementbookClone2D (const std::string &name, const std::string &title, const std::string &hrefName)
 
TH1F * get1DHisto (std::string meName, DQMStore *dbi)
 
TH2F * get2DHisto (std::string meName, DQMStore *dbi)
 
void initialize ()
 
void makeEfficiency1D (MonitorElement *meeff, std::string heName, std::string hiName)
 
void makeEfficiency2D (MonitorElement *meeff, std::string heName, std::string hiName)
 
void makeRatio1D (MonitorElement *mer, std::string h1Name, std::string h2Name)
 
void processHistograms ()
 

Private Attributes

DQMStoredbe_
 
MonitorElementeff_eta_dtcsc
 
MonitorElementeff_eta_rpc
 
MonitorElementeff_etaphi_dtcsc
 
MonitorElementeff_etaphi_rpc
 
MonitorElementeff_phi_dtcsc
 
MonitorElementeff_phi_rpc
 
std::string input_dir_
 
bool m_runInEndJob
 
bool m_runInEndLumi
 
bool m_runInEndRun
 
bool m_runInEventLoop
 
std::string monitorName_
 
std::string output_dir_
 
edm::ParameterSet parameters_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 

Detailed Description

Definition at line 12 of file L1TGMTClient.h.

Constructor & Destructor Documentation

L1TGMTClient::L1TGMTClient ( const edm::ParameterSet ps)

Constructor.

Definition at line 11 of file L1TGMTClient.cc.

References initialize(), and parameters_.

11  {
12  parameters_ = ps;
13  initialize();
14 }
void initialize()
Definition: L1TGMTClient.cc:21
edm::ParameterSet parameters_
Definition: L1TGMTClient.h:66
L1TGMTClient::~L1TGMTClient ( )
virtual

Destructor.

Definition at line 16 of file L1TGMTClient.cc.

References LogDebug.

16  {
17  LogDebug("TriggerDQM") << "[TriggerDQM]: ending... ";
18 }
#define LogDebug(id)

Member Function Documentation

void L1TGMTClient::analyze ( const edm::Event iEvent,
const edm::EventSetup evSetup 
)
protectedvirtual

Fake Analyze.

Implements edm::EDAnalyzer.

Definition at line 147 of file L1TGMTClient.cc.

References m_runInEventLoop, and processHistograms().

148  {
149 
150  // there is no loop on events in the offline harvesting step
151  // code here will not be executed offline
152 
153  if (m_runInEventLoop) {
154 
156  }
157 
158 }
bool m_runInEventLoop
Definition: L1TGMTClient.h:72
void processHistograms()
void L1TGMTClient::beginJob ( void  )
protectedvirtual

BeginJob.

Reimplemented from edm::EDAnalyzer.

Definition at line 51 of file L1TGMTClient.cc.

References LogDebug.

51  {
52 
53  LogDebug("TriggerDQM") << "[TriggerDQM]: Begin Job";
54 
55 }
#define LogDebug(id)
void L1TGMTClient::beginLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup evSetup 
)
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 128 of file L1TGMTClient.cc.

129  {
130 
131  // empty
132 
133 }
void L1TGMTClient::beginRun ( const edm::Run r,
const edm::EventSetup evSetup 
)
protectedvirtual

BeginRun.

Reimplemented from edm::EDAnalyzer.

Definition at line 58 of file L1TGMTClient.cc.

References bookClone1D(), bookClone1DVB(), bookClone2D(), dbe_, eff_eta_dtcsc, eff_eta_rpc, eff_etaphi_dtcsc, eff_etaphi_rpc, eff_phi_dtcsc, eff_phi_rpc, MonitorElement::getTH1F(), MonitorElement::getTH2F(), output_dir_, MonitorElement::setAxisTitle(), and DQMStore::setCurrentFolder().

58  {
59 
60  // booking histograms in the output_dir_
61 
63 
64  eff_eta_dtcsc = bookClone1DVB("eff_eta_dtcsc", "efficiency DTCSC vs eta",
65  "eta_DTCSC_and_RPC");
66 
67  if (eff_eta_dtcsc != 0) {
68  eff_eta_dtcsc->setAxisTitle("eta", 1);
69  if (!eff_eta_dtcsc->getTH1F()->GetSumw2N())
70  eff_eta_dtcsc->getTH1F()->Sumw2();
71 
72  }
73 
74  eff_eta_rpc = bookClone1DVB("eff_eta_rpc", "efficiency RPC vs eta",
75  "eta_DTCSC_and_RPC");
76 
77  if (eff_eta_rpc != 0) {
78  eff_eta_rpc->setAxisTitle("eta", 1);
79  if (!eff_eta_rpc->getTH1F()->GetSumw2N())
80  eff_eta_rpc->getTH1F()->Sumw2();
81 
82  }
83 
84  eff_phi_dtcsc = bookClone1D("eff_phi_dtcsc", "efficiency DTCSC vs phi",
85  "phi_DTCSC_and_RPC");
86 
87  if (eff_phi_dtcsc != 0) {
88  eff_phi_dtcsc->setAxisTitle("phi (deg)", 1);
89  if (!eff_phi_dtcsc->getTH1F()->GetSumw2N())
90  eff_phi_dtcsc->getTH1F()->Sumw2();
91 
92  }
93 
94  eff_phi_rpc = bookClone1D("eff_phi_rpc", "efficiency RPC vs phi",
95  "phi_DTCSC_and_RPC");
96 
97  if (eff_phi_rpc != 0) {
98  eff_phi_rpc->setAxisTitle("phi (deg)", 1);
99  if (!eff_phi_rpc->getTH1F()->GetSumw2N())
100  eff_phi_rpc->getTH1F()->Sumw2();
101 
102  }
103 
104  eff_etaphi_dtcsc = bookClone2D("eff_etaphi_dtcsc",
105  "efficiency DTCSC vs eta and phi", "etaphi_DTCSC_and_RPC");
106 
107  if (eff_etaphi_dtcsc != 0) {
108  eff_etaphi_dtcsc->setAxisTitle("eta", 1);
109  eff_etaphi_dtcsc->setAxisTitle("phi (deg)", 2);
110  if (!eff_etaphi_dtcsc->getTH2F()->GetSumw2N())
111  eff_etaphi_dtcsc->getTH2F()->Sumw2();
112 
113  }
114 
115  eff_etaphi_rpc = bookClone2D("eff_etaphi_rpc",
116  "efficiency RPC vs eta and phi", "etaphi_DTCSC_and_RPC");
117 
118  if (eff_etaphi_rpc != 0) {
119  eff_etaphi_rpc->setAxisTitle("eta", 1);
120  eff_etaphi_rpc->setAxisTitle("phi (deg)", 2);
121  if (!eff_etaphi_rpc->getTH2F()->GetSumw2N())
122  eff_etaphi_rpc->getTH2F()->Sumw2();
123 
124  }
125 }
MonitorElement * bookClone1DVB(const std::string &name, const std::string &title, const std::string &hrefName)
MonitorElement * eff_eta_rpc
Definition: L1TGMTClient.h:79
MonitorElement * eff_etaphi_dtcsc
Definition: L1TGMTClient.h:82
DQMStore * dbe_
Definition: L1TGMTClient.h:67
MonitorElement * eff_etaphi_rpc
Definition: L1TGMTClient.h:83
MonitorElement * eff_phi_rpc
Definition: L1TGMTClient.h:81
MonitorElement * eff_eta_dtcsc
Definition: L1TGMTClient.h:78
MonitorElement * eff_phi_dtcsc
Definition: L1TGMTClient.h:80
TH1F * getTH1F(void) const
MonitorElement * bookClone1D(const std::string &name, const std::string &title, const std::string &hrefName)
MonitorElement * bookClone2D(const std::string &name, const std::string &title, const std::string &hrefName)
std::string output_dir_
Definition: L1TGMTClient.h:70
TH2F * getTH2F(void) const
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:429
MonitorElement * L1TGMTClient::bookClone1D ( const std::string &  name,
const std::string &  title,
const std::string &  hrefName 
)
private

Definition at line 298 of file L1TGMTClient.cc.

References DQMStore::book1D(), dbe_, get1DHisto(), input_dir_, and LogDebug.

Referenced by beginRun().

299  {
300 
301  MonitorElement* me;
302 
303  TH1F* href = get1DHisto(input_dir_ + "/" + hrefName, dbe_);
304 
305  if (href) {
306  LogDebug("TriggerDQM")
307  << "\nL1TGMTClient::bookClone1D: booking histogram "
308  << hrefName << std::endl;
309  const unsigned nbx = href->GetNbinsX();
310  const double xmin = href->GetXaxis()->GetXmin();
311  const double xmax = href->GetXaxis()->GetXmax();
312  me = dbe_->book1D(name, title, nbx, xmin, xmax);
313  } else {
314  LogDebug("TriggerDQM")
315  << "\nL1TGMTClient::bookClone1D: not able to clone histogram "
316  << hrefName << std::endl;
317  me = 0;
318  }
319 
320  return me;
321 }
#define LogDebug(id)
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:717
DQMStore * dbe_
Definition: L1TGMTClient.h:67
std::string input_dir_
Definition: L1TGMTClient.h:69
TH1F * get1DHisto(std::string meName, DQMStore *dbi)
MonitorElement * L1TGMTClient::bookClone1DVB ( const std::string &  name,
const std::string &  title,
const std::string &  hrefName 
)
private

Definition at line 324 of file L1TGMTClient.cc.

References DQMStore::book1D(), dbe_, get1DHisto(), i, input_dir_, LogDebug, output_dir_, DQMStore::setCurrentFolder(), and fw3dlego::xbins.

Referenced by beginRun().

325  {
326 
327  MonitorElement* me;
328 
329  TH1F* href = get1DHisto(input_dir_ + "/" + hrefName, dbe_);
330 
331  if (href) {
332  LogDebug("TriggerDQM")
333  << "\nL1TGMTClient::bookClone1DVB: booking histogram "
334  << hrefName << std::endl;
335  int nbx = href->GetNbinsX();
336  if (nbx > 99)
337  nbx = 99;
338  float xbins[100];
339  for (int i = 0; i < nbx; i++) {
340  xbins[i] = href->GetBinLowEdge(i + 1);
341  }
342  xbins[nbx] = href->GetXaxis()->GetXmax();
343 
345  me = dbe_->book1D(name, title, nbx, xbins);
346 
347  } else {
348  LogDebug("TriggerDQM")
349  << "\nL1TGMTClient::bookClone1DVB: not able to clone histogram "
350  << hrefName << std::endl;
351  me = 0;
352  }
353 
354  return me;
355 }
#define LogDebug(id)
int i
Definition: DBlmapReader.cc:9
const double xbins[]
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:717
DQMStore * dbe_
Definition: L1TGMTClient.h:67
std::string input_dir_
Definition: L1TGMTClient.h:69
TH1F * get1DHisto(std::string meName, DQMStore *dbi)
std::string output_dir_
Definition: L1TGMTClient.h:70
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:429
MonitorElement * L1TGMTClient::bookClone2D ( const std::string &  name,
const std::string &  title,
const std::string &  hrefName 
)
private

Definition at line 358 of file L1TGMTClient.cc.

References DQMStore::book2D(), dbe_, get2DHisto(), input_dir_, and LogDebug.

Referenced by beginRun().

359  {
360 
361  MonitorElement* me;
362 
363  TH2F* href = get2DHisto(input_dir_ + "/" + hrefName, dbe_);
364 
365  if (href) {
366  LogDebug("TriggerDQM")
367  << "\nL1TGMTClient::bookClone2D: booking histogram "
368  << hrefName << std::endl;
369  const unsigned nbx = href->GetNbinsX();
370  const double xmin = href->GetXaxis()->GetXmin();
371  const double xmax = href->GetXaxis()->GetXmax();
372  const unsigned nby = href->GetNbinsY();
373  const double ymin = href->GetYaxis()->GetXmin();
374  const double ymax = href->GetYaxis()->GetXmax();
375  me = dbe_->book2D(name, title, nbx, xmin, xmax, nby, ymin, ymax);
376  } else {
377  LogDebug("TriggerDQM")
378  << "\nL1TGMTClient::bookClone2D: not able to clone histogram "
379  << hrefName << std::endl;
380  me = 0;
381  }
382 
383  return me;
384 }
#define LogDebug(id)
DQMStore * dbe_
Definition: L1TGMTClient.h:67
std::string input_dir_
Definition: L1TGMTClient.h:69
TH2F * get2DHisto(std::string meName, DQMStore *dbi)
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:845
void L1TGMTClient::endJob ( void  )
protectedvirtual

Endjob.

Reimplemented from edm::EDAnalyzer.

Definition at line 189 of file L1TGMTClient.cc.

References m_runInEndJob, and processHistograms().

189  {
190 
191  if (m_runInEndJob) {
192 
194  }
195 
196 }
bool m_runInEndJob
Definition: L1TGMTClient.h:75
void processHistograms()
void L1TGMTClient::endLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup evSetup 
)
protectedvirtual

DQM Client Diagnostic.

Reimplemented from edm::EDAnalyzer.

Definition at line 136 of file L1TGMTClient.cc.

References m_runInEndLumi, and processHistograms().

137  {
138 
139  if (m_runInEndLumi) {
140 
142  }
143 
144 }
bool m_runInEndLumi
Definition: L1TGMTClient.h:73
void processHistograms()
void L1TGMTClient::endRun ( const edm::Run r,
const edm::EventSetup evSetup 
)
protectedvirtual

EndRun.

Reimplemented from edm::EDAnalyzer.

Definition at line 179 of file L1TGMTClient.cc.

References m_runInEndRun, and processHistograms().

179  {
180 
181  if (m_runInEndRun) {
182 
184  }
185 
186 }
bool m_runInEndRun
Definition: L1TGMTClient.h:74
void processHistograms()
TH1F * L1TGMTClient::get1DHisto ( std::string  meName,
DQMStore dbi 
)
private

Definition at line 274 of file L1TGMTClient.cc.

References DQMStore::get(), MonitorElement::getTH1F(), and LogDebug.

Referenced by bookClone1D(), bookClone1DVB(), makeEfficiency1D(), and makeRatio1D().

274  {
275 
276  MonitorElement * me_ = dbi->get(meName);
277 
278  if (!me_) {
279  LogDebug("TriggerDQM") << "\nL1TGMTClient: " << meName << " NOT FOUND.";
280  return 0;
281  }
282 
283  return me_->getTH1F();
284 }
#define LogDebug(id)
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. &quot;my/long/dir/my_histo&quot;)
Definition: DQMStore.cc:1468
TH1F * getTH1F(void) const
TH2F * L1TGMTClient::get2DHisto ( std::string  meName,
DQMStore dbi 
)
private

Definition at line 287 of file L1TGMTClient.cc.

References DQMStore::get(), MonitorElement::getTH2F(), and LogDebug.

Referenced by bookClone2D(), and makeEfficiency2D().

287  {
288  MonitorElement * me_ = dbi->get(meName);
289 
290  if (!me_) {
291  LogDebug("TriggerDQM") << "\nL1TGMTClient: " << meName << " NOT FOUND.";
292  return 0;
293  }
294  return me_->getTH2F();
295 }
#define LogDebug(id)
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. &quot;my/long/dir/my_histo&quot;)
Definition: DQMStore.cc:1468
TH2F * getTH2F(void) const
void L1TGMTClient::initialize ( )
private

Definition at line 21 of file L1TGMTClient.cc.

References dbe_, edm::ParameterSet::getUntrackedParameter(), input_dir_, LogDebug, m_runInEndJob, m_runInEndLumi, m_runInEndRun, m_runInEventLoop, monitorName_, cppFunctionSkipper::operator, output_dir_, and parameters_.

Referenced by L1TGMTClient().

21  {
22 
23  // get back-end interface
25 
26  // base folder for the contents of this job
28  "monitorName", "");
29  LogDebug("TriggerDQM") << "Monitor name = " << monitorName_ << std::endl;
30 
31  output_dir_ = parameters_.getUntrackedParameter<std::string> ("output_dir",
32  "");
33  LogDebug("TriggerDQM") << "DQM output dir = " << output_dir_ << std::endl;
34 
35  input_dir_ = parameters_.getUntrackedParameter<std::string> ("input_dir",
36  "");
37  LogDebug("TriggerDQM") << "DQM input dir = " << input_dir_ << std::endl;
38 
40  "runInEventLoop", false);
41  m_runInEndLumi = parameters_.getUntrackedParameter<bool> ("runInEndLumi",
42  false);
43  m_runInEndRun = parameters_.getUntrackedParameter<bool> ("runInEndRun",
44  false);
45  m_runInEndJob = parameters_.getUntrackedParameter<bool> ("runInEndJob",
46  false);
47 
48 }
#define LogDebug(id)
T getUntrackedParameter(std::string const &, T const &) const
std::string monitorName_
Definition: L1TGMTClient.h:68
bool m_runInEndJob
Definition: L1TGMTClient.h:75
DQMStore * dbe_
Definition: L1TGMTClient.h:67
std::string input_dir_
Definition: L1TGMTClient.h:69
bool m_runInEventLoop
Definition: L1TGMTClient.h:72
bool m_runInEndLumi
Definition: L1TGMTClient.h:73
bool m_runInEndRun
Definition: L1TGMTClient.h:74
std::string output_dir_
Definition: L1TGMTClient.h:70
edm::ParameterSet parameters_
Definition: L1TGMTClient.h:66
void L1TGMTClient::makeEfficiency1D ( MonitorElement meeff,
std::string  heName,
std::string  hiName 
)
private

Definition at line 222 of file L1TGMTClient.cc.

References dbe_, get1DHisto(), MonitorElement::getTH1F(), input_dir_, LogDebug, output_dir_, and DQMStore::setCurrentFolder().

Referenced by processHistograms().

223  {
224 
226 
227  TH1F* he = get1DHisto(input_dir_ + "/" + heName, dbe_);
228  TH1F* hi = get1DHisto(input_dir_ + "/" + hiName, dbe_);
229 
230  if (meeff == 0) {
231  LogDebug("TriggerDQM")
232  << "L1TGMTClient::makeEfficiency1D: monitoring element zero, not able to retrieve histogram"
233  << std::endl;
234  return;
235  }
236 
237  TH1F* heff = meeff->getTH1F();
238 
239  if (heff && he && hi) {
240  TH1F* hall = (TH1F*) he->Clone("hall");
241  hall->Add(hi);
242  heff->Divide(he, hall, 1., 1., "B");
243  delete hall;
244  }
245 }
#define LogDebug(id)
DQMStore * dbe_
Definition: L1TGMTClient.h:67
std::string input_dir_
Definition: L1TGMTClient.h:69
TH1F * getTH1F(void) const
TH1F * get1DHisto(std::string meName, DQMStore *dbi)
std::string output_dir_
Definition: L1TGMTClient.h:70
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:429
void L1TGMTClient::makeEfficiency2D ( MonitorElement meeff,
std::string  heName,
std::string  hiName 
)
private

Definition at line 248 of file L1TGMTClient.cc.

References dbe_, get2DHisto(), MonitorElement::getTH2F(), input_dir_, LogDebug, output_dir_, and DQMStore::setCurrentFolder().

Referenced by processHistograms().

249  {
250 
252 
253  TH2F* he = get2DHisto(input_dir_ + "/" + heName, dbe_);
254  TH2F* hi = get2DHisto(input_dir_ + "/" + hiName, dbe_);
255 
256  if (meeff == 0) {
257  LogDebug("TriggerDQM")
258  << "\nL1TGMTClient::makeEfficiency2D: monitoring element zero, not able to retrieve histogram"
259  << std::endl;
260  return;
261  }
262 
263  TH2F* heff = meeff->getTH2F();
264 
265  if (heff && he && hi) {
266  TH2F* hall = (TH2F*) he->Clone("hall");
267  hall->Add(hi);
268  heff->Divide(he, hall, 1., 1., "B");
269  delete hall;
270  }
271 }
#define LogDebug(id)
DQMStore * dbe_
Definition: L1TGMTClient.h:67
std::string input_dir_
Definition: L1TGMTClient.h:69
std::string output_dir_
Definition: L1TGMTClient.h:70
TH2F * get2DHisto(std::string meName, DQMStore *dbi)
TH2F * getTH2F(void) const
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:429
void L1TGMTClient::makeRatio1D ( MonitorElement mer,
std::string  h1Name,
std::string  h2Name 
)
private

Definition at line 199 of file L1TGMTClient.cc.

References dbe_, get1DHisto(), MonitorElement::getTH1F(), input_dir_, LogDebug, output_dir_, and DQMStore::setCurrentFolder().

200  {
201 
203 
204  TH1F* h1 = get1DHisto(input_dir_ + "/" + h1Name, dbe_);
205  TH1F* h2 = get1DHisto(input_dir_ + "/" + h2Name, dbe_);
206 
207  if (mer == 0) {
208  LogDebug("TriggerDQM")
209  << "\nL1TGMTClient::makeRatio1D: monitoring element zero, not able to retrieve histogram"
210  << std::endl;
211  return;
212  }
213 
214  TH1F* hr = mer->getTH1F();
215 
216  if (hr && h1 && h2) {
217  hr->Divide(h1, h2, 1., 1., " ");
218  }
219 }
#define LogDebug(id)
DQMStore * dbe_
Definition: L1TGMTClient.h:67
std::string input_dir_
Definition: L1TGMTClient.h:69
TH1F * getTH1F(void) const
TH1F * get1DHisto(std::string meName, DQMStore *dbi)
std::string output_dir_
Definition: L1TGMTClient.h:70
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:429
void L1TGMTClient::processHistograms ( )
private

Definition at line 161 of file L1TGMTClient.cc.

References eff_eta_dtcsc, eff_eta_rpc, eff_etaphi_dtcsc, eff_etaphi_rpc, eff_phi_dtcsc, eff_phi_rpc, LogDebug, makeEfficiency1D(), and makeEfficiency2D().

Referenced by analyze(), endJob(), endLuminosityBlock(), and endRun().

161  {
162 
163  LogDebug("TriggerDQM") << "L1TGMTClient: processing..." << std::endl;
164 
165  makeEfficiency1D(eff_eta_dtcsc, "eta_DTCSC_and_RPC", "eta_RPC_only");
166  makeEfficiency1D(eff_eta_rpc, "eta_DTCSC_and_RPC", "eta_DTCSC_only");
167 
168  makeEfficiency1D(eff_phi_dtcsc, "phi_DTCSC_and_RPC", "phi_RPC_only");
169  makeEfficiency1D(eff_phi_rpc, "phi_DTCSC_and_RPC", "phi_DTCSC_only");
170 
171  makeEfficiency2D(eff_etaphi_dtcsc, "etaphi_DTCSC_and_RPC",
172  "etaphi_RPC_only");
173  makeEfficiency2D(eff_etaphi_rpc, "etaphi_DTCSC_and_RPC",
174  "etaphi_DTCSC_only");
175 
176 }
#define LogDebug(id)
MonitorElement * eff_eta_rpc
Definition: L1TGMTClient.h:79
MonitorElement * eff_etaphi_dtcsc
Definition: L1TGMTClient.h:82
MonitorElement * eff_etaphi_rpc
Definition: L1TGMTClient.h:83
MonitorElement * eff_phi_rpc
Definition: L1TGMTClient.h:81
MonitorElement * eff_eta_dtcsc
Definition: L1TGMTClient.h:78
MonitorElement * eff_phi_dtcsc
Definition: L1TGMTClient.h:80
void makeEfficiency1D(MonitorElement *meeff, std::string heName, std::string hiName)
void makeEfficiency2D(MonitorElement *meeff, std::string heName, std::string hiName)

Member Data Documentation

DQMStore* L1TGMTClient::dbe_
private
MonitorElement* L1TGMTClient::eff_eta_dtcsc
private

Definition at line 78 of file L1TGMTClient.h.

Referenced by beginRun(), and processHistograms().

MonitorElement* L1TGMTClient::eff_eta_rpc
private

Definition at line 79 of file L1TGMTClient.h.

Referenced by beginRun(), and processHistograms().

MonitorElement* L1TGMTClient::eff_etaphi_dtcsc
private

Definition at line 82 of file L1TGMTClient.h.

Referenced by beginRun(), and processHistograms().

MonitorElement* L1TGMTClient::eff_etaphi_rpc
private

Definition at line 83 of file L1TGMTClient.h.

Referenced by beginRun(), and processHistograms().

MonitorElement* L1TGMTClient::eff_phi_dtcsc
private

Definition at line 80 of file L1TGMTClient.h.

Referenced by beginRun(), and processHistograms().

MonitorElement* L1TGMTClient::eff_phi_rpc
private

Definition at line 81 of file L1TGMTClient.h.

Referenced by beginRun(), and processHistograms().

std::string L1TGMTClient::input_dir_
private
bool L1TGMTClient::m_runInEndJob
private

Definition at line 75 of file L1TGMTClient.h.

Referenced by endJob(), and initialize().

bool L1TGMTClient::m_runInEndLumi
private

Definition at line 73 of file L1TGMTClient.h.

Referenced by endLuminosityBlock(), and initialize().

bool L1TGMTClient::m_runInEndRun
private

Definition at line 74 of file L1TGMTClient.h.

Referenced by endRun(), and initialize().

bool L1TGMTClient::m_runInEventLoop
private

Definition at line 72 of file L1TGMTClient.h.

Referenced by analyze(), and initialize().

std::string L1TGMTClient::monitorName_
private

Definition at line 68 of file L1TGMTClient.h.

Referenced by initialize().

std::string L1TGMTClient::output_dir_
private
edm::ParameterSet L1TGMTClient::parameters_
private