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 <string>
24 #include <map>
25 #include <vector>
26 
27 class DQMStore;
28 class MonitorElement;
29 
31 
32 public:
33 
36 
38  ~DTPreCalibrationTask() override;
39 
40  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
41  void analyze( const edm::Event&, const edm::EventSetup&) override;
42 
44  void bookTimeBoxes(DQMStore::IBooker &, int wheel, int sector);
45  void bookOccupancyPlot(DQMStore::IBooker &, int wheel, int sector);
46 
47 private:
52 
53  // Time boxes map
54  std::map<std::pair<int,int>, MonitorElement* > TimeBoxes;
55 
56  // Occupancy plot map
57  std::map<std::pair<int,int>, MonitorElement* > OccupancyHistos;
58 
59 };
60 #endif
void bookTimeBoxes(DQMStore::IBooker &, int wheel, int sector)
Book histos.
DTPreCalibrationTask(const edm::ParameterSet &ps)
Constructor.
edm::EDGetTokenT< DTDigiCollection > digiLabel
~DTPreCalibrationTask() override
Destructor.
void bookOccupancyPlot(DQMStore::IBooker &, int wheel, int sector)
void analyze(const edm::Event &, const edm::EventSetup &) override
std::map< std::pair< int, int >, MonitorElement * > OccupancyHistos
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: Run.h:44
std::map< std::pair< int, int >, MonitorElement * > TimeBoxes