CMS 3D CMS Logo

DTResolutionAnalysisTask.h
Go to the documentation of this file.
1 #ifndef DTResolutionAnalysisTask_H
2 #define DTResolutionAnalysisTask_H
3 
17 
21 
24 
26 
27 #include <string>
28 #include <map>
29 #include <vector>
30 
31 class DTGeometry;
32 
34 public:
37 
39  ~DTResolutionAnalysisTask() override;
40 
42  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
43 
45  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
46 
48  // void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) override;
49  // void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) final {}
50 
51  // Operations
52  void analyze(const edm::Event& event, const edm::EventSetup& setup) override;
53 
54 protected:
55 private:
58 
61 
62  u_int32_t thePhiHitsCut;
63  u_int32_t theZHitsCut;
64 
65  // Lable of 4D segments in the event
67 
68  // Book a set of histograms for a give chamber
69  void bookHistos(DQMStore::IBooker& ibooker, DTSuperLayerId slId);
70  // Fill a set of histograms for a give chamber
71  void fillHistos(DTSuperLayerId slId, float distExtr, float residual);
72 
73  std::map<DTSuperLayerId, std::vector<MonitorElement*> > histosPerSL;
74 
75  // top folder for the histograms in DQMStore
77 };
78 #endif
79 
80 /* Local Variables: */
81 /* show-trailing-whitespace: t */
82 /* truncate-lines: t */
83 /* End: */
~DTResolutionAnalysisTask() override
Destructor.
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
To reset the MEs.
edm::EDGetTokenT< DTRecSegment4DCollection > recHits4DToken_
std::map< DTSuperLayerId, std::vector< MonitorElement * > > histosPerSL
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
BookHistograms.
void bookHistos(DQMStore::IBooker &ibooker, DTSuperLayerId slId)
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
BeginRun.
void fillHistos(DTSuperLayerId slId, float distExtr, float residual)
DTResolutionAnalysisTask(const edm::ParameterSet &pset)
Constructor.
Definition: event.py:1
Definition: Run.h:45