CMS 3D CMS Logo

DQMFileLoader.h
Go to the documentation of this file.
1 #ifndef TauDQMFileLoader_h
2 #define TauDQMFileLoader_h
3 
11 // framework & common header files
16 
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> {
27 
28  typedef std::vector<std::string> vstring;
29  typedef std::set<std::string> sstring;
30 
31  struct cfgEntryFileSet {
33  void print() const;
36  double scaleFactor_;
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
std::set< std::string > sstring
Definition: DQMFileLoader.h:29
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
Definition: DQMFileLoader.h:44
std::map< std::string, sstring > subDirectoryMap_
Definition: DQMFileLoader.h:49
void endRun(const edm::Run &r, const edm::EventSetup &c) override
std::vector< std::string > vstring
Definition: DQMFileLoader.h:28
cfgEntryFileSet(const std::string &, const edm::ParameterSet &)
dqm::legacy::MonitorElement MonitorElement
Definition: DQMFileLoader.h:26
std::map< std::string, cfgEntryFileSet > fileSets_
Definition: DQMFileLoader.h:48
~TauDQMFileLoader() override
TauDQMFileLoader(const edm::ParameterSet &)
Definition: Run.h:45
void analyze(const edm::Event &, const edm::EventSetup &) override
dqm::legacy::DQMStore DQMStore
Definition: DQMFileLoader.h:25