CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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>
26 
27 class MonitorElement;
28 class DQMStore;
30 namespace edm { class Event; }
31 
34 };
35 
36 template<TrackerType pixel_or_strip>
38  public:
39  // constructors and EDAnalyzer Methods
42  void dqmBeginRun(const edm::Run& , const edm::EventSetup& ) ;
43  virtual void analyze(const edm::Event&, const edm::EventSetup&);
44  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
45  private:
46 
47  // Own methods
49  std::pair<std::string, int32_t> findSubdetAndLayer(uint32_t ModuleID, const TrackerTopology* tTopo);
50 
51  struct HistoPair {
52  HistoPair() {base = nullptr; normed = nullptr;};
55  };
56  struct HistoXY {
59  };
60  typedef std::map<std::pair<std::string, int32_t>, HistoXY> HistoSet;
61 
64 
68 
69  unsigned long long m_cacheID_;
70  bool ModOn;
71 
74 };
75 
76 // Naming is for legacy reasons.
79 
80 #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...
edm::EDGetTokenT< reco::VertexCollection > offlinePrimaryVerticesToken_
Definition: Event.h:16
void dqmBeginRun(const edm::Run &, const edm::EventSetup &)
MonitorTrackResidualsBase< TRACKERTYPE_STRIP > MonitorTrackResiduals
MonitorTrackResidualsBase< TRACKERTYPE_PIXEL > SiPixelMonitorTrackResiduals
MonitorTrackResidualsBase(const edm::ParameterSet &)
GenericTriggerEventFlag * genTriggerEventFlag_
void createMEs(DQMStore::IBooker &, const edm::EventSetup &)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::pair< std::string, int32_t > findSubdetAndLayer(uint32_t ModuleID, const TrackerTopology *tTopo)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: Run.h:43