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  virtual ~L1TMP7ZeroSupp();
28  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
29 
30  protected:
31 
32  virtual void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
33  virtual void beginLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&) override;
34  virtual void bookHistograms(DQMStore::IBooker&, const edm::Run&, const edm::EventSetup&) override;
35  virtual void analyze(const edm::Event&, const edm::EventSetup&) override;
36 
37  private:
38 
39  void bookCapIdHistograms(DQMStore::IBooker&, const unsigned int&);
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
58 
60 
62  bool verbose_;
63 
64  static const unsigned int maxMasks_;
65 
66  std::vector<unsigned int> definedMaskCapIds_;
67 
68  std::map<unsigned int, MonitorElement*> zeroSuppValMap_;
69  std::map<unsigned int, MonitorElement*> errorSummaryNumMap_;
70  std::map<unsigned int, MonitorElement*> errorSummaryDenMap_;
71  std::map<unsigned int, MonitorElement*> readoutSizeNoZSMap_;
72  std::map<unsigned int, MonitorElement*> readoutSizeZSMap_;
73  std::map<unsigned int, MonitorElement*> readoutSizeZSExpectedMap_;
75 };
76 
77 #endif
std::map< unsigned int, MonitorElement * > readoutSizeZSExpectedMap_
std::map< unsigned int, MonitorElement * > zeroSuppValMap_
edm::EDGetTokenT< FEDRawDataCollection > fedDataToken_
virtual void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
std::map< unsigned int, MonitorElement * > readoutSizeNoZSMap_
L1TMP7ZeroSupp(const edm::ParameterSet &ps)
std::string monitorDir_
std::map< unsigned int, MonitorElement * > errorSummaryNumMap_
void bookCapIdHistograms(DQMStore::IBooker &, const unsigned int &)
std::vector< unsigned int > definedMaskCapIds_
MonitorElement * capIds_
std::map< unsigned int, MonitorElement * > errorSummaryDenMap_
std::vector< std::vector< int > > masks_
static const unsigned int maxMasks_
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
virtual void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
std::vector< int > fedIds_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
virtual void bookHistograms(DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &) override
std::map< unsigned int, MonitorElement * > readoutSizeZSMap_
virtual ~L1TMP7ZeroSupp()
Definition: Run.h:42