1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef ESFEDIntegrityTask_H
#define ESFEDIntegrityTask_H
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h"
#include "DataFormats/EcalRawData/interface/EcalRawDataCollections.h"
#include "DQMServices/Core/interface/DQMEDAnalyzer.h"
#include "DQMServices/Core/interface/DQMStore.h"
class ESFEDIntegrityTask : public DQMEDAnalyzer {
public:
ESFEDIntegrityTask(const edm::ParameterSet& ps);
~ESFEDIntegrityTask() override {}
protected:
void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
/// Analyze
void analyze(const edm::Event& e, const edm::EventSetup& c) override;
private:
int ievt_;
std::string prefixME_;
std::string fedDirName_;
bool debug_;
edm::EDGetTokenT<ESRawDataCollection> dccCollections_;
edm::EDGetTokenT<FEDRawDataCollection> FEDRawDataCollection_;
MonitorElement* meESFedsEntries_;
MonitorElement* meESFedsFatal_;
MonitorElement* meESFedsNonFatal_;
};
#endif
|