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 
20 
23 
24 #include <string>
25 #include <map>
26 #include <vector>
27 
28 using namespace edm;
29 using namespace std;
30 
31 class DQMStore;
32 class MonitorElement;
33 
35 
36 public:
37 
40 
42  virtual ~DTPreCalibrationTask();
43 
45  void beginJob();
46 
48  void analyze(const edm::Event& e, const edm::EventSetup& c);
49 
51  void bookTimeBoxes(int wheel, int sector);
52  void bookOccupancyPlot(int wheel, int sector);
53 
55  void endJob();
56 
57 private:
58 
63  bool saveFile;
66 
67  // Time boxes map
68  std::map<std::pair<int,int>, MonitorElement* > TimeBoxes;
69 
70  // Occupancy plot map
71  std::map<std::pair<int,int>, MonitorElement* > OccupancyHistos;
72 
73 };
74 #endif
edm::EDGetTokenT< DTDigiCollection > digiLabel
void beginJob()
Definition: Breakpoints.cc:15
std::map< std::pair< int, int >, MonitorElement * > OccupancyHistos
std::map< std::pair< int, int >, MonitorElement * > TimeBoxes