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 //
12 // Original Author: Israel Goitom
13 // Created: Fri May 26 14:12:01 CEST 2006
14 // Author: Marcel Schneider
15 // Extended to Pixel Residuals.
16 #include <memory>
17 #include <fstream>
27 
28 class MonitorElement;
29 class DQMStore;
31 namespace edm { class Event; }
32 
35 };
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  private:
47 
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 {
53  HistoPair() {base = nullptr; normed = nullptr;};
56  };
57  struct HistoXY {
60  };
61  typedef std::map<std::pair<std::string, int32_t>, HistoXY> HistoSet;
62 
65  std::unique_ptr<TkHistoMap> tkhisto_ResidualsMean;
66 
70 
71  unsigned long long m_cacheID_;
72  bool ModOn;
73 
76 };
77 
78 // Naming is for legacy reasons.
81 
82 #endif
std::map< std::pair< std::string, int32_t >, HistoXY > HistoSet
def analyze(function, filename, filter=None)
Definition: Profiling.py:11
TrackerValidationVariables avalidator_
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
void bookHistograms(fwlite::EventContainer &eventCont)
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_
HLT enums.
Definition: Run.h:43