CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
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"
25 
27  public:
29  SiPixelHitEfficiencyModule(const uint32_t);
31 
32  void book(const edm::ParameterSet&, int type=0);
33  void fill(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);
34  void computeEfficiencies(bool modon=true, bool ladon=true, bool layon=true, bool phion = true, bool bladeon=true, bool diskon=true, bool ringon=true);
35  std::pair<double,double> eff(double nValid, double nMissing);
36 
37  private:
38  uint32_t id_;
40  bool debug_;
42 
43  //EFFICIENCY
49 
55 
61 
67 
73 
79 
85 
86  //VALID HITS
92 
98 
104 
110 
116 
122 
128 
129  //MISSING HITS
135 
141 
147 
153 
159 
165 
171 };
172 
173 #endif
type
Definition: HCALResponse.h:21
std::pair< double, double > eff(double nValid, double nMissing)
void computeEfficiencies(bool modon=true, bool ladon=true, bool layon=true, bool phion=true, bool bladeon=true, bool diskon=true, bool ringon=true)
void fill(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 book(const edm::ParameterSet &, int type=0)