CMS 3D CMS Logo

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
30 
32 public:
33  explicit SiPixelPhase1ResidualsExtra(const edm::ParameterSet& conf);
35 
36 protected:
37  // BeginRun
38  void beginRun(edm::Run const& run, edm::EventSetup const& eSetup) override;
39 
40  // EndJob
41  void dqmEndJob(DQMStore::IBooker& iBooker, DQMStore::IGetter& iGetter) override;
42 
43 private:
45  int minHits_;
47 
48  std::map<std::string, MonitorElement*> residuals_;
49  std::map<std::string, MonitorElement*> DRnR_;
50 
51  //Book Monitoring Elements
52  void bookMEs(DQMStore::IBooker& iBooker);
53 
54  //Fill Monitoring Elements
55  void fillMEs(DQMStore::IBooker& iBooker, DQMStore::IGetter& iGetter);
56 };
57 
58 #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