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 
18 
19 
20 class L1TMP7ZeroSupp : public DQMEDAnalyzer {
21 
22  public:
23 
25  virtual ~L1TMP7ZeroSupp();
26 
27  protected:
28 
29  virtual void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
30  virtual void beginLuminosityBlock(const edm::LuminosityBlock&, const edm::EventSetup&) override;
31  virtual void bookHistograms(DQMStore::IBooker&, const edm::Run&, const edm::EventSetup&) override;
32  virtual void analyze(const edm::Event&, const edm::EventSetup&) override;
33 
34  private:
35 
36  void bookCapIdHistograms(DQMStore::IBooker&, const unsigned int&);
37 
38  // Add additional bins only before NBINLABELS
40 
42  bool zsEnabled_;
43  std::vector<int> fedIds_;
44  std::vector<std::vector<int>> masks_;
45 
46  // header and trailer sizes in chars
54 
56 
58  bool verbose_;
59 
60  unsigned int maxMasks_;
61 
62  std::vector<unsigned int> definedMaskCapIds_;
63 
64  std::map<unsigned int, MonitorElement*> zeroSuppValMap_;
65  std::map<unsigned int, MonitorElement*> readoutSizeNoZSMap_;
66  std::map<unsigned int, MonitorElement*> readoutSizeZSMap_;
67  std::map<unsigned int, MonitorElement*> readoutSizeZSExpectedMap_;
69 };
70 
71 #endif
std::map< unsigned int, MonitorElement * > readoutSizeZSExpectedMap_
std::map< unsigned int, MonitorElement * > zeroSuppValMap_
unsigned int maxMasks_
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_
void bookCapIdHistograms(DQMStore::IBooker &, const unsigned int &)
std::vector< unsigned int > definedMaskCapIds_
MonitorElement * capIds_
std::vector< std::vector< int > > masks_
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
virtual void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) override
std::vector< int > fedIds_
virtual void bookHistograms(DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &) override
std::map< unsigned int, MonitorElement * > readoutSizeZSMap_
virtual ~L1TMP7ZeroSupp()
Definition: Run.h:42