CMS 3D CMS Logo

MonitorTrackResiduals.h
Go to the documentation of this file.
1 #ifndef MonitorTrackResiduals_H
2 #define MonitorTrackResiduals_H
3 
4 // -*- C++ -*-
5 //
6 // Package: TrackerMonitorTrack
7 // Class: MonitorTrackResiduals
8 //
13 // Original Author: Israel Goitom
14 // Created: Fri May 26 14:12:01 CEST 2006
15 // Author: Marcel Schneider
16 // Extended to Pixel Residuals.
26 #include <fstream>
27 #include <memory>
28 
29 class MonitorElement;
30 class DQMStore;
32 namespace edm {
33  class Event;
34 }
35 
37 
38 template <TrackerType pixel_or_strip>
40 public:
41  // constructors and EDAnalyzer Methods
43  ~MonitorTrackResidualsBase() override;
44  void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override;
45  void analyze(const edm::Event &, const edm::EventSetup &) override;
46  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
47 
48 private:
49  // Own methods
50  void createMEs(DQMStore::IBooker &, const edm::EventSetup &);
51  std::pair<std::string, int32_t> findSubdetAndLayer(uint32_t ModuleID, const TrackerTopology *tTopo);
52 
53  struct HistoPair {
55  base = nullptr;
56  normed = nullptr;
57  };
60  };
61  struct HistoXY {
64  };
65  typedef std::map<std::pair<std::string, int32_t>, HistoXY> HistoSet;
66 
69  std::unique_ptr<TkHistoMap> tkhisto_ResidualsMean;
70 
74 
75  unsigned long long m_cacheID_;
76  bool ModOn;
77 
80 };
81 
82 // Naming is for legacy reasons.
85 
86 #endif
std::map< std::pair< std::string, int32_t >, HistoXY > HistoSet
TrackerValidationVariables avalidator_
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< reco::VertexCollection > offlinePrimaryVerticesToken_
std::unique_ptr< TkHistoMap > tkhisto_ResidualsMean
MonitorTrackResidualsBase< TRACKERTYPE_STRIP > MonitorTrackResiduals
MonitorTrackResidualsBase< TRACKERTYPE_PIXEL > SiPixelMonitorTrackResiduals
base
Make Sure CMSSW is Setup ##.
GenericTriggerEventFlag * genTriggerEventFlag_
example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
HLT enums.
Definition: Run.h:45