CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DTSegmentAnalysisTest.h
Go to the documentation of this file.
1 #ifndef DTSegmentAnalysisTest_H
2 #define DTSegmentAnalysisTest_H
3 
23 
28 
29 #include <memory>
30 #include <iostream>
31 #include <fstream>
32 #include <string>
33 #include <vector>
34 #include <map>
35 
36 class DTGeometry;
37 class DTChamberId;
38 class DTSuperLayerId;
39 
41 public:
44 
46  ~DTSegmentAnalysisTest() override;
47 
48  void beginRun(const edm::Run &, const edm::EventSetup &) override;
49 
51 
53  std::string getMEName(const DTChamberId &chID, std::string histoTag);
54 
57 
58 protected:
59  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;
62  edm::LuminosityBlock const &,
63  edm::EventSetup const &) override;
64 
65  void dqmBeginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &);
66 
67 private:
68  int nLSs;
69  unsigned int nLumiSegs;
70  // switch on for detailed analysis
72  int nMinEvts;
73 
74  int maxPhiHit;
76 
77  bool runOnline;
78 
80 
84 
85  // the histograms
86  std::map<std::pair<int, int>, MonitorElement *> chi2Histos;
87  std::map<std::pair<int, int>, MonitorElement *> segmRecHitHistos;
88  std::map<int, MonitorElement *> summaryHistos;
89  // top folder for the histograms in DQMStore
91 };
92 
93 #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