test
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"
27 
29  public:
31  SiPixelHitEfficiencyModule(const uint32_t);
33 
34  void book(const edm::ParameterSet&, edm::EventSetup const &, DQMStore::IBooker &, int type=0, bool isUpgrade=false);
35  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);
36  void computeEfficiencies(bool modon=true, bool ladon=true, bool layon=true, bool phion = true, bool bladeon=true, bool diskon=true, bool ringon=true);
37  std::pair<double,double> eff(double nValid, double nMissing);
38 
39  private:
40  uint32_t id_;
42  bool debug_;
44 
45  //EFFICIENCY
51 
57 
63 
69 
75 
81 
87 
88  //VALID HITS
94 
101 
107 
113 
119 
125 
131 
132  //MISSING HITS
138 
145 
151 
157 
163 
169 
175 };
176 
177 #endif
void book(const edm::ParameterSet &, edm::EventSetup const &, DQMStore::IBooker &, int type=0, bool isUpgrade=false)
type
Definition: HCALResponse.h:21
std::pair< double, double > eff(double nValid, double nMissing)
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)