CMS 3D CMS Logo

DTPreCalibrationTask.h
Go to the documentation of this file.
1 #ifndef DTPreCalibrationTask_H
2 #define DTPreCalibrationTask_H
3 
19 
22 
23 #include <map>
24 #include <string>
25 #include <vector>
26 
27 class DQMStore;
28 class MonitorElement;
29 
31 public:
34 
36  ~DTPreCalibrationTask() override;
37 
38  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
39  void analyze(const edm::Event &, const edm::EventSetup &) override;
40 
42  void bookTimeBoxes(DQMStore::IBooker &, int wheel, int sector);
43  void bookOccupancyPlot(DQMStore::IBooker &, int wheel, int sector);
44 
45 private:
50 
51  // Time boxes map
52  std::map<std::pair<int, int>, MonitorElement *> TimeBoxes;
53 
54  // Occupancy plot map
55  std::map<std::pair<int, int>, MonitorElement *> OccupancyHistos;
56 };
57 #endif
void bookTimeBoxes(DQMStore::IBooker &, int wheel, int sector)
Book histos.
DTPreCalibrationTask(const edm::ParameterSet &ps)
Constructor.
std::map< std::pair< int, int >, MonitorElement * > OccupancyHistos
edm::EDGetTokenT< DTDigiCollection > digiLabel
~DTPreCalibrationTask() override
Destructor.
void bookOccupancyPlot(DQMStore::IBooker &, int wheel, int sector)
std::map< std::pair< int, int >, MonitorElement * > TimeBoxes
void analyze(const edm::Event &, const edm::EventSetup &) override
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: Run.h:45