CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuonTrackResidualsTest.h
Go to the documentation of this file.
1 #ifndef MuonTrackResidualsTest_H
2 #define MuonTrackResidualsTest_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 ~MuonTrackResidualsTest();
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  // source residuals histograms
80  std::map< std::string, std::vector<std::string> > histoNames;
81 
82  // test histograms
83  std::map< std::string, MonitorElement* > MeanHistos;
84  std::map< std::string ,MonitorElement* > SigmaHistos;
85 
86 
87 };
88 
89 #endif
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
DQM Client Diagnostic.
void beginJob(void)
BeginJob.
void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
MuonTrackResidualsTest(const edm::ParameterSet &ps)
Constructor.
virtual ~MuonTrackResidualsTest()
Destructor.
std::map< std::string, MonitorElement * > MeanHistos
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
std::map< std::string, std::vector< std::string > > histoNames
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
std::map< std::string,MonitorElement * > SigmaHistos
Definition: Run.h:41