CMS 3D CMS Logo

SiStripCommissioningOfflineClient.h
Go to the documentation of this file.
1 
2 #ifndef DQM_SiStripCommissioningClients_SiStripCommissioningOfflineClient_H
3 #define DQM_SiStripCommissioningClients_SiStripCommissioningOfflineClient_H
4 
14 #include <string>
15 #include <vector>
16 #include <map>
17 
19 class TH1;
20 
29 class SiStripCommissioningOfflineClient : public edm::one::EDAnalyzer<edm::one::SharedResources, edm::one::WatchRuns> {
30 public:
33 
36 
37  void beginRun(const edm::Run&, const edm::EventSetup&) override;
38  void endRun(const edm::Run&, const edm::EventSetup&) override {}
39  void analyze(const edm::Event&, const edm::EventSetup&) override;
40  void endJob() override;
41 
42 protected:
43  virtual void createHistos(const edm::ParameterSet&, const edm::EventSetup&);
44  virtual void uploadToConfigDb() { ; }
45  virtual void setInputFiles(std::vector<std::string>&, const std::string, const std::string, uint32_t, bool);
46 
47 protected:
50 
53 
55  std::vector<std::string> inputFiles_;
56 
59 
62 
65 
68 
71 
74 
77 
80 
82  uint32_t runNumber_;
83 
86 
88  typedef std::vector<TH1*> Histos;
89 
91  typedef std::map<uint32_t, Histos> HistosMap;
92 
95 
97  std::vector<SummaryPlot> plots_;
98 
101 };
102 
103 #endif // DQM_SiStripCommissioningClients_SiStripCommissioningOfflineClient_H
void endRun(const edm::Run &, const edm::EventSetup &) override
Class which reads a root file containing "commissioning histograms", analyzes the histograms to extra...
dqm::harvesting::MonitorElement MonitorElement
virtual void createHistos(const edm::ParameterSet &, const edm::EventSetup &)
SiStripCommissioningOfflineClient(const edm::ParameterSet &)
virtual void setInputFiles(std::vector< std::string > &, const std::string, const std::string, uint32_t, bool)
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: Run.h:45
void analyze(const edm::Event &, const edm::EventSetup &) override