/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DQM/EcalPreshowerMonitorModule/interface/ESTrendTask.h
62 строки
2 KB
Christopher Jones
Removed unneeded include of EDAnalyzer.h from DQM
28 окт 2022, 17:17
28 окт 2022, 17:17
aefc1bf
Код
Авторство
О чём код?
#ifndef ESTrendTask_H #define ESTrendTask_H #include "FWCore/Framework/interface/Event.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "DataFormats/EcalRawData/interface/EcalRawDataCollections.h" #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h" #include "DQMServices/Core/interface/DQMEDAnalyzer.h" #include "TProfile.h" #include "DQMServices/Core/interface/DQMStore.h" class ESTrendTask : public DQMEDAnalyzer { public: // Constructor ESTrendTask(const edm::ParameterSet& ps); // Destructor ~ESTrendTask() 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; // BeginRun void dqmBeginRun(const edm::Run& r, const edm::EventSetup& c) override; // Update time check void updateTime(const edm::Event&); // Shift bins of TProfile to the right void shift2Right(TProfile* p, int bins = 1); // Shift bins of TProfile to the left void shift2Left(TProfile* p, int bins = 1); private: int ievt_; std::string prefixME_; edm::EDGetTokenT<ESRecHitCollection> rechittoken_; edm::EDGetTokenT<ESRawDataCollection> dccCollections_; MonitorElement* hESRecHitTrend_[2][2]; MonitorElement* hESSLinkErrTrend_; MonitorElement* hESFiberErrTrend_; MonitorElement* hESRecHitTrendHr_[2][2]; MonitorElement* hESSLinkErrTrendHr_; MonitorElement* hESFiberErrTrendHr_; long int start_time_; long int current_time_; long int last_time_; }; #endif