CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTtTrigCalibrationTest.h
Go to the documentation of this file.
1 #ifndef DTtTrigCalibrationTest_H
2 #define DTtTrigCalibrationTest_H
3 
23 
27 
28 #include <memory>
29 #include <iostream>
30 #include <fstream>
31 #include <string>
32 #include <vector>
33 #include <map>
34 
35 class DTGeometry;
36 class DTChamberId;
37 class DTSuperLayerId;
38 class DTTtrig;
39 class DTTimeBoxFitter;
40 
42 
43 public:
44 
47 
49  virtual ~DTtTrigCalibrationTest();
50 
51 protected:
52 
54  void beginJob();
55 
57  void beginRun(const edm::Run& r, const edm::EventSetup& c);
58 
60  void analyze(const edm::Event& e, const edm::EventSetup& c);
61 
63  void endJob();
64 
66  void bookHistos(const DTChamberId & ch);
67 
69  void bookHistos(const DTChamberId & ch, int wh);
70 
72  std::string getMEName(const DTSuperLayerId & slID);
73 
74  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
75 
77  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
78 
79 
80 
81 
82 private:
83 
84  int nevents;
85  unsigned int nLumiSegs;
87  int run;
89 
91 
95 
97 
98  // histograms: < detRawID, Histogram >
99  std::map< uint32_t , MonitorElement* > histos;
100 
101  // wheel summary histograms
102  std::map< int, MonitorElement* > wheelHistos;
103 
104 };
105 
106 #endif
std::string getMEName(const DTSuperLayerId &slID)
Get the ME name.
void bookHistos(const DTChamberId &ch)
book the new ME
std::map< int, MonitorElement * > wheelHistos
edm::ESHandle< DTTtrig > tTrigMap
DTtTrigCalibrationTest(const edm::ParameterSet &ps)
Constructor.
virtual ~DTtTrigCalibrationTest()
Destructor.
std::map< uint32_t, MonitorElement * > histos
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
DQM Client Diagnostic.
edm::ESHandle< DTGeometry > muonGeom
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
Definition: Run.h:31