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 
14 #ifndef SiPixelMonitorTrack_SiPixelHitEfficiencyModule_h
15 #define SiPixelMonitorTrack_SiPixelHitEfficiencyModule_h
16 
17 
18 #include <boost/cstdint.hpp>
19 #include <utility>
20 
21 //#include "DataFormats/GeometryCommonDetAlgo/interface/MeasurementVector.h"
27 
28 namespace edm { class EventSetup; }
29 
31  public:
33  SiPixelHitEfficiencyModule(const uint32_t);
35 
36  void book(const edm::ParameterSet&, edm::EventSetup const &, DQMStore::IBooker &, int type=0, bool isUpgrade=false);
37  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);
38  void computeEfficiencies(bool modon=true, bool ladon=true, bool layon=true, bool phion = true, bool bladeon=true, bool diskon=true, bool ringon=true);
39  std::pair<double,double> eff(double nValid, double nMissing);
40 
41  private:
42  uint32_t id_;
44  bool debug_;
46 
47  //EFFICIENCY
53 
59 
65 
71 
77 
83 
89 
90  //VALID HITS
96 
103 
109 
115 
121 
127 
133 
134  //MISSING HITS
140 
147 
153 
159 
165 
171 
177 };
178 
179 #endif
type
Definition: HCALResponse.h:21
HLT enums.