CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripCommissioningSource.h
Go to the documentation of this file.
1 #ifndef DQM_SiStripCommissioningSources_SiStripCommissioningSource_H
2 #define DQM_SiStripCommissioningSources_SiStripCommissioningSource_H
3 
13 #include <boost/cstdint.hpp>
14 #include <string>
15 #include <vector>
16 #include <map>
17 
18 class DQMStore;
19 class CommissioningTask;
22 
27 
28  public: // ---------- Public interface ----------
29 
31  typedef std::map<unsigned int, CommissioningTask*> TaskMap;
32  typedef std::vector<CommissioningTask*> VecOfTasks;
33  typedef std::vector<VecOfTasks> VecOfVecOfTasks;
34 
37 
38  void beginRun( edm::Run const &, const edm::EventSetup & );
39  void analyze( const edm::Event &, const edm::EventSetup & );
40  void endJob();
41 
42  private: // ---------- Private methods ----------
43 
46 
48  DQMStore* const dqm( std::string method = "" ) const;
49 
51  void createRunNumber();
52 
54  void createTask( const SiStripEventSummary* const, const edm::EventSetup& );
55 
57  void createCablingTasks();
58 
61 
63  void clearCablingTasks();
64 
66  void clearTasks();
67 
69  void fillCablingHistos( const SiStripEventSummary* const,
71 
73  void fillHistos( const SiStripEventSummary* const,
75 
77  void remove();
78 
80  void directory( std::stringstream&,
81  uint32_t run_number = 0 );
82 
84  //void cablingForConnectionRun( const sistrip::RunType& ); //@@ do not use!
85 
86 
87  // ---------- DQM fwk and cabling ----------
88 
91 
94 
97 
98  // ---------- Input / output ----------
99 
103 
106 
108  uint32_t run_;
109 
111  int32_t time_;
112 
113  // ---------- Histogram-related ----------
114 
117 
120 
123 
126 
129 
132 
135 
138 
141 
144 
145 
146 };
147 
148 #endif // DQM_SiStripCommissioningSources_SiStripCommissioningSource_H
149 
std::map< unsigned int, CommissioningTask * > TaskMap
void createTask(const SiStripEventSummary *const, const edm::EventSetup &)
void beginRun(edm::Run const &, const edm::EventSetup &)
DQMStore *const dqm(std::string method="") const
void createTasks(sistrip::RunType, const edm::EventSetup &)
void directory(std::stringstream &, uint32_t run_number=0)
void analyze(const edm::Event &, const edm::EventSetup &)
std::vector< CommissioningTask * > VecOfTasks
Class containning control, module, detector and connection information, at the level of a FED channel...
void fillCablingHistos(const SiStripEventSummary *const, const edm::DetSetVector< SiStripRawDigi > &)
std::vector< VecOfTasks > VecOfVecOfTasks
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
void fillHistos(const SiStripEventSummary *const, const edm::DetSetVector< SiStripRawDigi > &)
Definition: Run.h:36