CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SiStripCommissioningSource.h
Go to the documentation of this file.
1 #ifndef DQM_SiStripCommissioningSources_SiStripCommissioningSource_H
2 #define DQM_SiStripCommissioningSources_SiStripCommissioningSource_H
3 
22 #include <string>
23 #include <vector>
24 #include <map>
25 #include <cstdint>
26 
27 class CommissioningTask;
30 
35 public: // ---------- Public interface ----------
37  typedef std::map<unsigned int, CommissioningTask*> TaskMap;
38  typedef std::vector<CommissioningTask*> VecOfTasks;
39  typedef std::vector<VecOfTasks> VecOfVecOfTasks;
42 
44 
46  SiStripCommissioningSource() = delete;
47 
48  ~SiStripCommissioningSource() override;
49 
50  void beginRun(edm::Run const&, const edm::EventSetup&) override;
51  void analyze(const edm::Event&, const edm::EventSetup&) override;
52  void endJob() override;
53 
54 private: // ---------- Private methods ----------
56  DQMStore* const dqm(std::string method = "") const;
57 
59  void createRunNumber();
60 
62  void createTask(const SiStripEventSummary* const, const edm::EventSetup&);
63 
65  void createCablingTasks();
66 
69 
71  void clearCablingTasks();
72 
74  void clearTasks();
75 
78 
80  void fillHistos(const SiStripEventSummary* const,
84 
86  void remove();
87 
89  void directory(std::stringstream&, uint32_t run_number = 0);
90 
92  //void cablingForConnectionRun( const sistrip::RunType& ); //@@ do not use!
93 
94  // ---------- DQM fwk and cabling ----------
95 
98 
102 
105 
106  // ---------- Input / output ----------
113 
119 
122 
124  uint32_t run_;
125 
128 
130  int32_t time_;
131 
133  bool isSpy_;
134 
135  // ---------- Histogram-related ----------
136 
139 
142 
145 
148 
151 
154 
157 
160 
163 
166 
169 };
170 
171 #endif // DQM_SiStripCommissioningSources_SiStripCommissioningSource_H
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiReorderedToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiVirginRawToken_
std::map< unsigned int, CommissioningTask * > TaskMap
void createTask(const SiStripEventSummary *const, const edm::EventSetup &)
edm::ESGetToken< SiStripPedestals, SiStripPedestalsRcd > pedestalToken_
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clustersToken_
void fillHistos(const SiStripEventSummary *const, const edm::DetSetVector< SiStripRawDigi > &, const edm::DetSetVector< SiStripRawDigi > &=edm::DetSetVector< SiStripRawDigi >(), const edmNew::DetSetVector< SiStripCluster > &=edmNew::DetSetVector< SiStripCluster >())
void createTasks(sistrip::RunType, const edm::EventSetup &)
void analyze(const edm::Event &, const edm::EventSetup &) override
void directory(std::stringstream &, uint32_t run_number=0)
void beginRun(edm::Run const &, const edm::EventSetup &) override
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_
DQMStore *const dqm(std::string method="") const
dqm::legacy::MonitorElement MonitorElement
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd > fedCablingToken_
edm::ESGetToken< SiStripNoises, SiStripNoisesRcd > noiseToken_
Definition: Run.h:45