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 beginLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&) override;
34  void bookHistograms(DQMStore::IBooker&, const edm::Run&, const edm::EventSetup&) override;
35  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
36 
37  private:
38 
39  void bookCapIdHistograms(DQMStore::IBooker& ibooker, const unsigned int& id);
40 
41  // Add additional bins only before NBINLABELS
44 
46  bool zsEnabled_;
47  std::vector<int> fedIds_;
48  std::vector<std::vector<int>> masks_;
49 
50  // header and trailer sizes in chars
60 
62 
64  bool verbose_;
65 
66  static const unsigned int maxMasks_;
67 
68  std::vector<unsigned int> definedMaskCapIds_;
69 
70  std::map<unsigned int, MonitorElement*> zeroSuppValMap_;
71  std::map<unsigned int, MonitorElement*> errorSummaryNumMap_;
72  std::map<unsigned int, MonitorElement*> errorSummaryDenMap_;
73  std::map<unsigned int, MonitorElement*> readoutSizeNoZSMap_;
74  std::map<unsigned int, MonitorElement*> readoutSizeZSMap_;
75  std::map<unsigned int, MonitorElement*> readoutSizeZSExpectedMap_;
77 };
78 
79 #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
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) 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_
Definition: Run.h:43