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 
30 public:
33 
36 
37  void beginRun(const edm::Run&, const edm::EventSetup&) override;
38  void analyze(const edm::Event&, const edm::EventSetup&) override;
39  void endJob() override;
40 
41 protected:
42  virtual void createHistos(const edm::ParameterSet&, const edm::EventSetup&);
43  virtual void uploadToConfigDb() { ; }
44  virtual void setInputFiles(std::vector<std::string>&, const std::string, const std::string, uint32_t, bool);
45 
46 protected:
49 
52 
54  std::vector<std::string> inputFiles_;
55 
58 
61 
64 
67 
70 
73 
76 
79 
81  uint32_t runNumber_;
82 
85 
87  typedef std::vector<TH1*> Histos;
88 
90  typedef std::map<uint32_t, Histos> HistosMap;
91 
94 
96  std::vector<SummaryPlot> plots_;
97 
100 };
101 
102 #endif // DQM_SiStripCommissioningClients_SiStripCommissioningOfflineClient_H
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