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
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
Handle.h
SiPixelRawDataErrorSource::meFedETypeNErr_
MonitorElement * meFedETypeNErr_[40]
Definition: SiPixelRawDataErrorSource.h:97
SiPixelRawDataErrorSource::meFedChLErr_
MonitorElement * meFedChLErr_[40]
Definition: SiPixelRawDataErrorSource.h:96
SiPixelRawDataErrorSource::firstRun
bool firstRun
Definition: SiPixelRawDataErrorSource.h:82
SiPixelRawDataErrorSource::meErrorType_
MonitorElement * meErrorType_[40]
Definition: SiPixelRawDataErrorSource.h:87
EDProducer.h
ESHandle.h
SiPixelRawDataErrorSource::buildStructure
virtual void buildStructure(edm::EventSetup const &)
Definition: SiPixelRawDataErrorSource.cc:185
edm::Run
Definition: Run.h:45
SiPixelRawDataErrorSource::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: SiPixelRawDataErrorSource.cc:104
edm::EDGetTokenT
Definition: EDGetToken.h:33
SiPixelRawDataErrorSource::meTBMMessage_
MonitorElement * meTBMMessage_[40]
Definition: SiPixelRawDataErrorSource.h:90
SiPixelRawDataErrorSource::eventNo
int eventNo
Definition: SiPixelRawDataErrorSource.h:79
SiPixelRawDataErrorSource::thePixelStructure
std::map< uint32_t, SiPixelRawDataErrorModule * > thePixelStructure
Definition: SiPixelRawDataErrorSource.h:80
SiPixelRawDataErrorSource::topFolderName_
std::string topFolderName_
Definition: SiPixelRawDataErrorSource.h:70
SiPixelRawDataErrorSource::ErrorIterator
edm::DetSet< SiPixelRawDataError >::const_iterator ErrorIterator
Definition: SiPixelRawDataErrorSource.h:57
DQMStore.h
SiPixelRawDataErrorSource::fedcounter
MonitorElement * fedcounter
Definition: SiPixelRawDataErrorSource.h:85
EDAnalyzer.h
SiPixelRawDataErrorSource::SiPixelRawDataErrorSource
SiPixelRawDataErrorSource(const edm::ParameterSet &conf)
Definition: SiPixelRawDataErrorSource.cc:55
DQMOneEDAnalyzer.h
SiPixelRawDataErrorSource::theFEDStructure
std::map< uint32_t, SiPixelRawDataErrorModule * > theFEDStructure
Definition: SiPixelRawDataErrorSource.h:81
SiPixelRawDataErrorSource::~SiPixelRawDataErrorSource
~SiPixelRawDataErrorSource() override
Definition: SiPixelRawDataErrorSource.cc:74
SiPixelRawDataErrorSource::conf_
edm::ParameterSet conf_
Definition: SiPixelRawDataErrorSource.h:67
dqm::legacy::DQMStore::IBooker
dqm::implementation::IBooker IBooker
Definition: DQMStore.h:729
MakerMacros.h
SiPixelRawDataErrorSource::slowDown
bool slowDown
Definition: SiPixelRawDataErrorSource.h:73
SiPixelRawDataErrorSource::modOn
bool modOn
Definition: SiPixelRawDataErrorSource.h:75
SiPixelRawDataErrorSource::meTBMType_
MonitorElement * meTBMType_[40]
Definition: SiPixelRawDataErrorSource.h:91
SiPixelRawDataErrorSource::bookMEs
virtual void bookMEs(DQMStore::IBooker &)
Definition: SiPixelRawDataErrorSource.cc:280
SiPixelRawDataErrorSource::reducedSet
bool reducedSet
Definition: SiPixelRawDataErrorSource.h:74
SiPixelRawDataErrorSource
Definition: SiPixelRawDataErrorSource.h:52
SiPixelRawDataErrorSource::saveFile
bool saveFile
Definition: SiPixelRawDataErrorSource.h:71
SiPixelRawDataErrorSource::byLumiErrors
MonitorElement * byLumiErrors
Definition: SiPixelRawDataErrorSource.h:83
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelRawDataErrorSource::errorRate
MonitorElement * errorRate
Definition: SiPixelRawDataErrorSource.h:84
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
DQMOneLumiEDAnalyzer
Definition: DQMOneEDAnalyzer.h:90
SiPixelRawDataErrorSource::ladOn
bool ladOn
Definition: SiPixelRawDataErrorSource.h:76
FEDRawDataCollection.h
SiPixelRawDataErrorSource::bladeOn
bool bladeOn
Definition: SiPixelRawDataErrorSource.h:77
edm::EventSetup
Definition: EventSetup.h:57
DetSetVector.h
SiPixelRawDataErrorSource::meEvtSize_
MonitorElement * meEvtSize_[40]
Definition: SiPixelRawDataErrorSource.h:93
SiPixelRawDataErrorModule.h
SiPixelRawDataErrorSource::meNErrors_
MonitorElement * meNErrors_[40]
Definition: SiPixelRawDataErrorSource.h:88
SiPixelRawDataErrorSource::meFullType_
MonitorElement * meFullType_[40]
Definition: SiPixelRawDataErrorSource.h:89
SiPixelRawDataErrorSource::meEvtNbr_
MonitorElement * meEvtNbr_[40]
Definition: SiPixelRawDataErrorSource.h:92
Frameworkfwd.h
SiPixelRawDataErrorSource::src_
edm::EDGetTokenT< edm::DetSetVector< SiPixelRawDataError > > src_
Definition: SiPixelRawDataErrorSource.h:68
SiPixelRawDataErrorSource::isPIB
bool isPIB
Definition: SiPixelRawDataErrorSource.h:72
SiPixelRawDataErrorSource::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: SiPixelRawDataErrorSource.cc:94
EventSetup.h
SiPixelRawDataErrorSource::inputSourceToken_
edm::EDGetTokenT< FEDRawDataCollection > inputSourceToken_
Definition: SiPixelRawDataErrorSource.h:69
SiPixelRawDataError.h
SiPixelRawDataErrorSource::dqmBeginRun
void dqmBeginRun(const edm::Run &, edm::EventSetup const &) override
Definition: SiPixelRawDataErrorSource.cc:80
SiPixelRawDataErrorSource::isUpgrade
bool isUpgrade
Definition: SiPixelRawDataErrorSource.h:78
ParameterSet.h
edm::Event
Definition: Event.h:73
SiPixelRawDataErrorSource::meFedChNErr_
MonitorElement * meFedChNErr_[40]
Definition: SiPixelRawDataErrorSource.h:95
SiPixelRawDataErrorSource::meMapFEDs_
std::map< std::string, MonitorElement ** > meMapFEDs_
Definition: SiPixelRawDataErrorSource.h:99
edm::DetSet::const_iterator
collection_type::const_iterator const_iterator
Definition: DetSet.h:31