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 
23 
28 
29 #include <memory>
30 #include <iostream>
31 #include <string>
32 #include <vector>
33 #include <map>
34 
35 
36 
38 
39 public:
40 
43 
45  virtual ~MuonRecoTest();
46 
47 protected:
48 
50  void beginJob(void);
51 
53  void analyze(const edm::Event& e, const edm::EventSetup& c);
54 
56  void endJob();
57 
58  void beginRun(edm::Run const& run, edm::EventSetup const& eSetup);
59  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
60 
62  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
63  void endRun(edm::Run const& run, edm::EventSetup const& eSetup);
64 
65 
66 private:
67 
68  // counters
69  int nevents;
70  unsigned int nLumiSegs;
72  int run;
73  // Switch for verbosity
75 
78 
79  //histo binning parameters
80  int etaBin;
81  double etaMin;
82  double etaMax;
83 
84  int phiBin;
85  double phiMin;
86  double phiMax;
87 
88  // efficiency histograms
91  // aligment plot
92  std::vector<MonitorElement*> globalRotation;
93 
94 };
95 
96 #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:85
void beginJob(void)
BeginJob.
Definition: MuonRecoTest.cc:53
double etaMin
Definition: MuonRecoTest.h:81
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
Definition: MuonRecoTest.cc:95
std::vector< MonitorElement * > globalRotation
Definition: MuonRecoTest.h:92
void endJob()
Endjob.
std::string metname
Definition: MuonRecoTest.h:74
void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
double etaMax
Definition: MuonRecoTest.h:82
MonitorElement * phiEfficiency
Definition: MuonRecoTest.h:90
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
Definition: MuonRecoTest.cc:79
double phiMax
Definition: MuonRecoTest.h:86
edm::ParameterSet parameters
Definition: MuonRecoTest.h:77
unsigned int nLumiSegs
Definition: MuonRecoTest.h:70
MuonRecoTest(const edm::ParameterSet &ps)
Constructor.
Definition: MuonRecoTest.cc:35
double phiMin
Definition: MuonRecoTest.h:85
int prescaleFactor
Definition: MuonRecoTest.h:71
MonitorElement * etaEfficiency
Definition: MuonRecoTest.h:89
Definition: Run.h:41
DQMStore * theDbe
Definition: MuonRecoTest.h:76
virtual ~MuonRecoTest()
Destructor.
Definition: MuonRecoTest.cc:46