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 
22 class L1TMP7ZeroSupp : public DQMEDAnalyzer {
23 
24  public:
25 
27  ~L1TMP7ZeroSupp() override;
28  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
29 
30  protected:
31 
32  void dqmBeginRun(const edm::Run& r, const edm::EventSetup& c) override;
33  void bookHistograms(DQMStore::IBooker&, const edm::Run&, const edm::EventSetup&) override;
34  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
35 
36  private:
37 
38  void bookCapIdHistograms(DQMStore::IBooker& ibooker, const unsigned int& id);
39 
40  // Add additional bins only before NBINLABELS
43 
45  bool zsEnabled_;
46  std::vector<int> fedIds_;
47  std::vector<std::vector<int>> masks_;
48 
49  // header and trailer sizes in chars
59 
61 
63 
65  bool verbose_;
66 
67  static const unsigned int maxMasks_;
68 
69  std::vector<unsigned int> definedMaskCapIds_;
70 
71  std::map<unsigned int, MonitorElement*> zeroSuppValMap_;
72  std::map<unsigned int, MonitorElement*> errorSummaryNumMap_;
73  std::map<unsigned int, MonitorElement*> errorSummaryDenMap_;
74  std::map<unsigned int, MonitorElement*> readoutSizeNoZSMap_;
75  std::map<unsigned int, MonitorElement*> readoutSizeZSMap_;
76  std::map<unsigned int, MonitorElement*> readoutSizeZSExpectedMap_;
78 };
79 
80 #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
void dqmBeginRun(const edm::Run &r, const edm::EventSetup &c) override
std::map< unsigned int, MonitorElement * > readoutSizeZSMap_
bool checkOnlyCapIdsWithMasks_
Definition: Run.h:45