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 
22 
23 #include <string>
24 #include <map>
25 #include <vector>
26 
27 
28 class DQMStore;
29 class MonitorElement;
30 
32 
33 public:
34 
37 
39  virtual ~DTPreCalibrationTask();
40 
42  void beginJob();
43 
45  void analyze(const edm::Event& e, const edm::EventSetup& c);
46 
48  void bookTimeBoxes(int wheel, int sector);
49  void bookOccupancyPlot(int wheel, int sector);
50 
52  void endJob();
53 
54 private:
55 
60  bool saveFile;
63 
64  // Time boxes map
65  std::map<std::pair<int,int>, MonitorElement* > TimeBoxes;
66 
67  // Occupancy plot map
68  std::map<std::pair<int,int>, MonitorElement* > OccupancyHistos;
69 
70 };
71 #endif
DTPreCalibrationTask(const edm::ParameterSet &ps)
Constructor.
virtual ~DTPreCalibrationTask()
Destructor.
void bookTimeBoxes(int wheel, int sector)
Book histos.
void bookOccupancyPlot(int wheel, int sector)
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
std::map< std::pair< int, int >, MonitorElement * > OccupancyHistos
std::map< std::pair< int, int >, MonitorElement * > TimeBoxes