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"
26 
28  public:
30  SiPixelHitEfficiencyModule(const uint32_t);
32 
33  void book(const edm::ParameterSet&, DQMStore::IBooker &, int type=0, bool isUpgrade=false);
34  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);
35  void computeEfficiencies(bool modon=true, bool ladon=true, bool layon=true, bool phion = true, bool bladeon=true, bool diskon=true, bool ringon=true);
36  std::pair<double,double> eff(double nValid, double nMissing);
37 
38  private:
39  uint32_t id_;
41  bool debug_;
43 
44  //EFFICIENCY
50 
56 
62 
68 
74 
80 
86 
87  //VALID HITS
93 
100 
106 
112 
118 
124 
130 
131  //MISSING HITS
137 
144 
150 
156 
162 
168 
174 };
175 
176 #endif
type
Definition: HCALResponse.h:21
std::pair< double, double > eff(double nValid, double nMissing)
void book(const edm::ParameterSet &, DQMStore::IBooker &, int type=0, bool isUpgrade=false)
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)