CMS 3D CMS Logo

DTResolutionAnalysisTask.h
Go to the documentation of this file.
1 #ifndef DTResolutionAnalysisTask_H
2 #define DTResolutionAnalysisTask_H
3 
17 
22 
25 
27 
28 #include <string>
29 #include <map>
30 #include <vector>
31 
32 class DTGeometry;
33 
35 public:
38 
40  ~DTResolutionAnalysisTask() override;
41 
43  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
44 
46  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
47 
49  // void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) override;
50  // void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) final {}
51 
52  // Operations
53  void analyze(const edm::Event& event, const edm::EventSetup& setup) override;
54 
55 protected:
56 private:
59 
62 
63  u_int32_t thePhiHitsCut;
64  u_int32_t theZHitsCut;
65 
66  // Lable of 4D segments in the event
68 
69  // Book a set of histograms for a give chamber
70  void bookHistos(DQMStore::IBooker& ibooker, DTSuperLayerId slId);
71  // Fill a set of histograms for a give chamber
72  void fillHistos(DTSuperLayerId slId, float distExtr, float residual);
73 
74  std::map<DTSuperLayerId, std::vector<MonitorElement*> > histosPerSL;
75 
76  // top folder for the histograms in DQMStore
78 };
79 #endif
80 
81 /* Local Variables: */
82 /* show-trailing-whitespace: t */
83 /* truncate-lines: t */
84 /* 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