src
Validation
RecoTau
plugins
DQMFileLoader.h
Go to the documentation of this file.
1
#ifndef TauDQMFileLoader_h
2
#define TauDQMFileLoader_h
3
11
// framework & common header files
12
#include "
FWCore/Framework/interface/one/EDAnalyzer.h
"
13
#include "
FWCore/Framework/interface/Event.h
"
14
#include "
FWCore/Framework/interface/EventSetup.h
"
15
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
16
17
#include "
DQMServices/Core/interface/DQMStore.h
"
18
19
#include <TH1.h>
20
21
#include <vector>
22
#include <string>
23
24
class
TauDQMFileLoader
:
public
edm::one::EDAnalyzer
<edm::one::SharedResources, edm::one::WatchRuns> {
25
typedef
dqm::legacy::DQMStore
DQMStore
;
26
typedef
dqm::legacy::MonitorElement
MonitorElement
;
27
28
typedef
std::vector<std::string>
vstring
;
29
typedef
std::set<std::string>
sstring
;
30
31
struct
cfgEntryFileSet
{
32
cfgEntryFileSet
(
const
std::string
&,
const
edm::ParameterSet
&);
33
void
print
()
const
;
34
std::string
name_
;
35
vstring
inputFileNames_
;
36
double
scaleFactor_
;
37
std::string
dqmDirectory_store_
;
38
};
39
40
public
:
41
explicit
TauDQMFileLoader
(
const
edm::ParameterSet
&);
42
~TauDQMFileLoader
()
override
;
43
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
44
void
beginRun
(
const
edm::Run
&
r
,
const
edm::EventSetup
&
c
)
override
{}
45
void
endRun
(
const
edm::Run
&
r
,
const
edm::EventSetup
&
c
)
override
;
46
47
private
:
48
std::map<std::string, cfgEntryFileSet>
fileSets_
;
49
std::map<std::string, sstring>
subDirectoryMap_
;
50
int
cfgError_
;
51
};
52
53
#endif
TauDQMFileLoader
Definition:
DQMFileLoader.h:24
TauDQMFileLoader::cfgEntryFileSet::name_
std::string name_
Definition:
DQMFileLoader.h:34
Event.h
EventSetup.h
TauDQMFileLoader::sstring
std::set< std::string > sstring
Definition:
DQMFileLoader.h:29
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:35
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
TauDQMFileLoader::beginRun
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
Definition:
DQMFileLoader.h:44
TauDQMFileLoader::cfgEntryFileSet::scaleFactor_
double scaleFactor_
Definition:
DQMFileLoader.h:36
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:466
TauDQMFileLoader::subDirectoryMap_
std::map< std::string, sstring > subDirectoryMap_
Definition:
DQMFileLoader.h:49
TauDQMFileLoader::endRun
void endRun(const edm::Run &r, const edm::EventSetup &c) override
Definition:
DQMFileLoader.cc:155
TauDQMFileLoader::vstring
std::vector< std::string > vstring
Definition:
DQMFileLoader.h:28
edm::EventSetup
Definition:
EventSetup.h:56
alignCSCRings.r
r
Definition:
alignCSCRings.py:93
TauDQMFileLoader::cfgEntryFileSet::cfgEntryFileSet
cfgEntryFileSet(const std::string &, const edm::ParameterSet &)
Definition:
DQMFileLoader.cc:54
TauDQMFileLoader::cfgError_
int cfgError_
Definition:
DQMFileLoader.h:50
TauDQMFileLoader::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition:
DQMFileLoader.h:26
TauDQMFileLoader::fileSets_
std::map< std::string, cfgEntryFileSet > fileSets_
Definition:
DQMFileLoader.h:48
EDAnalyzer.h
TauDQMFileLoader::~TauDQMFileLoader
~TauDQMFileLoader() override
Definition:
DQMFileLoader.cc:147
TauDQMFileLoader::cfgEntryFileSet::print
void print() const
Definition:
DQMFileLoader.cc:108
TauDQMFileLoader::TauDQMFileLoader
TauDQMFileLoader(const edm::ParameterSet &)
Definition:
DQMFileLoader.cc:120
edm::ParameterSet
Definition:
ParameterSet.h:48
TauDQMFileLoader::cfgEntryFileSet
Definition:
DQMFileLoader.h:31
TauDQMFileLoader::cfgEntryFileSet::dqmDirectory_store_
std::string dqmDirectory_store_
Definition:
DQMFileLoader.h:37
dqm::legacy::DQMStore
Definition:
DQMStore.h:814
edm::Event
Definition:
Event.h:73
edm::one::EDAnalyzer
Definition:
EDAnalyzer.h:30
edm::Run
Definition:
Run.h:45
TauDQMFileLoader::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
DQMFileLoader.cc:151
TauDQMFileLoader::DQMStore
dqm::legacy::DQMStore DQMStore
Definition:
DQMFileLoader.h:25
TauDQMFileLoader::cfgEntryFileSet::inputFileNames_
vstring inputFileNames_
Definition:
DQMFileLoader.h:35
Generated for CMSSW Reference Manual by
1.8.14