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, 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 
86 
88  typedef std::vector<TH1*> Histos;
89 
91  typedef std::map<uint32_t,Histos> HistosMap;
92 
94  HistosMap map_;
95 
97  std::vector<SummaryPlot> plots_;
98 
101 
102 };
103 
104 #endif // DQM_SiStripCommissioningClients_SiStripCommissioningOfflineClient_H
105 
Class which reads a root file containing "commissioning histograms", analyzes the histograms to extra...
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:44
void analyze(const edm::Event &, const edm::EventSetup &) override