Validation
HcalRecHits
src
HcalRecHitsClient.cc
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/MakerMacros.h
"
2
#include "
Validation/HcalRecHits/interface/HcalRecHitsClient.h
"
3
4
#include "
FWCore/Framework/interface/Event.h
"
5
#include "
FWCore/Framework/interface/Run.h
"
6
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
7
#include "
FWCore/ServiceRegistry/interface/Service.h
"
8
9
#include "
DQMServices/Core/interface/DQMStore.h
"
10
11
HcalRecHitsClient::HcalRecHitsClient
(
const
edm::ParameterSet
&iConfig) : conf_(iConfig) {
12
outputFile_
= iConfig.
getUntrackedParameter
<
std::string
>(
"outputFile"
,
"myfile.root"
);
13
14
debug_
=
false
;
15
verbose_
=
false
;
16
17
dirName_
= iConfig.
getParameter
<
std::string
>(
"DQMDirName"
);
18
}
19
20
HcalRecHitsClient::~HcalRecHitsClient
() {}
21
22
void
HcalRecHitsClient::dqmEndJob
(
DQMStore::IBooker
&
ib
,
DQMStore::IGetter
&ig) { ig.
setCurrentFolder
(
dirName_
); }
23
24
// called after entering the HcalRecHitsV/HcalRecHitTask directory
25
// hcalMEs are within that directory
26
int
HcalRecHitsClient::HcalRecHitsEndjob
(
const
std::vector<MonitorElement *> &hcalMEs) {
27
return
1;
// Removed all actions
28
}
29
30
DEFINE_FWK_MODULE
(
HcalRecHitsClient
);
HcalRecHitsClient::dirName_
std::string dirName_
Definition:
HcalRecHitsClient.h:41
HcalRecHitsClient::outputFile_
std::string outputFile_
Definition:
HcalRecHitsClient.h:34
HcalRecHitsClient
Definition:
HcalRecHitsClient.h:32
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition:
DQMStore.cc:32
DQMStore.h
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
HcalRecHitsClient.h
HcalRecHitsClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
HcalRecHitsClient.cc:22
HcalRecHitsClient::HcalRecHitsClient
HcalRecHitsClient(const edm::ParameterSet &)
Definition:
HcalRecHitsClient.cc:11
HcalRecHitsClient::debug_
bool debug_
Definition:
HcalRecHitsClient.h:39
MakerMacros.h
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition:
MakerMacros.h:16
Service.h
HcalRecHitsClient::HcalRecHitsEndjob
int HcalRecHitsEndjob(const std::vector< MonitorElement * > &hcalMEs)
Definition:
HcalRecHitsClient.cc:26
Run.h
HcalRecHitsClient::~HcalRecHitsClient
~HcalRecHitsClient() override
Definition:
HcalRecHitsClient.cc:20
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
cuy.ib
ib
Definition:
cuy.py:662
dqm::implementation::IGetter
Definition:
DQMStore.h:484
HcalRecHitsClient::verbose_
bool verbose_
Definition:
HcalRecHitsClient.h:38
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:303
dqm::implementation::IBooker
Definition:
DQMStore.h:43
ParameterSet.h
Generated for CMSSW Reference Manual by
1.8.16