CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuonRecoTest.h
Go to the documentation of this file.
1 #ifndef MuonRecoTest_H
2 #define MuonRecoTest_H
3 
4 
25 
30 
31 #include <memory>
32 #include <iostream>
33 #include <string>
34 #include <vector>
35 #include <map>
36 
37 
38 
40 
41 public:
42 
45 
47  virtual ~MuonRecoTest();
48 
49 protected:
50 
52  void beginJob(void);
53 
55  void analyze(const edm::Event& e, const edm::EventSetup& c);
56 
58  void endJob();
59 
60  void beginRun(edm::Run const& run, edm::EventSetup const& eSetup);
61  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
62 
64  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
65  void endRun(edm::Run const& run, edm::EventSetup const& eSetup);
66 
67 
68 private:
69 
70  // counters
71  int nevents;
72  unsigned int nLumiSegs;
74  int run;
75  // Switch for verbosity
77 
80 
81  //histo binning parameters
82  int etaBin;
83  double etaMin;
84  double etaMax;
85 
86  int phiBin;
87  double phiMin;
88  double phiMax;
89 
90  // efficiency histograms
93  // aligment plot
94  std::vector<MonitorElement*> globalRotation;
95 
96 };
97 
98 #endif
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
DQM Client Diagnostic.
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
Definition: MuonRecoTest.cc:87
void beginJob(void)
BeginJob.
Definition: MuonRecoTest.cc:55
double etaMin
Definition: MuonRecoTest.h:83
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
Definition: MuonRecoTest.cc:97
std::vector< MonitorElement * > globalRotation
Definition: MuonRecoTest.h:94
void endJob()
Endjob.
std::string metname
Definition: MuonRecoTest.h:76
void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
double etaMax
Definition: MuonRecoTest.h:84
MonitorElement * phiEfficiency
Definition: MuonRecoTest.h:92
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
Definition: MuonRecoTest.cc:81
double phiMax
Definition: MuonRecoTest.h:88
edm::ParameterSet parameters
Definition: MuonRecoTest.h:79
unsigned int nLumiSegs
Definition: MuonRecoTest.h:72
MuonRecoTest(const edm::ParameterSet &ps)
Constructor.
Definition: MuonRecoTest.cc:37
double phiMin
Definition: MuonRecoTest.h:87
int prescaleFactor
Definition: MuonRecoTest.h:73
MonitorElement * etaEfficiency
Definition: MuonRecoTest.h:91
Definition: Run.h:36
DQMStore * theDbe
Definition: MuonRecoTest.h:78
virtual ~MuonRecoTest()
Destructor.
Definition: MuonRecoTest.cc:48