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
SiPixelRawDataErrorSource::meFedETypeNErr_
MonitorElement * meFedETypeNErr_[40]
Definition: SiPixelRawDataErrorSource.h:88
SiPixelRawDataErrorSource::meFedChLErr_
MonitorElement * meFedChLErr_[40]
Definition: SiPixelRawDataErrorSource.h:87
SiPixelRawDataErrorSource::firstRun
bool firstRun
Definition: SiPixelRawDataErrorSource.h:73
SiPixelRawDataErrorSource::meErrorType_
MonitorElement * meErrorType_[40]
Definition: SiPixelRawDataErrorSource.h:78
TrackerGeometry.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:81
SiPixelRawDataErrorSource::eventNo
int eventNo
Definition: SiPixelRawDataErrorSource.h:70
SiPixelRawDataErrorSource::thePixelStructure
std::map< uint32_t, SiPixelRawDataErrorModule * > thePixelStructure
Definition: SiPixelRawDataErrorSource.h:71
SiPixelRawDataErrorSource::topFolderName_
std::string topFolderName_
Definition: SiPixelRawDataErrorSource.h:61
SiPixelRawDataErrorSource::ErrorIterator
edm::DetSet< SiPixelRawDataError >::const_iterator ErrorIterator
Definition: SiPixelRawDataErrorSource.h:46
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
SiPixelRawDataErrorSource::fedcounter
MonitorElement * fedcounter
Definition: SiPixelRawDataErrorSource.h:76
SiPixelRawDataErrorSource::SiPixelRawDataErrorSource
SiPixelRawDataErrorSource(const edm::ParameterSet &conf)
Definition: SiPixelRawDataErrorSource.cc:53
SiPixelRawDataErrorSource::theFEDStructure
std::map< uint32_t, SiPixelRawDataErrorModule * > theFEDStructure
Definition: SiPixelRawDataErrorSource.h:72
SiPixelRawDataErrorSource::~SiPixelRawDataErrorSource
~SiPixelRawDataErrorSource() override
Definition: SiPixelRawDataErrorSource.cc:74
SiPixelRawDataErrorSource::conf_
edm::ParameterSet conf_
Definition: SiPixelRawDataErrorSource.h:56
TrackerTopology.h
SiPixelRawDataErrorSource::slowDown
bool slowDown
Definition: SiPixelRawDataErrorSource.h:64
TrackerTopologyRcd.h
SiPixelRawDataErrorSource::modOn
bool modOn
Definition: SiPixelRawDataErrorSource.h:66
SiPixelRawDataErrorSource::meTBMType_
MonitorElement * meTBMType_[40]
Definition: SiPixelRawDataErrorSource.h:82
SiPixelRawDataErrorSource::bookMEs
virtual void bookMEs(DQMStore::IBooker &)
Definition: SiPixelRawDataErrorSource.cc:277
SiPixelRawDataErrorSource::reducedSet
bool reducedSet
Definition: SiPixelRawDataErrorSource.h:65
SiPixelRawDataErrorSource
Definition: SiPixelRawDataErrorSource.h:41
SiPixelRawDataErrorSource::saveFile
bool saveFile
Definition: SiPixelRawDataErrorSource.h:62
SiPixelRawDataErrorSource::byLumiErrors
MonitorElement * byLumiErrors
Definition: SiPixelRawDataErrorSource.h:74
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelRawDataErrorSource::errorRate
MonitorElement * errorRate
Definition: SiPixelRawDataErrorSource.h:75
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
TrackerDigiGeometryRecord.h
edm::ParameterSet
Definition: ParameterSet.h:47
SiPixelRawDataErrorSource::ladOn
bool ladOn
Definition: SiPixelRawDataErrorSource.h:67
FEDRawDataCollection.h
SiPixelRawDataErrorSource::trackerTopoTokenBeginRun_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackerTopoTokenBeginRun_
Definition: SiPixelRawDataErrorSource.h:59
SiPixelRawDataErrorSource::bladeOn
bool bladeOn
Definition: SiPixelRawDataErrorSource.h:68
edm::EventSetup
Definition: EventSetup.h:58
DetSetVector.h
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd >
SiPixelRawDataErrorSource::meEvtSize_
MonitorElement * meEvtSize_[40]
Definition: SiPixelRawDataErrorSource.h:84
SiPixelRawDataErrorModule.h
SiPixelRawDataErrorSource::meNErrors_
MonitorElement * meNErrors_[40]
Definition: SiPixelRawDataErrorSource.h:79
SiPixelRawDataErrorSource::meFullType_
MonitorElement * meFullType_[40]
Definition: SiPixelRawDataErrorSource.h:80
SiPixelRawDataErrorSource::meEvtNbr_
MonitorElement * meEvtNbr_[40]
Definition: SiPixelRawDataErrorSource.h:83
SiPixelRawDataErrorSource::src_
edm::EDGetTokenT< edm::DetSetVector< SiPixelRawDataError > > src_
Definition: SiPixelRawDataErrorSource.h:57
SiPixelRawDataErrorSource::isPIB
bool isPIB
Definition: SiPixelRawDataErrorSource.h:63
SiPixelRawDataErrorSource::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: SiPixelRawDataErrorSource.cc:94
SiPixelRawDataErrorSource::inputSourceToken_
edm::EDGetTokenT< FEDRawDataCollection > inputSourceToken_
Definition: SiPixelRawDataErrorSource.h:58
SiPixelRawDataErrorSource::dqmBeginRun
void dqmBeginRun(const edm::Run &, edm::EventSetup const &) override
Definition: SiPixelRawDataErrorSource.cc:80
dqm::implementation::IBooker
Definition: DQMStore.h:43
SiPixelRawDataErrorSource::isUpgrade
bool isUpgrade
Definition: SiPixelRawDataErrorSource.h:69
edm::Event
Definition: Event.h:73
SiPixelRawDataErrorSource::trackerGeomTokenBeginRun_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeomTokenBeginRun_
Definition: SiPixelRawDataErrorSource.h:60
SiPixelRawDataErrorSource::meFedChNErr_
MonitorElement * meFedChNErr_[40]
Definition: SiPixelRawDataErrorSource.h:86
SiPixelRawDataErrorSource::meMapFEDs_
std::map< std::string, MonitorElement ** > meMapFEDs_
Definition: SiPixelRawDataErrorSource.h:90
edm::DetSet::const_iterator
collection_type::const_iterator const_iterator
Definition: DetSet.h:31