CMS 3D CMS Logo

ESIntegrityTask.h
Go to the documentation of this file.
1 #ifndef ESIntegrityTask_H
2 #define ESIntegrityTask_H
3 
6 
8 
11 
12 struct ESLSCache {
13  int ievtLS_;
14  int DIErrorsLS_[2][2][40][40];
15 };
16 
17 class ESIntegrityTask : public DQMOneEDAnalyzer<edm::LuminosityBlockCache<ESLSCache>> {
18 public:
20  ~ESIntegrityTask() override {}
21 
22 protected:
23  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
24 
26  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
27 
29  void endJob(void) override;
30 
32  void dqmEndRun(const edm::Run& r, const edm::EventSetup& c) override;
33 
35  std::shared_ptr<ESLSCache> globalBeginLuminosityBlock(const edm::LuminosityBlock& lumi,
36  const edm::EventSetup& c) const override;
37 
40 
43 
44 private:
45  int ievt_;
46 
48 
51 
70 
72 
75  int fed_[2][2][40][40], kchip_[2][2][40][40], fiber_[2][2][40][40];
77 };
78 
79 #endif
ESIntegrityTask::meKEC_
MonitorElement * meKEC_
Definition: ESIntegrityTask.h:66
ESIntegrityTask::vDAC_
int vDAC_[5]
Definition: ESIntegrityTask.h:74
ESIntegrityTask::meGain_
MonitorElement * meGain_
Definition: ESIntegrityTask.h:52
ESIntegrityTask::meDIErrors_
MonitorElement * meDIErrors_[2][2]
Definition: ESIntegrityTask.h:67
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
ESIntegrityTask::gain_
int gain_
Definition: ESIntegrityTask.h:73
edm::Run
Definition: Run.h:45
ESIntegrityTask
Definition: ESIntegrityTask.h:17
edm::EDGetTokenT
Definition: EDGetToken.h:33
ESIntegrityTask::endJob
void endJob(void) override
EndJob.
Definition: ESIntegrityTask.cc:190
ESIntegrityTask::meDIFraction_
MonitorElement * meDIFraction_
Definition: ESIntegrityTask.h:69
ESIntegrityTask::dac_
int dac_
Definition: ESIntegrityTask.h:73
ESIntegrityTask::meFiberOff_
MonitorElement * meFiberOff_
Definition: ESIntegrityTask.h:61
DQMOneEDAnalyzer
Definition: DQMOneEDAnalyzer.h:20
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
ESIntegrityTask::firstDAC_
int firstDAC_
Definition: ESIntegrityTask.h:74
ESIntegrityTask::runNum_
int runNum_
Definition: ESIntegrityTask.h:73
ESLSCache::ievtLS_
int ievtLS_
Definition: ESIntegrityTask.h:13
DQMOneEDAnalyzer.h
ESIntegrityTask::ievt_
int ievt_
Definition: ESIntegrityTask.h:45
ESIntegrityTask::meDIErrorsLS_
MonitorElement * meDIErrorsLS_[2][2]
Definition: ESIntegrityTask.h:68
ESIntegrityTask::dqmEndRun
void dqmEndRun(const edm::Run &r, const edm::EventSetup &c) override
EndRun.
Definition: ESIntegrityTask.cc:65
EcalRawDataCollections.h
edm::FileInPath
Definition: FileInPath.h:64
ESIntegrityTask::meKF1_
MonitorElement * meKF1_
Definition: ESIntegrityTask.h:63
ESIntegrityTask::fed_
int fed_[2][2][40][40]
Definition: ESIntegrityTask.h:75
ESIntegrityTask::meOptoBC_
MonitorElement * meOptoBC_
Definition: ESIntegrityTask.h:58
ESIntegrityTask::lookup_
edm::FileInPath lookup_
Definition: ESIntegrityTask.h:71
ESLSCache
Definition: ESIntegrityTask.h:12
ESIntegrityTask::eCount_
int eCount_
Definition: ESIntegrityTask.h:73
ESIntegrityTask::fiber_
int fiber_[2][2][40][40]
Definition: ESIntegrityTask.h:75
ESIntegrityTask::kchip_
int kchip_[2][2][40][40]
Definition: ESIntegrityTask.h:75
ESIntegrityTask::isPed_
int isPed_
Definition: ESIntegrityTask.h:74
ESLSCache::DIErrorsLS_
int DIErrorsLS_[2][2][40][40]
Definition: ESIntegrityTask.h:14
ESIntegrityTask::meKBC_
MonitorElement * meKBC_
Definition: ESIntegrityTask.h:65
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ESIntegrityTask::precision_
int precision_
Definition: ESIntegrityTask.h:73
ESIntegrityTask::meOptoRX_
MonitorElement * meOptoRX_
Definition: ESIntegrityTask.h:57
edm::ParameterSet
Definition: ParameterSet.h:47
ESIntegrityTask::doLumiAnalysis_
bool doLumiAnalysis_
Definition: ESIntegrityTask.h:76
Event.h
ESIntegrityTask::meFiberErrCode_
MonitorElement * meFiberErrCode_
Definition: ESIntegrityTask.h:60
ESIntegrityTask::meDCCCRCErr_
MonitorElement * meDCCCRCErr_
Definition: ESIntegrityTask.h:56
ESIntegrityTask::runtype_
int runtype_
Definition: ESIntegrityTask.h:73
ESIntegrityTask::nDAC_
int nDAC_
Definition: ESIntegrityTask.h:74
ESIntegrityTask::meFiberBadStatus_
MonitorElement * meFiberBadStatus_
Definition: ESIntegrityTask.h:59
ESIntegrityTask::meDCCErr_
MonitorElement * meDCCErr_
Definition: ESIntegrityTask.h:55
edm::EventSetup
Definition: EventSetup.h:58
alignCSCRings.r
r
Definition: alignCSCRings.py:93
ESIntegrityTask::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: ESIntegrityTask.cc:95
ESIntegrityTask::prefixME_
std::string prefixME_
Definition: ESIntegrityTask.h:47
ESIntegrityTask::meFED_
MonitorElement * meFED_
Definition: ESIntegrityTask.h:53
ESIntegrityTask::~ESIntegrityTask
~ESIntegrityTask() override
Definition: ESIntegrityTask.h:20
ESIntegrityTask::seqtype_
int seqtype_
Definition: ESIntegrityTask.h:73
ESIntegrityTask::meEVDR_
MonitorElement * meEVDR_
Definition: ESIntegrityTask.h:62
ESIntegrityTask::meKF2_
MonitorElement * meKF2_
Definition: ESIntegrityTask.h:64
ESIntegrityTask::meSLinkCRCErr_
MonitorElement * meSLinkCRCErr_
Definition: ESIntegrityTask.h:54
ESIntegrityTask::dccCollections_
edm::EDGetTokenT< ESRawDataCollection > dccCollections_
Definition: ESIntegrityTask.h:49
dqm::implementation::IBooker
Definition: DQMStore.h:43
ParameterSet.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
ESIntegrityTask::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
Definition: ESIntegrityTask.cc:192
ESIntegrityTask::ESIntegrityTask
ESIntegrityTask(const edm::ParameterSet &ps)
Definition: ESIntegrityTask.cc:25
edm::Event
Definition: Event.h:73
lumi
Definition: LumiSectionData.h:20
ESIntegrityTask::kchipCollections_
edm::EDGetTokenT< ESLocalRawDataCollection > kchipCollections_
Definition: ESIntegrityTask.h:50
ESIntegrityTask::globalBeginLuminosityBlock
std::shared_ptr< ESLSCache > globalBeginLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &c) const override
Begin Lumi.
Definition: ESIntegrityTask.cc:70
ESIntegrityTask::calculateDIFraction
void calculateDIFraction(const edm::LuminosityBlock &lumi, const edm::EventSetup &c)
Calculate Data Integrity Fraction.
Definition: ESIntegrityTask.cc:327
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
ESIntegrityTask::globalEndLuminosityBlock
void globalEndLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &c) override
End Lumi.
Definition: ESIntegrityTask.cc:90