DQMOffline
Hcal
interface
HcalNoiseRatesClient.h
Go to the documentation of this file.
1
#ifndef _DQMOFFLINE_HCAL_HCALNOISERATESCLIENT_H_
2
#define _DQMOFFLINE_HCAL_HCALNOISERATESCLIENT_H_
3
4
// -*- C++ -*-
5
//
6
//
7
/*
8
Description: This is a NoiseRates client meant to plot noiserates quantities
9
*/
10
11
//
12
// Originally create by: Hongxuan Liu
13
// May 2010
14
//
15
16
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
17
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
18
#include "
DQMServices/Core/interface/DQMStore.h
"
19
#include "
DataFormats/Common/interface/Handle.h
"
20
#include "
DataFormats/Math/interface/LorentzVector.h
"
21
#include "
FWCore/Framework/interface/Event.h
"
22
#include "
FWCore/Framework/interface/EventSetup.h
"
23
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
24
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
25
#include "
FWCore/ServiceRegistry/interface/Service.h
"
26
#include <
FWCore/Framework/interface/EDAnalyzer.h
>
27
#include <memory>
28
#include <unistd.h>
29
30
#include <fstream>
31
#include <iostream>
32
#include <vector>
33
34
class
HcalNoiseRatesClient
:
public
DQMEDHarvester
{
35
private
:
36
std::string
outputFile_
;
37
38
edm::ParameterSet
conf_
;
39
40
bool
verbose_
;
41
bool
debug_
;
42
43
std::string
dirName_
;
44
std::string
dirNameJet_
;
45
std::string
dirNameMET_
;
46
47
public
:
48
explicit
HcalNoiseRatesClient
(
const
edm::ParameterSet
&);
49
~HcalNoiseRatesClient
()
override
;
50
51
void
beginJob
(
void
)
override
;
52
void
dqmEndJob
(
DQMStore::IBooker
&,
53
DQMStore::IGetter
&)
override
;
// performed in the endJob
54
void
beginRun
(
const
edm::Run
&
run
,
const
edm::EventSetup
&
c
)
override
;
55
56
int
NoiseRatesEndjob
(
const
std::vector<MonitorElement *> &hcalMEs);
57
};
58
59
#endif
DQMEDHarvester.h
Handle.h
MessageLogger.h
edm::Run
Definition:
Run.h:45
HcalNoiseRatesClient::beginJob
void beginJob(void) override
Definition:
HcalNoiseRatesClient.cc:20
HcalNoiseRatesClient::conf_
edm::ParameterSet conf_
Definition:
HcalNoiseRatesClient.h:38
DQMStore.h
EDAnalyzer.h
HcalNoiseRatesClient::NoiseRatesEndjob
int NoiseRatesEndjob(const std::vector< MonitorElement * > &hcalMEs)
Definition:
HcalNoiseRatesClient.cc:59
HcalNoiseRatesClient::verbose_
bool verbose_
Definition:
HcalNoiseRatesClient.h:40
HcalNoiseRatesClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
HcalNoiseRatesClient.cc:24
Service.h
HcalNoiseRatesClient::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &c) override
Definition:
HcalNoiseRatesClient.cc:22
HcalNoiseRatesClient::outputFile_
std::string outputFile_
Definition:
HcalNoiseRatesClient.h:36
DQMEDAnalyzer.h
HcalNoiseRatesClient::dirNameJet_
std::string dirNameJet_
Definition:
HcalNoiseRatesClient.h:44
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
HcalNoiseRatesClient
Definition:
HcalNoiseRatesClient.h:34
LorentzVector.h
HcalNoiseRatesClient::dirName_
std::string dirName_
Definition:
HcalNoiseRatesClient.h:43
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
HcalNoiseRatesClient::dirNameMET_
std::string dirNameMET_
Definition:
HcalNoiseRatesClient.h:45
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
HcalNoiseRatesClient::~HcalNoiseRatesClient
~HcalNoiseRatesClient() override
Definition:
HcalNoiseRatesClient.cc:18
dqm::implementation::IGetter
Definition:
DQMStore.h:484
EventSetup.h
dqm::implementation::IBooker
Definition:
DQMStore.h:43
ParameterSet.h
HcalNoiseRatesClient::HcalNoiseRatesClient
HcalNoiseRatesClient(const edm::ParameterSet &)
Definition:
HcalNoiseRatesClient.cc:11
HcalNoiseRatesClient::debug_
bool debug_
Definition:
HcalNoiseRatesClient.h:41
Generated for CMSSW Reference Manual by
1.8.16