CMS 3D CMS Logo

DTResolutionAnalysisTask.h
Go to the documentation of this file.
1 #ifndef DTResolutionAnalysisTask_H
2 #define DTResolutionAnalysisTask_H
3 
17 
22 
24 
25 
26 #include <string>
27 #include <map>
28 #include <vector>
29 
30 class DQMStore;
31 class MonitorElement;
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 
51  // Operations
52  void analyze(const edm::Event& event, const edm::EventSetup& setup) override;
53 
54 
55 protected:
56 
57 private:
58 
60 
63 
64  u_int32_t thePhiHitsCut;
65  u_int32_t theZHitsCut;
66 
67  // Lable of 4D segments in the event
69 
70  // Book a set of histograms for a give chamber
71  void bookHistos(DQMStore::IBooker & ibooker, DTSuperLayerId slId);
72  // Fill a set of histograms for a give chamber
73  void fillHistos(DTSuperLayerId slId,
74  float distExtr,
75  float residual);
76 
77  std::map<DTSuperLayerId, std::vector<MonitorElement*> > histosPerSL;
78 
79  // top folder for the histograms in DQMStore
81 
82 };
83 #endif
84 
85 
86 /* Local Variables: */
87 /* show-trailing-whitespace: t */
88 /* truncate-lines: t */
89 /* End: */
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context) override
To reset the MEs.
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:1
~DTResolutionAnalysisTask() override
Destructor.
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
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.
edm::ESHandle< DTGeometry > dtGeom
Definition: event.py:1
Definition: Run.h:43