CMS 3D CMS Logo

DTSegmentAnalysisTest.h
Go to the documentation of this file.
1 #ifndef DTSegmentAnalysisTest_H
2 #define DTSegmentAnalysisTest_H
3 
23 
27 
28 #include <memory>
29 #include <iostream>
30 #include <fstream>
31 #include <string>
32 #include <vector>
33 #include <map>
34 
35 class DTGeometry;
36 class DTChamberId;
37 class DTSuperLayerId;
38 
40 public:
43 
45  ~DTSegmentAnalysisTest() override;
46 
47  void beginRun(const edm::Run &, const edm::EventSetup &) override;
48 
50 
53 
56 
57  void endRun(edm::Run const &run, edm::EventSetup const &c) override;
58 
59 protected:
60  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
63  edm::LuminosityBlock const &,
64  edm::EventSetup const &) override;
65 
66 private:
67  int nevents;
68  unsigned int nLumiSegs;
69  // switch on for detailed analysis
71  int nMinEvts;
72 
73  int maxPhiHit;
75 
76  bool runOnline;
77 
79 
82 
83  // the histograms
84  std::map<std::pair<int, int>, MonitorElement *> chi2Histos;
85  std::map<std::pair<int, int>, MonitorElement *> segmRecHitHistos;
86  std::map<int, MonitorElement *> summaryHistos;
88  // top folder for the histograms in DQMStore
90  // hlt DQM mode
91  bool hltDQMMode;
92 };
93 
94 #endif
edm::ParameterSet parameters
~DTSegmentAnalysisTest() override
Destructor.
void beginRun(const edm::Run &, const edm::EventSetup &) override
std::map< std::pair< int, int >, MonitorElement * > chi2Histos
std::map< int, MonitorElement * > summaryHistos
void endRun(edm::Run const &run, edm::EventSetup const &c) override
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 * > segmRecHitHistos
edm::ESHandle< DTGeometry > muonGeom
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
void performClientDiagnostic(DQMStore::IGetter &)
Perform client diagnostic operations.
Definition: Run.h:45