CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SiPixelPhase1ResidualsExtra.h
Go to the documentation of this file.
1 #ifndef SiPixelPhase1ResidualsExtra_SiPixelPhase1ResidualsExtra_h
2 #define SiPixelPhase1ResidualsExtra_SiPixelPhase1ResidualsExtra_h
3 // -*- C++ -*-
4 //
5 // Package: SiPixelPhase1ResidualsExtra
6 // Class : SiPixelPhase1ResidualsExtra
7 //
8 /*
9 
10  Description: Introduce some computation over the PixelPhase1 residuals distributions
11 
12  Usage:
13  <usage>
14 
15 */
16 //
17 // Original Author: Alessandro Rossi
18 // Created: 21st May 2021
19 //
20 
21 //#include <memory>
22 
23 // user include files
27 
30 
33 
35 
37 public:
38  explicit SiPixelPhase1ResidualsExtra(const edm::ParameterSet& conf);
40 
41 protected:
42  // BeginRun
43  void beginRun(edm::Run const& run, edm::EventSetup const& eSetup) override;
44 
45  // EndJob
46  void dqmEndJob(DQMStore::IBooker& iBooker, DQMStore::IGetter& iGetter) override;
47 
48 private:
50  int minHits_;
52 
53  std::map<std::string, MonitorElement*> residuals_;
54  std::map<std::string, MonitorElement*> DRnR_;
55 
56  //Book Monitoring Elements
57  void bookMEs(DQMStore::IBooker& iBooker);
58 
59  //Fill Monitoring Elements
60  void fillMEs(DQMStore::IBooker& iBooker, DQMStore::IGetter& iGetter);
61 };
62 
63 #endif
std::map< std::string, MonitorElement * > DRnR_
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup) override
void bookMEs(DQMStore::IBooker &iBooker)
std::map< std::string, MonitorElement * > residuals_
SiPixelPhase1ResidualsExtra(const edm::ParameterSet &conf)
void fillMEs(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter)
void dqmEndJob(DQMStore::IBooker &iBooker, DQMStore::IGetter &iGetter) override
Definition: Run.h:45