/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DQM/DTMonitorClient/src/DTEfficiencyTest.h
92 строки
2 KB
Christopher Jones
Replace forward references with includes of Fwd.h files
18 фев 2026, 17:29
18 фев 2026, 17:29
bb39da7
Код
Авторство
О чём код?
#ifndef DTEfficiencyTest_H #define DTEfficiencyTest_H /** \class DTEfficiencyTest * * * DQM Test Client * * \author G. Mila - INFN Torino * * threadsafe version (//-) oct/nov 2014 - WATWanAbdullah -ncpp-um-my * * */ #include "FWCore/Framework/interface/Frameworkfwd.h" #include "DataFormats/Common/interface/Handle.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/Framework/interface/LuminosityBlock.h" #include "DQMServices/Core/interface/DQMStore.h" #include "FWCore/ServiceRegistry/interface/Service.h" #include "Geometry/Records/interface/MuonGeometryRecord.h" #include "DQMServices/Core/interface/DQMEDHarvester.h" #include "DataFormats/MuonDetId/interface/DTChamberIdFwd.h" #include "DataFormats/MuonDetId/interface/DTLayerIdFwd.h" #include <memory> #include <iostream> #include <fstream> #include <string> #include <vector> #include <map> class DTGeometry; class DTSuperLayerId; class DTEfficiencyTest : public DQMEDHarvester { public: /// Constructor DTEfficiencyTest(const edm::ParameterSet &ps); /// Destructor ~DTEfficiencyTest() override; protected: /// beginrun void beginRun(const edm::Run &r, const edm::EventSetup &c) override; void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override; /// book the new ME void bookHistos(DQMStore::IBooker &, const DTLayerId &ch, int firstWire, int lastWire); /// book the summary histograms void bookHistos(DQMStore::IBooker &, int wh); /// Get the ME name std::string getMEName(std::string histoTag, const DTLayerId &lID); /// DQM Client Diagnostic void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override; private: int nevents; unsigned int nLumiSegs; int prescaleFactor; int run; int percentual; edm::ParameterSet parameters; edm::ESGetToken<DTGeometry, MuonGeometryRecord> muonGeomToken_; const DTGeometry *muonGeom; std::map<DTLayerId, MonitorElement *> EfficiencyHistos; std::map<DTLayerId, MonitorElement *> UnassEfficiencyHistos; // wheel summary histograms std::map<int, MonitorElement *> wheelHistos; std::map<int, MonitorElement *> wheelUnassHistos; }; #endif