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>
25 
26 class MonitorElement;
27 class DQMStore;
29 namespace edm { class Event; }
30 
32  public:
33  // constructors and EDAnalyzer Methods
36  void dqmBeginRun(const edm::Run& , const edm::EventSetup& ) ;
37  virtual void endRun(const edm::Run&, const edm::EventSetup&);
38  virtual void beginJob(void);
39  virtual void endJob(void);
40  virtual void analyze(const edm::Event&, const edm::EventSetup&);
41  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
42  // Own methods
44  private:
45 
49 
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 
66  unsigned long long m_cacheID_;
67  bool ModOn;
70 };
71 #endif
virtual void analyze(const edm::Event &, const edm::EventSetup &)
void dqmBeginRun(const edm::Run &, const edm::EventSetup &)
unsigned long long m_cacheID_
std::map< std::pair< std::string, int32_t >, HistoXY > HistoSet
std::pair< std::string, int32_t > findSubdetAndLayer(uint32_t ModuleID, const TrackerTopology *tTopo)
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
void createMEs(DQMStore::IBooker &, const edm::EventSetup &)
Definition: Event.h:16
TrackerValidationVariables avalidator_
virtual void beginJob(void)
virtual void endRun(const edm::Run &, const edm::EventSetup &)
edm::ParameterSet Parameters
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
GenericTriggerEventFlag * genTriggerEventFlag_
MonitorTrackResiduals(const edm::ParameterSet &)
Definition: Run.h:43