CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual ~DTPreCalibrationTask();
39 
40  virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
41  virtual 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
void bookOccupancyPlot(DQMStore::IBooker &, int wheel, int sector)
virtual ~DTPreCalibrationTask()
Destructor.
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
std::map< std::pair< int, int >, MonitorElement * > OccupancyHistos
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: Run.h:43
std::map< std::pair< int, int >, MonitorElement * > TimeBoxes