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
L1TMP7ZeroSupp::masks_
std::vector< std::vector< int > > masks_
Definition: L1TMP7ZeroSupp.h:65
ConfigurationDescriptions.h
Block.h
L1TMP7ZeroSupp::monitorDir_
std::string monitorDir_
Definition: L1TMP7ZeroSupp.h:82
L1TMP7ZeroSupp::zsFlagMask_
int zsFlagMask_
Definition: L1TMP7ZeroSupp.h:75
L1TMP7ZeroSupp::ZSBLKSGOOD
Definition: L1TMP7ZeroSupp.h:40
L1TMP7ZeroSupp::EVTS
Definition: L1TMP7ZeroSupp.h:36
L1TMP7ZeroSupp::errorSummaryNumMap_
std::map< unsigned int, MonitorElement * > errorSummaryNumMap_
Definition: L1TMP7ZeroSupp.h:90
L1TMP7ZeroSupp::binlabels
binlabels
Definition: L1TMP7ZeroSupp.h:35
MessageLogger.h
L1TMP7ZeroSupp::verbose_
bool verbose_
Definition: L1TMP7ZeroSupp.h:83
L1TMP7ZeroSupp::ZSBLKSBADFALSEPOS
Definition: L1TMP7ZeroSupp.h:42
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< FEDRawDataCollection >
L1TMP7ZeroSupp::EVTSGOOD
Definition: L1TMP7ZeroSupp.h:37
L1TMP7ZeroSupp
Definition: L1TMP7ZeroSupp.h:21
L1TMP7ZeroSupp::maxMasks_
static const unsigned int maxMasks_
Definition: L1TMP7ZeroSupp.h:85
L1TMP7ZeroSupp::ZSBXBLKSGOOD
Definition: L1TMP7ZeroSupp.h:45
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
L1TMP7ZeroSupp::ZSBXBLKSBAD
Definition: L1TMP7ZeroSupp.h:46
L1TMP7ZeroSupp::ZSBLKSBADFALSENEG
Definition: L1TMP7ZeroSupp.h:43
L1TMP7ZeroSupp::definedMaskCapIds_
std::vector< unsigned int > definedMaskCapIds_
Definition: L1TMP7ZeroSupp.h:87
L1TMP7ZeroSupp::RBXBLKS
Definition: L1TMP7ZeroSupp.h:56
L1TMP7ZeroSupp::RBXBLKSFALSENEG
Definition: L1TMP7ZeroSupp.h:58
L1TMP7ZeroSupp::REVTS
Definition: L1TMP7ZeroSupp.h:52
L1TMP7ZeroSupp::amc13TrailerSize_
int amc13TrailerSize_
Definition: L1TMP7ZeroSupp.h:71
AMC13Spec.h
L1TMP7ZeroSupp::readoutSizeNoZSMap_
std::map< unsigned int, MonitorElement * > readoutSizeNoZSMap_
Definition: L1TMP7ZeroSupp.h:92
L1TMP7ZeroSupp::fedIds_
std::vector< int > fedIds_
Definition: L1TMP7ZeroSupp.h:64
L1TMP7ZeroSupp::ZSBXBLKSBADFALSENEG
Definition: L1TMP7ZeroSupp.h:48
L1TMP7ZeroSupp::RBXBLKSFALSEPOS
Definition: L1TMP7ZeroSupp.h:57
L1TMP7ZeroSupp::ratioBinlabels
ratioBinlabels
Definition: L1TMP7ZeroSupp.h:51
L1TMP7ZeroSupp::ZSBXBLKSBADFALSEPOS
Definition: L1TMP7ZeroSupp.h:47
L1TMP7ZeroSupp::slinkTrailerSize_
int slinkTrailerSize_
Definition: L1TMP7ZeroSupp.h:69
L1TMP7ZeroSupp::dataInvFlagMask_
int dataInvFlagMask_
Definition: L1TMP7ZeroSupp.h:76
L1TMP7ZeroSupp::RBLKSFALSEPOS
Definition: L1TMP7ZeroSupp.h:54
L1TMP7ZeroSupp::RBLKSFALSENEG
Definition: L1TMP7ZeroSupp.h:55
L1TMP7ZeroSupp::newZsFlagMask_
int newZsFlagMask_
Definition: L1TMP7ZeroSupp.h:74
ParameterSetDescription.h
L1TMP7ZeroSupp::readoutSizeZSExpectedMap_
std::map< unsigned int, MonitorElement * > readoutSizeZSExpectedMap_
Definition: L1TMP7ZeroSupp.h:94
L1TMP7ZeroSupp::errorSummaryDenMap_
std::map< unsigned int, MonitorElement * > errorSummaryDenMap_
Definition: L1TMP7ZeroSupp.h:91
DQMEDAnalyzer.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
L1TMP7ZeroSupp::BXBLOCKS
Definition: L1TMP7ZeroSupp.h:44
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
L1TMP7ZeroSupp::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Definition: L1TMP7ZeroSupp.cc:146
L1TMP7ZeroSupp::~L1TMP7ZeroSupp
~L1TMP7ZeroSupp() override
L1TMP7ZeroSupp::maxFedReadoutSize_
int maxFedReadoutSize_
Definition: L1TMP7ZeroSupp.h:78
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
L1TMP7ZeroSupp::zeroSuppValMap_
std::map< unsigned int, MonitorElement * > zeroSuppValMap_
Definition: L1TMP7ZeroSupp.h:89
L1TMP7ZeroSupp::RBLKS
Definition: L1TMP7ZeroSupp.h:53
L1TMP7ZeroSupp::ZSBLKSBAD
Definition: L1TMP7ZeroSupp.h:41
L1TMP7ZeroSupp::amc13HeaderSize_
int amc13HeaderSize_
Definition: L1TMP7ZeroSupp.h:70
L1TMP7ZeroSupp::bookHistograms
void bookHistograms(DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &) override
Definition: L1TMP7ZeroSupp.cc:74
L1TMP7ZeroSupp::amcTrailerSize_
int amcTrailerSize_
Definition: L1TMP7ZeroSupp.h:73
FEDRawDataCollection.h
L1TMP7ZeroSupp::capIds_
MonitorElement * capIds_
Definition: L1TMP7ZeroSupp.h:95
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
L1TMP7ZeroSupp::slinkHeaderSize_
int slinkHeaderSize_
Definition: L1TMP7ZeroSupp.h:68
L1TMP7ZeroSupp::amcHeaderSize_
int amcHeaderSize_
Definition: L1TMP7ZeroSupp.h:72
L1TMP7ZeroSupp::RNBINLABELS
Definition: L1TMP7ZeroSupp.h:59
L1TMP7ZeroSupp::checkOnlyCapIdsWithMasks_
bool checkOnlyCapIdsWithMasks_
Definition: L1TMP7ZeroSupp.h:80
L1TMP7ZeroSupp::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: L1TMP7ZeroSupp.cc:47
L1TMP7ZeroSupp::fedDataToken_
edm::EDGetTokenT< FEDRawDataCollection > fedDataToken_
Definition: L1TMP7ZeroSupp.h:62
dqm::implementation::IBooker
Definition: DQMStore.h:43
L1TMP7ZeroSupp::readoutSizeZSMap_
std::map< unsigned int, MonitorElement * > readoutSizeZSMap_
Definition: L1TMP7ZeroSupp.h:93
L1TMP7ZeroSupp::zsEnabled_
bool zsEnabled_
Definition: L1TMP7ZeroSupp.h:63
L1TMP7ZeroSupp::BLOCKS
Definition: L1TMP7ZeroSupp.h:39
L1TMP7ZeroSupp::L1TMP7ZeroSupp
L1TMP7ZeroSupp(const edm::ParameterSet &ps)
Definition: L1TMP7ZeroSupp.cc:5
ParameterSet.h
edm::Event
Definition: Event.h:73
L1TMP7ZeroSupp::bookCapIdHistograms
void bookCapIdHistograms(DQMStore::IBooker &ibooker, const unsigned int &id)
Definition: L1TMP7ZeroSupp.cc:88
FEDHeader.h
L1TMP7ZeroSupp::NBINLABELS
Definition: L1TMP7ZeroSupp.h:49
L1TMP7ZeroSupp::EVTSBAD
Definition: L1TMP7ZeroSupp.h:38
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
FEDTrailer.h