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.
27 #include <fstream>
28 #include <memory>
29 
31 namespace edm {
32  class Event;
33 }
34 
36 
37 template <TrackerType pixel_or_strip>
39 public:
40  // constructors and EDAnalyzer Methods
42  ~MonitorTrackResidualsBase() override;
43  void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override;
44  void analyze(const edm::Event &, const edm::EventSetup &) override;
45  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
46 
47 private:
48  // Own methods
49  void createMEs(DQMStore::IBooker &, const edm::EventSetup &);
50  std::pair<std::string, int32_t> findSubdetAndLayer(uint32_t ModuleID, const TrackerTopology *tTopo);
51 
52  struct HistoPair {
54  base = nullptr;
55  normed = nullptr;
56  };
59  };
60  struct HistoXY {
63  };
64  typedef std::map<std::pair<std::string, int32_t>, HistoXY> HistoSet;
65 
68  std::unique_ptr<TkHistoMap> tkhisto_ResidualsMean;
69 
73 
74  unsigned long long m_cacheID_;
75  bool ModOn;
76 
79 };
80 
81 // Naming is for legacy reasons.
84 
85 #endif
std::map< std::pair< std::string, int32_t >, HistoXY > HistoSet
base
Main Program
Definition: newFWLiteAna.py:92
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
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