CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SiPixelHitEfficiencyModule.h
Go to the documentation of this file.
1 // Package: SiPixelMonitorTrack
2 // Class: SiPixelHitEfficiencyModule
3 //
4 // class SiPixelHitEfficiencyModule SiPixelHitEfficiencyModule.h
5 // DQM/SiPixelMonitorTrack/src/SiPixelHitEfficiencyModule.h
6 //
7 // Description: SiPixel hit efficiency data quality monitoring modules
8 // Implementation: prototype -> improved -> never final - end of the 1st step
9 //
10 // Original Authors: Romain Rougny & Luca Mucibello
11 // Created: Mar Nov 10 13:29:00 CET 2009
12 
13 #ifndef SiPixelMonitorTrack_SiPixelHitEfficiencyModule_h
14 #define SiPixelMonitorTrack_SiPixelHitEfficiencyModule_h
15 
16 #include <utility>
17 
23 #include <cstdint>
24 
25 namespace edm {
26  class EventSetup;
27 }
28 
30 public:
33 
35  SiPixelHitEfficiencyModule(const uint32_t);
37 
38  void book(
39  const edm::ParameterSet &, const TrackerTopology *, DQMStore::IBooker &, int type = 0, bool isUpgrade = false);
40  void fill(const TrackerTopology *pTT,
41  const LocalTrajectoryParameters &ltp,
42  bool isHitValid,
43  bool modon = true,
44  bool ladon = true,
45  bool layon = true,
46  bool phion = true,
47  bool bladeon = true,
48  bool diskon = true,
49  bool ringon = true);
50  void computeEfficiencies(bool modon = true,
51  bool ladon = true,
52  bool layon = true,
53  bool phion = true,
54  bool bladeon = true,
55  bool diskon = true,
56  bool ringon = true);
57  std::pair<double, double> eff(double nValid, double nMissing);
58 
59 private:
60  uint32_t id_;
62  bool debug_;
64 
65  // EFFICIENCY
71 
77 
83 
89 
95 
101 
107 
108  // VALID HITS
114 
121 
127 
133 
139 
145 
151 
152  // MISSING HITS
158 
165 
171 
177 
183 
189 
195 };
196 
197 #endif
dqm::reco::MonitorElement MonitorElement
std::pair< double, double > eff(double nValid, double nMissing)
void book(const edm::ParameterSet &, const TrackerTopology *, DQMStore::IBooker &, int type=0, bool isUpgrade=false)
void fill(const TrackerTopology *pTT, const LocalTrajectoryParameters &ltp, bool isHitValid, bool modon=true, bool ladon=true, bool layon=true, bool phion=true, bool bladeon=true, bool diskon=true, bool ringon=true)
void computeEfficiencies(bool modon=true, bool ladon=true, bool layon=true, bool phion=true, bool bladeon=true, bool diskon=true, bool ringon=true)