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 
21 #include <string>
22 #include <map>
23 #include <vector>
24 
25 
26 class DQMStore;
27 class MonitorElement;
28 
30 
31 public:
32 
35 
37  virtual ~DTPreCalibrationTask();
38 
40  void beginJob();
41 
43  void analyze(const edm::Event& e, const edm::EventSetup& c);
44 
46  void bookTimeBoxes(int wheel, int sector);
47  void bookOccupancyPlot(int wheel, int sector);
48 
50  void endJob();
51 
52 private:
53 
58  bool saveFile;
61 
62  // Time boxes map
63  std::map<std::pair<int,int>, MonitorElement* > TimeBoxes;
64 
65  // Occupancy plot map
66  std::map<std::pair<int,int>, MonitorElement* > OccupancyHistos;
67 
68 };
69 #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