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: */
DTGeometry
Definition: DTGeometry.h:28
DTSuperLayerId
Definition: DTSuperLayerId.h:12
DTResolutionAnalysisTask::DTResolutionAnalysisTask
DTResolutionAnalysisTask(const edm::ParameterSet &pset)
Constructor.
Definition: DTResolutionAnalysisTask.cc:32
ESHandle.h
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< DTRecSegment4DCollection >
DQMOneEDAnalyzer
Definition: DQMOneEDAnalyzer.h:20
DQMStore.h
EDAnalyzer.h
DTResolutionAnalysisTask::dqmBeginRun
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
BeginRun.
Definition: DTResolutionAnalysisTask.cc:54
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
DTResolutionAnalysisTask::analyze
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
To reset the MEs.
Definition: DTResolutionAnalysisTask.cc:92
DQMOneEDAnalyzer.h
DTResolutionAnalysisTask::theZHitsCut
u_int32_t theZHitsCut
Definition: DTResolutionAnalysisTask.h:64
DTResolutionAnalysisTask::~DTResolutionAnalysisTask
~DTResolutionAnalysisTask() override
Destructor.
Definition: DTResolutionAnalysisTask.cc:49
DTResolutionAnalysisTask::histosPerSL
std::map< DTSuperLayerId, std::vector< MonitorElement * > > histosPerSL
Definition: DTResolutionAnalysisTask.h:74
DTResolutionAnalysisTask::recHits4DToken_
edm::EDGetTokenT< DTRecSegment4DCollection > recHits4DToken_
Definition: DTResolutionAnalysisTask.h:67
DTResolutionAnalysisTask::prescaleFactor
int prescaleFactor
Definition: DTResolutionAnalysisTask.h:60
edm::ParameterSet
Definition: ParameterSet.h:47
DTResolutionAnalysisTask::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
BookHistograms.
Definition: DTResolutionAnalysisTask.cc:59
edm::EventSetup
Definition: EventSetup.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ESGetToken< DTGeometry, MuonGeometryRecord >
Frameworkfwd.h
DTResolutionAnalysisTask::thePhiHitsCut
u_int32_t thePhiHitsCut
Definition: DTResolutionAnalysisTask.h:63
dqm::implementation::IBooker
Definition: DQMStore.h:43
DTResolutionAnalysisTask::dtGeom
const DTGeometry * dtGeom
Definition: DTResolutionAnalysisTask.h:58
DTResolutionAnalysisTask::bookHistos
void bookHistos(DQMStore::IBooker &ibooker, DTSuperLayerId slId)
Definition: DTResolutionAnalysisTask.cc:205
DTResolutionAnalysisTask::fillHistos
void fillHistos(DTSuperLayerId slId, float distExtr, float residual)
Definition: DTResolutionAnalysisTask.cc:231
DTResolutionAnalysisTask::topHistoFolder
std::string topHistoFolder
Definition: DTResolutionAnalysisTask.h:77
DTSuperLayerId.h
MuonGeometryRecord.h
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
DTResolutionAnalysisTask::resetCycle
int resetCycle
Definition: DTResolutionAnalysisTask.h:61
DTResolutionAnalysisTask::muonGeomToken_
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
Definition: DTResolutionAnalysisTask.h:57
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
DTRecSegment4DCollection.h
DTResolutionAnalysisTask
Definition: DTResolutionAnalysisTask.h:34