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 #include <cstdint>
51 
53 public:
54  explicit SiPixelRawDataErrorSource(const edm::ParameterSet &conf);
55  ~SiPixelRawDataErrorSource() override;
56 
58 
59  void analyze(const edm::Event &, const edm::EventSetup &) override;
60  void dqmBeginRun(const edm::Run &, edm::EventSetup const &) override;
61  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
62 
63  virtual void buildStructure(edm::EventSetup const &);
64  virtual void bookMEs(DQMStore::IBooker &);
65 
66 private:
71  bool saveFile;
72  bool isPIB;
73  bool slowDown;
74  bool reducedSet;
75  bool modOn;
76  bool ladOn;
77  bool bladeOn;
78  bool isUpgrade;
79  int eventNo;
80  std::map<uint32_t, SiPixelRawDataErrorModule *> thePixelStructure;
81  std::map<uint32_t, SiPixelRawDataErrorModule *> theFEDStructure;
82  bool firstRun;
86 
94 
98 
99  std::map<std::string, MonitorElement **> meMapFEDs_;
100 };
101 
102 #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:32
Definition: Run.h:45