CMS 3D CMS Logo

SiPixelRawDataErrorSource.h
Go to the documentation of this file.
1 #ifndef SiPixelMonitorRawData_SiPixelRawDataErrorSource_h
2 #define SiPixelMonitorRawData_SiPixelRawDataErrorSource_h
3 // -*- C++ -*-
4 //
5 // Package: SiPixelMonitorRawData
6 // Class : SiPixelRawDataErrorSource
7 //
24 //
25 // Original Author: Andrew York
26 //
27 
28 #include <memory>
29 
30 // user include files
39 #include <cstdint>
40 
42 public:
43  explicit SiPixelRawDataErrorSource(const edm::ParameterSet &conf);
44  ~SiPixelRawDataErrorSource() override;
45 
47 
48  void analyze(const edm::Event &, const edm::EventSetup &) override;
49  void dqmBeginRun(const edm::Run &, edm::EventSetup const &) override;
50  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
51 
52  virtual void buildStructure(edm::EventSetup const &);
53  virtual void bookMEs(DQMStore::IBooker &);
54 
55 private:
62  bool saveFile;
63  bool isPIB;
64  bool slowDown;
65  bool reducedSet;
66  bool modOn;
67  bool ladOn;
68  bool bladeOn;
69  bool isUpgrade;
70  int eventNo;
71  std::map<uint32_t, SiPixelRawDataErrorModule *> thePixelStructure;
72  std::map<uint32_t, SiPixelRawDataErrorModule *> theFEDStructure;
73  bool firstRun;
77 
85 
89 
90  std::map<std::string, MonitorElement **> meMapFEDs_;
91 };
92 
93 #endif
edm::DetSet< SiPixelRawDataError >::const_iterator ErrorIterator
virtual void bookMEs(DQMStore::IBooker &)
edm::EDGetTokenT< edm::DetSetVector< SiPixelRawDataError > > src_
MonitorElement * meFedETypeNErr_[40]
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeomTokenBeginRun_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::map< uint32_t, SiPixelRawDataErrorModule * > theFEDStructure
void dqmBeginRun(const edm::Run &, edm::EventSetup const &) override
SiPixelRawDataErrorSource(const edm::ParameterSet &conf)
std::map< uint32_t, SiPixelRawDataErrorModule * > thePixelStructure
edm::EDGetTokenT< FEDRawDataCollection > inputSourceToken_
virtual void buildStructure(edm::EventSetup const &)
void analyze(const edm::Event &, const edm::EventSetup &) override
std::map< std::string, MonitorElement ** > meMapFEDs_
collection_type::const_iterator const_iterator
Definition: DetSet.h:31
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackerTopoTokenBeginRun_
Definition: Run.h:45