CMS 3D CMS Logo

DTSegmentAnalysisTest.h
Go to the documentation of this file.
1 #ifndef DTSegmentAnalysisTest_H
2 #define DTSegmentAnalysisTest_H
3 
22 
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 protected:
58  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
61  edm::LuminosityBlock const &,
62  edm::EventSetup const &) override;
63 
64  void dqmBeginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &);
65 
66 private:
67  int nLSs;
68  unsigned int nLumiSegs;
69  // switch on for detailed analysis
71  int nMinEvts;
72 
73  int maxPhiHit;
75 
76  bool runOnline;
77 
79 
83 
84  // the histograms
85  std::map<std::pair<int, int>, MonitorElement *> chi2Histos;
86  std::map<std::pair<int, int>, MonitorElement *> segmRecHitHistos;
87  std::map<int, MonitorElement *> summaryHistos;
88  // top folder for the histograms in DQMStore
90 };
91 
92 #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 dqmBeginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &)
const DTGeometry * muonGeom
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
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
void performClientDiagnostic(DQMStore::IGetter &)
Perform client diagnostic operations.
Definition: Run.h:45