CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTSegmentAnalysisTest.h
Go to the documentation of this file.
1 #ifndef DTSegmentAnalysisTest_H
2 #define DTSegmentAnalysisTest_H
3 
4 
25 
30 
31 
32 #include <memory>
33 #include <iostream>
34 #include <fstream>
35 #include <string>
36 #include <vector>
37 #include <map>
38 
39 class DTGeometry;
40 class DTChamberId;
41 class DTSuperLayerId;
42 
44 
45 public:
46 
49 
51  virtual ~DTSegmentAnalysisTest();
52 
53  void beginRun(const edm::Run&, const edm::EventSetup&);
54 
56 
58  std::string getMEName(const DTChamberId & chID, std::string histoTag);
59 
62 
63  void endRun(edm::Run const& run, edm::EventSetup const& c);
64 
65 protected:
66 
69 
70 private:
71 
72  int nevents;
73  unsigned int nLumiSegs;
74  // switch on for detailed analysis
76  int nMinEvts;
77 
78  int maxPhiHit;
80 
81  bool runOnline;
82 
84 
87 
88  // the histograms
89  std::map< std::pair<int,int>, MonitorElement* > chi2Histos;
90  std::map< std::pair<int,int>, MonitorElement* > segmRecHitHistos;
91  std::map< int, MonitorElement* > summaryHistos;
93  // top folder for the histograms in DQMStore
95  // hlt DQM mode
96  bool hltDQMMode;
97 };
98 
99 #endif
100 
edm::ParameterSet parameters
void endRun(edm::Run const &run, edm::EventSetup const &c)
void beginRun(const edm::Run &, const edm::EventSetup &)
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
std::map< std::pair< int, int >, MonitorElement * > segmRecHitHistos
void bookHistos(DQMStore::IBooker &)
DTSegmentAnalysisTest(const edm::ParameterSet &ps)
Constructor.
std::string getMEName(const DTChamberId &chID, std::string histoTag)
Get the ME name.
std::map< std::pair< int, int >, MonitorElement * > chi2Histos
edm::ESHandle< DTGeometry > muonGeom
virtual ~DTSegmentAnalysisTest()
Destructor.
std::map< int, MonitorElement * > summaryHistos
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &)
void performClientDiagnostic(DQMStore::IGetter &)
Perform client diagnostic operations.
Definition: Run.h:43