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 
21 
25 
26 #include <memory>
27 #include <iostream>
28 #include <fstream>
29 #include <string>
30 #include <vector>
31 #include <map>
32 
33 class DTGeometry;
34 class DTChamberId;
35 class DTSuperLayerId;
36 class DTTtrig;
37 class DTTimeBoxFitter;
38 
40 
41 public:
42 
45 
47  virtual ~DTtTrigCalibrationTest();
48 
49 protected:
50 
52  void beginJob();
53 
55  void beginRun(const edm::Run& r, const edm::EventSetup& c);
56 
58  void analyze(const edm::Event& e, const edm::EventSetup& c);
59 
61  void endJob();
62 
64  void bookHistos(const DTChamberId & ch);
65 
67  void bookHistos(const DTChamberId & ch, int wh);
68 
70  std::string getMEName(const DTSuperLayerId & slID);
71 
72  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
73 
75  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
76 
77 
78 
79 
80 private:
81 
82  int nevents;
83  unsigned int nLumiSegs;
85  int run;
87 
89 
93 
95 
96  // histograms: < detRawID, Histogram >
97  std::map< uint32_t , MonitorElement* > histos;
98 
99  // wheel summary histograms
100  std::map< int, MonitorElement* > wheelHistos;
101 
102 };
103 
104 #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:41