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 
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 ~MuonTrackResidualsTest();
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  // source residuals histograms
82  std::map< std::string, std::vector<std::string> > histoNames;
83 
84  // test histograms
85  std::map< std::string, MonitorElement* > MeanHistos;
86  std::map< std::string ,MonitorElement* > SigmaHistos;
87 
88 
89 };
90 
91 #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:36