Main Page
Namespaces
Classes
Package Documentation
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/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/DQMDefinitions.h
"
18
19
#include <TH1.h>
20
21
#include <vector>
22
#include <string>
23
24
class
TauDQMFileLoader
:
public
edm::EDAnalyzer
25
{
26
typedef
std::vector<std::string>
vstring
;
27
typedef
std::set<std::string>
sstring
;
28
29
struct
cfgEntryFileSet
30
{
31
cfgEntryFileSet
(
const
std::string
&,
const
edm::ParameterSet
&);
32
void
print
()
const
;
33
std::string
name_
;
34
vstring
inputFileNames_
;
35
double
scaleFactor_
;
36
std::string
dqmDirectory_store_
;
37
};
38
39
public
:
40
explicit
TauDQMFileLoader
(
const
edm::ParameterSet
&);
41
~TauDQMFileLoader
()
override
;
42
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
43
void
endJob
()
override
{}
44
void
endRun
(
const
edm::Run
&
r
,
const
edm::EventSetup
&
c
)
override
;
45
46
private
:
47
std::map<std::string, cfgEntryFileSet>
fileSets_
;
48
std::map<std::string, sstring>
subDirectoryMap_
;
49
int
cfgError_
;
50
};
51
52
#endif
53
54
TauDQMFileLoader
Definition:
DQMFileLoader.h:24
TauDQMFileLoader::cfgEntryFileSet::name_
std::string name_
Definition:
DQMFileLoader.h:33
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Event.h
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:44
EventSetup.h
TauDQMFileLoader::endJob
void endJob() override
Definition:
DQMFileLoader.h:43
TauDQMFileLoader::sstring
std::set< std::string > sstring
Definition:
DQMFileLoader.h:27
DQMDefinitions.h
ParameterSet.h
TauDQMFileLoader::cfgEntryFileSet::scaleFactor_
double scaleFactor_
Definition:
DQMFileLoader.h:35
TauDQMFileLoader::subDirectoryMap_
std::map< std::string, sstring > subDirectoryMap_
Definition:
DQMFileLoader.h:48
TauDQMFileLoader::endRun
void endRun(const edm::Run &r, const edm::EventSetup &c) override
Definition:
DQMFileLoader.cc:158
TauDQMFileLoader::vstring
std::vector< std::string > vstring
Definition:
DQMFileLoader.h:26
edm::EventSetup
Definition:
EventSetup.h:57
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
alignCSCRings.r
r
Definition:
alignCSCRings.py:93
TauDQMFileLoader::cfgEntryFileSet::cfgEntryFileSet
cfgEntryFileSet(const std::string &, const edm::ParameterSet &)
Definition:
DQMFileLoader.cc:55
TauDQMFileLoader::cfgError_
int cfgError_
Definition:
DQMFileLoader.h:49
TauDQMFileLoader::fileSets_
std::map< std::string, cfgEntryFileSet > fileSets_
Definition:
DQMFileLoader.h:47
TauDQMFileLoader::~TauDQMFileLoader
~TauDQMFileLoader() override
Definition:
DQMFileLoader.cc:148
TauDQMFileLoader::cfgEntryFileSet::print
void print() const
Definition:
DQMFileLoader.cc:109
TauDQMFileLoader::TauDQMFileLoader
TauDQMFileLoader(const edm::ParameterSet &)
Definition:
DQMFileLoader.cc:122
edm::ParameterSet
Definition:
ParameterSet.h:36
TauDQMFileLoader::cfgEntryFileSet
Definition:
DQMFileLoader.h:29
TauDQMFileLoader::cfgEntryFileSet::dqmDirectory_store_
std::string dqmDirectory_store_
Definition:
DQMFileLoader.h:36
edm::Event
Definition:
Event.h:71
edm::Run
Definition:
Run.h:45
TauDQMFileLoader::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
DQMFileLoader.cc:153
TauDQMFileLoader::cfgEntryFileSet::inputFileNames_
vstring inputFileNames_
Definition:
DQMFileLoader.h:34
Generated for CMSSW Reference Manual by
1.8.11