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 
13 #include <string>
14 #include <vector>
15 #include <map>
16 
18 class DQMStore;
19 class TH1;
20 
30 
31  public:
32 
35 
36  void beginRun( const edm::Run&, const edm::EventSetup& ) override;
37  void analyze( const edm::Event&, const edm::EventSetup& ) override;
38  void endJob() override;
39 
40  protected:
41 
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, uint32_t, bool );
45 
46  protected:
47 
50 
53 
55  std::vector<std::string> inputFiles_;
56 
59 
62 
65 
68 
71 
74 
77 
80 
82  uint32_t runNumber_;
83 
85  typedef std::vector<TH1*> Histos;
86 
88  typedef std::map<uint32_t,Histos> HistosMap;
89 
91  HistosMap map_;
92 
94  std::vector<SummaryPlot> plots_;
95 
98 
99 };
100 
101 #endif // DQM_SiStripCommissioningClients_SiStripCommissioningOfflineClient_H
102 
Class which reads a root file containing "commissioning histograms", analyzes the histograms to extra...
virtual void setInputFiles(std::vector< std::string > &, const std::string, uint32_t, bool)
virtual void createHistos(const edm::ParameterSet &, const edm::EventSetup &)
SiStripCommissioningOfflineClient(const edm::ParameterSet &)
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: Run.h:43
void analyze(const edm::Event &, const edm::EventSetup &) override