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 
25 {
26  typedef std::vector<std::string> vstring;
27  typedef std::set<std::string> sstring;
28 
30  {
32  void print() const;
34  vstring inputFileNames_;
35  double scaleFactor_;
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 
void endJob() override
Definition: DQMFileLoader.h:43
std::set< std::string > sstring
Definition: DQMFileLoader.h:27
std::map< std::string, sstring > subDirectoryMap_
Definition: DQMFileLoader.h:48
void endRun(const edm::Run &r, const edm::EventSetup &c) override
std::vector< std::string > vstring
Definition: DQMFileLoader.h:26
cfgEntryFileSet(const std::string &, const edm::ParameterSet &)
std::map< std::string, cfgEntryFileSet > fileSets_
Definition: DQMFileLoader.h:47
~TauDQMFileLoader() override
TauDQMFileLoader(const edm::ParameterSet &)
Definition: Run.h:45
void analyze(const edm::Event &, const edm::EventSetup &) override