CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackEfficiencyClient.h
Go to the documentation of this file.
1 #ifndef TrackingMonitor_TrackEfficiencyClient_h
2 #define TrackingMonitor_TrackEfficiencyClient_h
3 // -*- C++ -*-
4 //
5 // Package: TrackingMonitor
6 // Class : TrackEfficiencyClient
7 //
11 // Original Author: A.-C. Le Bihan
12 // Created: Fri Dec 5 12:14:22 CET 2008
13 
14 
15 #include <string>
16 
24 
25 #include <iostream>
26 #include <fstream>
27 #include <string>
28 #include <vector>
29 //#include <map>
30 
31 class DQMStore;
32 
34 
35  public:
36 
39 
41  virtual ~TrackEfficiencyClient();
42 
43  protected:
44 
46  void beginJob(void);
47 
49  void beginRun(edm::Run const& run, edm::EventSetup const& eSetup);
50 
52  void analyze(edm::Event const& e, edm::EventSetup const& eSetup);
53 
55  void endJob();
56 
58  void endRun();
59 
61  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& eSetup);
62 
63 
64  private:
65 
68 
69  bool trackEfficiency_; //1 if one wants to measure the tracking efficiency
70  //0 if one wants to measure the muon reco efficiency
71 
72  std::string histName;
73  std::string algoName_;
74  std::string FolderName_;
75 
83 
84 };
85 #endif
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
BeginRun.
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &eSetup)
End Luminosity Block.
MonitorElement * effCompatibleLayers
void beginJob(void)
BeginJob.
virtual ~TrackEfficiencyClient()
Destructor.
void analyze(edm::Event const &e, edm::EventSetup const &eSetup)
Analyze.
TrackEfficiencyClient(const edm::ParameterSet &ps)
Constructor.
Definition: Run.h:33