test
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 
14 #include <boost/cstdint.hpp>
15 #include <string>
16 #include <vector>
17 #include <map>
18 
19 class DQMStore;
20 class CommissioningTask;
23 
28 
29  public: // ---------- Public interface ----------
30 
32  typedef std::map<unsigned int, CommissioningTask*> TaskMap;
33  typedef std::vector<CommissioningTask*> VecOfTasks;
34  typedef std::vector<VecOfTasks> VecOfVecOfTasks;
35 
38 
39  void beginRun( edm::Run const &, const edm::EventSetup & );
40  void analyze( const edm::Event &, const edm::EventSetup & );
41  void endJob();
42 
43  private: // ---------- Private methods ----------
44 
47 
49  DQMStore* const dqm( std::string method = "" ) const;
50 
52  void createRunNumber();
53 
55  void createTask( const SiStripEventSummary* const, const edm::EventSetup& );
56 
58  void createCablingTasks();
59 
62 
64  void clearCablingTasks();
65 
67  void clearTasks();
68 
70  void fillCablingHistos( const SiStripEventSummary* const,
72 
74  void fillHistos( const SiStripEventSummary* const,
76 
78  void remove();
79 
81  void directory( std::stringstream&,
82  uint32_t run_number = 0 );
83 
85  //void cablingForConnectionRun( const sistrip::RunType& ); //@@ do not use!
86 
87 
88  // ---------- DQM fwk and cabling ----------
89 
92 
95 
98 
99  // ---------- Input / output ----------
104 
108 
111 
113  uint32_t run_;
114 
116  int32_t time_;
117 
118  // ---------- Histogram-related ----------
119 
122 
125 
128 
131 
134 
137 
140 
143 
146 
149 
150 
151 };
152 
153 #endif // DQM_SiStripCommissioningSources_SiStripCommissioningSource_H
154 
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiVirginRawToken_
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
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiFineDelaySelectionToken_
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
edm::EDGetTokenT< SiStripEventSummary > inputModuleSummaryToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiScopeModeToken_
void fillHistos(const SiStripEventSummary *const, const edm::DetSetVector< SiStripRawDigi > &)
Definition: Run.h:42