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 
26 #include <string>
27 #include <map>
28 #include <vector>
29 
30 class DTGeometry;
31 
33 public:
36 
38  ~DTResolutionAnalysisTask() override;
39 
41  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
42 
44  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
45 
47  // void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) override;
48  // void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) final {}
49 
50  // Operations
51  void analyze(const edm::Event& event, const edm::EventSetup& setup) override;
52 
53 protected:
54 private:
56 
59 
60  u_int32_t thePhiHitsCut;
61  u_int32_t theZHitsCut;
62 
63  // Lable of 4D segments in the event
65 
66  // Book a set of histograms for a give chamber
67  void bookHistos(DQMStore::IBooker& ibooker, DTSuperLayerId slId);
68  // Fill a set of histograms for a give chamber
69  void fillHistos(DTSuperLayerId slId, float distExtr, float residual);
70 
71  std::map<DTSuperLayerId, std::vector<MonitorElement*> > histosPerSL;
72 
73  // top folder for the histograms in DQMStore
75 };
76 #endif
77 
78 /* Local Variables: */
79 /* show-trailing-whitespace: t */
80 /* truncate-lines: t */
81 /* End: */
DTGeometry
Definition: DTGeometry.h:28
DTSuperLayerId
Definition: DTSuperLayerId.h:12
DTResolutionAnalysisTask::DTResolutionAnalysisTask
DTResolutionAnalysisTask(const edm::ParameterSet &pset)
Constructor.
Definition: DTResolutionAnalysisTask.cc:33
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:61
DTResolutionAnalysisTask::~DTResolutionAnalysisTask
~DTResolutionAnalysisTask() override
Destructor.
Definition: DTResolutionAnalysisTask.cc:49
edm::ESHandle< DTGeometry >
DTResolutionAnalysisTask::histosPerSL
std::map< DTSuperLayerId, std::vector< MonitorElement * > > histosPerSL
Definition: DTResolutionAnalysisTask.h:71
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DTResolutionAnalysisTask::recHits4DToken_
edm::EDGetTokenT< DTRecSegment4DCollection > recHits4DToken_
Definition: DTResolutionAnalysisTask.h:64
DTResolutionAnalysisTask::prescaleFactor
int prescaleFactor
Definition: DTResolutionAnalysisTask.h:57
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:57
DTResolutionAnalysisTask::dtGeom
edm::ESHandle< DTGeometry > dtGeom
Definition: DTResolutionAnalysisTask.h:55
Frameworkfwd.h
DTResolutionAnalysisTask::thePhiHitsCut
u_int32_t thePhiHitsCut
Definition: DTResolutionAnalysisTask.h:60
dqm::implementation::IBooker
Definition: DQMStore.h:43
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:74
DTSuperLayerId.h
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
DTResolutionAnalysisTask::resetCycle
int resetCycle
Definition: DTResolutionAnalysisTask.h:58
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
DTRecSegment4DCollection.h
DTResolutionAnalysisTask
Definition: DTResolutionAnalysisTask.h:32