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
34 
37 
39 
42 
50 
51 #include <boost/cstdint.hpp>
52 
53 class SiPixelRawDataErrorSource : public one::DQMEDAnalyzer<one::DQMLuminosityBlockElements> {
54 public:
55  explicit SiPixelRawDataErrorSource(const edm::ParameterSet &conf);
56  ~SiPixelRawDataErrorSource() override;
57 
59 
60  void analyze(const edm::Event &, const edm::EventSetup &) override;
61  void dqmBeginRun(const edm::Run &, edm::EventSetup const &) override;
62  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
63 
64  virtual void buildStructure(edm::EventSetup const &);
65  virtual void bookMEs(DQMStore::IBooker &);
66 
67 private:
72  bool saveFile;
73  bool isPIB;
74  bool slowDown;
75  bool reducedSet;
76  bool modOn;
77  bool ladOn;
78  bool bladeOn;
79  bool isUpgrade;
80  int eventNo;
81  std::map<uint32_t, SiPixelRawDataErrorModule *> thePixelStructure;
82  std::map<uint32_t, SiPixelRawDataErrorModule *> theFEDStructure;
83  bool firstRun;
87 
95 
99 
100  std::map<std::string, MonitorElement **> meMapFEDs_;
101 };
102 
103 #endif
edm::DetSet< SiPixelRawDataError >::const_iterator ErrorIterator
virtual void bookMEs(DQMStore::IBooker &)
edm::EDGetTokenT< edm::DetSetVector< SiPixelRawDataError > > src_
MonitorElement * meFedETypeNErr_[40]
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:33
Definition: Run.h:45