CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 //
23 //
24 // Original Author: Andrew York
25 //
26 
27 #include <memory>
28 
29 // user include files
33 
36 
38 
41 
42 
50 
51 #include <boost/cstdint.hpp>
52 
54  public:
55  explicit SiPixelRawDataErrorSource(const edm::ParameterSet& conf);
57 
59 
60  virtual void analyze(const edm::Event&, const edm::EventSetup&);
61  virtual void dqmBeginRun(const edm::Run&, edm::EventSetup const&) ;
62  virtual 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 
104 #endif
edm::DetSet< SiPixelRawDataError >::const_iterator ErrorIterator
virtual void bookMEs(DQMStore::IBooker &)
std::map< uint32_t, SiPixelRawDataErrorModule * > theFEDStructure
edm::EDGetTokenT< edm::DetSetVector< SiPixelRawDataError > > src_
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * meFedETypeNErr_[40]
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::map< uint32_t, SiPixelRawDataErrorModule * > thePixelStructure
SiPixelRawDataErrorSource(const edm::ParameterSet &conf)
edm::EDGetTokenT< FEDRawDataCollection > inputSourceToken_
std::map< std::string, MonitorElement ** > meMapFEDs_
virtual void buildStructure(edm::EventSetup const &)
collection_type::const_iterator const_iterator
Definition: DetSet.h:33
Definition: Run.h:43
virtual void dqmBeginRun(const edm::Run &, edm::EventSetup const &)