CMS 3D CMS Logo

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 <boost/cstdint.hpp>
17 #include <utility>
18 
19 //#include "DataFormats/GeometryCommonDetAlgo/interface/MeasurementVector.h"
25 
26 namespace edm {
27  class EventSetup;
28 }
29 
31 public:
33  SiPixelHitEfficiencyModule(const uint32_t);
35 
36  void book(
37  const edm::ParameterSet &, edm::EventSetup const &, DQMStore::IBooker &, int type = 0, bool isUpgrade = false);
38  void fill(const TrackerTopology *pTT,
39  const LocalTrajectoryParameters &ltp,
40  bool isHitValid,
41  bool modon = true,
42  bool ladon = true,
43  bool layon = true,
44  bool phion = true,
45  bool bladeon = true,
46  bool diskon = true,
47  bool ringon = true);
48  void computeEfficiencies(bool modon = true,
49  bool ladon = true,
50  bool layon = true,
51  bool phion = true,
52  bool bladeon = true,
53  bool diskon = true,
54  bool ringon = true);
55  std::pair<double, double> eff(double nValid, double nMissing);
56 
57 private:
58  uint32_t id_;
60  bool debug_;
62 
63  // EFFICIENCY
69 
75 
81 
87 
93 
99 
105 
106  // VALID HITS
112 
119 
125 
131 
137 
143 
149 
150  // MISSING HITS
156 
163 
169 
175 
181 
187 
193 };
194 
195 #endif
type
Definition: HCALResponse.h:21
HLT enums.