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 using namespace edm;
28 using namespace std;
29 
30 class DQMStore;
31 class MonitorElement;
32 
34 
35 public:
36 
39 
41  virtual ~DTPreCalibrationTask();
42 
43  virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
44  virtual void analyze( const edm::Event&, const edm::EventSetup&) override;
45 
47  void bookTimeBoxes(DQMStore::IBooker &, int wheel, int sector);
48  void bookOccupancyPlot(DQMStore::IBooker &, int wheel, int sector);
49 
50 private:
55 
56  // Time boxes map
57  std::map<std::pair<int,int>, MonitorElement* > TimeBoxes;
58 
59  // Occupancy plot map
60  std::map<std::pair<int,int>, MonitorElement* > OccupancyHistos;
61 
62 };
63 #endif
edm::EDGetTokenT< DTDigiCollection > digiLabel
void bookHistograms(fwlite::EventContainer &eventCont)
std::map< std::pair< int, int >, MonitorElement * > OccupancyHistos
Definition: Run.h:41
std::map< std::pair< int, int >, MonitorElement * > TimeBoxes