CMS 3D CMS Logo

SiPixelRawDataErrorModule.h
Go to the documentation of this file.
1 #ifndef SiPixelMonitorRawData_SiPixelRawDataErrorModule_h
2 #define SiPixelMonitorRawData_SiPixelRawDataErrorModule_h
3 // -*- C++ -*-
4 //
5 // Package: SiPixelMonitorRawData
6 // Class: SiPixelRawDataErrorModule
7 //
19 //
20 // Original Author: Andrew York
21 // Created:
22 //
27 #include <cstdint>
28 
30 public:
33 
37  SiPixelRawDataErrorModule(const uint32_t &id);
39  SiPixelRawDataErrorModule(const uint32_t &id, const int &ncols, const int &nrows);
42 
44 
46  void book(const edm::ParameterSet &iConfig, DQMStore::IBooker &, int type = 0, bool isUpgrade = false);
49  std::map<std::string, MonitorElement **> *meMapFEDs,
50  bool modon = true,
51  bool ladon = false,
52  bool bladeon = false);
54  int fillFED(const edm::DetSetVector<SiPixelRawDataError> &input, std::map<std::string, MonitorElement **> *meMapFEDs);
55 
56 private:
57  uint32_t id_;
58  int ncols_;
59  int nrows_;
60  bool _debug_;
61 
62  // barrel:
63  MonitorElement *meErrorTypeLad_;
64  MonitorElement *meNErrorsLad_;
65  MonitorElement *meFullTypeLad_;
66  MonitorElement *meTBMMessageLad_;
67  MonitorElement *meTBMTypeLad_;
68  MonitorElement *meEvtNbrLad_;
69  MonitorElement *meEvtSizeLad_;
70 
71  // forward:
72  MonitorElement *meErrorTypeBlade_;
73  MonitorElement *meNErrorsBlade_;
74  MonitorElement *meFullTypeBlade_;
75  MonitorElement *meTBMMessageBlade_;
76  MonitorElement *meTBMTypeBlade_;
77  MonitorElement *meEvtNbrBlade_;
78  MonitorElement *meEvtSizeBlade_;
79 
85  static const unsigned long long TRLRBGN_mask, EVTLGT_mask, TRLREND_mask;
86 };
87 #endif
type
Definition: HCALResponse.h:21
void book(const edm::ParameterSet &iConfig, DQMStore::IBooker &, int type=0, bool isUpgrade=false)
Book histograms.
int fillFED(const edm::DetSetVector< SiPixelRawDataError > &input, std::map< std::string, MonitorElement ** > *meMapFEDs)
Fill FED histograms.
static std::string const input
Definition: EdmProvDump.cc:48
int fill(const edm::DetSetVector< SiPixelRawDataError > &input, std::map< std::string, MonitorElement ** > *meMapFEDs, bool modon=true, bool ladon=false, bool bladeon=false)
Fill histograms.
static const uint32_t DataBit_mask
edm::DetSet< SiPixelRawDataError >::const_iterator ErrorIterator
SiPixelRawDataErrorModule()
Default constructor.
static const unsigned long long EVTLGT_mask
dqm::reco::MonitorElement MonitorElement
static const unsigned long long TRLRBGN_mask
collection_type::const_iterator const_iterator
Definition: DetSet.h:32
static const unsigned long long TRLREND_mask