CMS 3D CMS Logo

L1TMP7ZeroSupp.h
Go to the documentation of this file.
1 #ifndef DQM_L1TMonitor_L1TMP7ZeroSupp_h
2 #define DQM_L1TMonitor_L1TMP7ZeroSupp_h
3 
5 //#include "DataFormats/FEDRawData/interface/FEDNumbering.h"
8 
11 
14 
20 
21 class L1TMP7ZeroSupp : public DQMEDAnalyzer {
22 public:
24  ~L1TMP7ZeroSupp() override;
25  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
26 
27 protected:
28  void bookHistograms(DQMStore::IBooker&, const edm::Run&, const edm::EventSetup&) override;
29  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
30 
31 private:
32  void bookCapIdHistograms(DQMStore::IBooker& ibooker, const unsigned int& id);
33 
34  // Add additional bins only before NBINLABELS
35  enum binlabels {
36  EVTS = 0,
50  };
52  REVTS = 0,
60  };
61 
63  bool zsEnabled_;
64  std::vector<int> fedIds_;
65  std::vector<std::vector<int>> masks_;
66 
67  // header and trailer sizes in chars
77 
79 
81 
83  bool verbose_;
84 
85  static const unsigned int maxMasks_;
86 
87  std::vector<unsigned int> definedMaskCapIds_;
88 
89  std::map<unsigned int, MonitorElement*> zeroSuppValMap_;
90  std::map<unsigned int, MonitorElement*> errorSummaryNumMap_;
91  std::map<unsigned int, MonitorElement*> errorSummaryDenMap_;
92  std::map<unsigned int, MonitorElement*> readoutSizeNoZSMap_;
93  std::map<unsigned int, MonitorElement*> readoutSizeZSMap_;
94  std::map<unsigned int, MonitorElement*> readoutSizeZSExpectedMap_;
96 };
97 
98 #endif
std::map< unsigned int, MonitorElement * > readoutSizeZSExpectedMap_
std::map< unsigned int, MonitorElement * > zeroSuppValMap_
edm::EDGetTokenT< FEDRawDataCollection > fedDataToken_
std::map< unsigned int, MonitorElement * > readoutSizeNoZSMap_
L1TMP7ZeroSupp(const edm::ParameterSet &ps)
std::string monitorDir_
void analyze(const edm::Event &e, const edm::EventSetup &c) override
void bookCapIdHistograms(DQMStore::IBooker &ibooker, const unsigned int &id)
std::map< unsigned int, MonitorElement * > errorSummaryNumMap_
std::vector< unsigned int > definedMaskCapIds_
MonitorElement * capIds_
std::map< unsigned int, MonitorElement * > errorSummaryDenMap_
std::vector< std::vector< int > > masks_
static const unsigned int maxMasks_
~L1TMP7ZeroSupp() override
std::vector< int > fedIds_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void bookHistograms(DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &) override
std::map< unsigned int, MonitorElement * > readoutSizeZSMap_
bool checkOnlyCapIdsWithMasks_
Definition: Run.h:45