CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
SiPixelHitEfficiencyModule Class Reference

#include <SiPixelHitEfficiencyModule.h>

Public Member Functions

void book (const edm::ParameterSet &, int type=0)
 
void computeEfficiencies (bool modon=true, bool ladon=true, bool layon=true, bool phion=true, bool bladeon=true, bool diskon=true, bool ringon=true)
 
std::pair< double, double > eff (double nValid, double nMissing)
 
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)
 
 SiPixelHitEfficiencyModule ()
 
 SiPixelHitEfficiencyModule (const uint32_t)
 
 ~SiPixelHitEfficiencyModule ()
 

Private Attributes

bool bBookTracks
 
bool debug_
 
uint32_t id_
 
MonitorElementmeEfficiency_
 
MonitorElementmeEfficiencyAlpha_
 
MonitorElementmeEfficiencyAlphaBlade_
 
MonitorElementmeEfficiencyAlphaDisk_
 
MonitorElementmeEfficiencyAlphaLad_
 
MonitorElementmeEfficiencyAlphaLay_
 
MonitorElementmeEfficiencyAlphaPhi_
 
MonitorElementmeEfficiencyAlphaRing_
 
MonitorElementmeEfficiencyBeta_
 
MonitorElementmeEfficiencyBetaBlade_
 
MonitorElementmeEfficiencyBetaDisk_
 
MonitorElementmeEfficiencyBetaLad_
 
MonitorElementmeEfficiencyBetaLay_
 
MonitorElementmeEfficiencyBetaPhi_
 
MonitorElementmeEfficiencyBetaRing_
 
MonitorElementmeEfficiencyBlade_
 
MonitorElementmeEfficiencyDisk_
 
MonitorElementmeEfficiencyLad_
 
MonitorElementmeEfficiencyLay_
 
MonitorElementmeEfficiencyPhi_
 
MonitorElementmeEfficiencyRing_
 
MonitorElementmeEfficiencyX_
 
MonitorElementmeEfficiencyXBlade_
 
MonitorElementmeEfficiencyXDisk_
 
MonitorElementmeEfficiencyXLad_
 
MonitorElementmeEfficiencyXLay_
 
MonitorElementmeEfficiencyXPhi_
 
MonitorElementmeEfficiencyXRing_
 
MonitorElementmeEfficiencyY_
 
MonitorElementmeEfficiencyYBlade_
 
MonitorElementmeEfficiencyYDisk_
 
MonitorElementmeEfficiencyYLad_
 
MonitorElementmeEfficiencyYLay_
 
MonitorElementmeEfficiencyYPhi_
 
MonitorElementmeEfficiencyYRing_
 
MonitorElementmeMissing_
 
MonitorElementmeMissingAlpha_
 
MonitorElementmeMissingAlphaBlade_
 
MonitorElementmeMissingAlphaDisk_
 
MonitorElementmeMissingAlphaLad_
 
MonitorElementmeMissingAlphaLay_
 
MonitorElementmeMissingAlphaPhi_
 
MonitorElementmeMissingAlphaRing_
 
MonitorElementmeMissingBeta_
 
MonitorElementmeMissingBetaBlade_
 
MonitorElementmeMissingBetaDisk_
 
MonitorElementmeMissingBetaLad_
 
MonitorElementmeMissingBetaLay_
 
MonitorElementmeMissingBetaPhi_
 
MonitorElementmeMissingBetaRing_
 
MonitorElementmeMissingBlade_
 
MonitorElementmeMissingDisk_
 
MonitorElementmeMissingLad_
 
MonitorElementmeMissingLay_
 
MonitorElementmeMissingPhi_
 
MonitorElementmeMissingRing_
 
MonitorElementmeMissingX_
 
MonitorElementmeMissingXBlade_
 
MonitorElementmeMissingXDisk_
 
MonitorElementmeMissingXLad_
 
MonitorElementmeMissingXLay_
 
MonitorElementmeMissingXPhi_
 
MonitorElementmeMissingXRing_
 
MonitorElementmeMissingY_
 
MonitorElementmeMissingYBlade_
 
MonitorElementmeMissingYDisk_
 
MonitorElementmeMissingYLad_
 
MonitorElementmeMissingYLay_
 
MonitorElementmeMissingYPhi_
 
MonitorElementmeMissingYRing_
 
MonitorElementmeValid_
 
MonitorElementmeValidAlpha_
 
MonitorElementmeValidAlphaBlade_
 
MonitorElementmeValidAlphaDisk_
 
MonitorElementmeValidAlphaLad_
 
MonitorElementmeValidAlphaLay_
 
MonitorElementmeValidAlphaPhi_
 
MonitorElementmeValidAlphaRing_
 
MonitorElementmeValidBeta_
 
MonitorElementmeValidBetaBlade_
 
MonitorElementmeValidBetaDisk_
 
MonitorElementmeValidBetaLad_
 
MonitorElementmeValidBetaLay_
 
MonitorElementmeValidBetaPhi_
 
MonitorElementmeValidBetaRing_
 
MonitorElementmeValidBlade_
 
MonitorElementmeValidDisk_
 
MonitorElementmeValidLad_
 
MonitorElementmeValidLay_
 
MonitorElementmeValidPhi_
 
MonitorElementmeValidRing_
 
MonitorElementmeValidX_
 
MonitorElementmeValidXBlade_
 
MonitorElementmeValidXDisk_
 
MonitorElementmeValidXLad_
 
MonitorElementmeValidXLay_
 
MonitorElementmeValidXPhi_
 
MonitorElementmeValidXRing_
 
MonitorElementmeValidY_
 
MonitorElementmeValidYBlade_
 
MonitorElementmeValidYDisk_
 
MonitorElementmeValidYLad_
 
MonitorElementmeValidYLay_
 
MonitorElementmeValidYPhi_
 
MonitorElementmeValidYRing_
 
bool updateEfficiencies
 

Detailed Description

Definition at line 26 of file SiPixelHitEfficiencyModule.h.

Constructor & Destructor Documentation

SiPixelHitEfficiencyModule::SiPixelHitEfficiencyModule ( )

Definition at line 37 of file SiPixelHitEfficiencyModule.cc.

References bBookTracks.

SiPixelHitEfficiencyModule::SiPixelHitEfficiencyModule ( const uint32_t  id)

Definition at line 42 of file SiPixelHitEfficiencyModule.cc.

References bBookTracks.

SiPixelHitEfficiencyModule::~SiPixelHitEfficiencyModule ( )

Definition at line 47 of file SiPixelHitEfficiencyModule.cc.

47  {
48 
49 }

Member Function Documentation

void SiPixelHitEfficiencyModule::book ( const edm::ParameterSet iConfig,
int  type = 0 
)

Definition at line 52 of file SiPixelHitEfficiencyModule.cc.

References Reference_intrackfit_cff::barrel, PixelEndcapName::bladeName(), DQMStore::book1D(), debug_, PixelEndcapName::diskName(), Reference_intrackfit_cff::endcap, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), id_, PixelBarrelName::isHalfModule(), edm::InputTag::label(), PixelBarrelName::ladderName(), PixelBarrelName::layerName(), meEfficiency_, meEfficiencyAlpha_, meEfficiencyAlphaBlade_, meEfficiencyAlphaDisk_, meEfficiencyAlphaLad_, meEfficiencyAlphaLay_, meEfficiencyAlphaPhi_, meEfficiencyAlphaRing_, meEfficiencyBeta_, meEfficiencyBetaBlade_, meEfficiencyBetaDisk_, meEfficiencyBetaLad_, meEfficiencyBetaLay_, meEfficiencyBetaPhi_, meEfficiencyBetaRing_, meEfficiencyBlade_, meEfficiencyDisk_, meEfficiencyLad_, meEfficiencyLay_, meEfficiencyPhi_, meEfficiencyRing_, meEfficiencyX_, meEfficiencyXBlade_, meEfficiencyXDisk_, meEfficiencyXLad_, meEfficiencyXLay_, meEfficiencyXPhi_, meEfficiencyXRing_, meEfficiencyY_, meEfficiencyYBlade_, meEfficiencyYDisk_, meEfficiencyYLad_, meEfficiencyYLay_, meEfficiencyYPhi_, meEfficiencyYRing_, meMissing_, meMissingAlphaBlade_, meMissingAlphaDisk_, meMissingAlphaLad_, meMissingAlphaLay_, meMissingAlphaPhi_, meMissingAlphaRing_, meMissingBetaBlade_, meMissingBetaDisk_, meMissingBetaLad_, meMissingBetaLay_, meMissingBetaPhi_, meMissingBetaRing_, meMissingBlade_, meMissingDisk_, meMissingLad_, meMissingLay_, meMissingPhi_, meMissingRing_, meMissingXBlade_, meMissingXDisk_, meMissingXLad_, meMissingXLay_, meMissingXPhi_, meMissingXRing_, meMissingYBlade_, meMissingYDisk_, meMissingYLad_, meMissingYLay_, meMissingYPhi_, meMissingYRing_, meValid_, meValidAlphaBlade_, meValidAlphaDisk_, meValidAlphaLad_, meValidAlphaLay_, meValidAlphaPhi_, meValidAlphaRing_, meValidBetaBlade_, meValidBetaDisk_, meValidBetaLad_, meValidBetaLay_, meValidBetaPhi_, meValidBetaRing_, meValidBlade_, meValidDisk_, meValidLad_, meValidLay_, meValidPhi_, meValidRing_, meValidXBlade_, meValidXDisk_, meValidXLad_, meValidXLay_, meValidXPhi_, meValidXRing_, meValidYBlade_, meValidYDisk_, meValidYLad_, meValidYLay_, meValidYPhi_, meValidYRing_, PixelBarrelName::moduleName(), cppFunctionSkipper::operator, PixelEndcapName::pannelName(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelEndcapName::plaquetteName(), MonitorElement::setAxisTitle(), SiPixelHistogramId::setHistoId(), alcazmumu_cfi::src, AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), and updateEfficiencies.

52  {
54 
55  bool barrel = DetId(id_).subdetId() == static_cast<int>(PixelSubdetector::PixelBarrel);
56  bool endcap = DetId(id_).subdetId() == static_cast<int>(PixelSubdetector::PixelEndcap);
57  bool isHalfModule = false;
58  if(barrel){
59  isHalfModule = PixelBarrelName(DetId(id_)).isHalfModule();
60  }
61 
62  edm::InputTag src = iConfig.getParameter<edm::InputTag>("src");
63  debug_ = iConfig.getUntrackedParameter<bool>("debug",false);
64  updateEfficiencies = iConfig.getUntrackedParameter<bool>("updateEfficiencies",false);
65  std::string hisID;
66 
67  int nbinangle = 28;
68  int nbinX = 45;
69  int nbinY = 40;
70 
71  if(type==0){
72  SiPixelHistogramId* theHistogramId = new SiPixelHistogramId(src.label());
73 
74  if(updateEfficiencies){
75  //EFFICIENCY
76  hisID = theHistogramId->setHistoId("efficiency",id_);
77  meEfficiency_ = dbe->book1D(hisID,"Hit efficiency",1,0,1.);
78  meEfficiency_->setAxisTitle("Hit efficiency",1);
79 
80  hisID = theHistogramId->setHistoId("efficiencyX",id_);
81  meEfficiencyX_ = dbe->book1D(hisID,"Hit efficiency in X",nbinX,-1.5,1.5);
82  meEfficiencyX_->setAxisTitle("Hit efficiency in X",1);
83 
84  hisID = theHistogramId->setHistoId("efficiencyY",id_);
85  meEfficiencyY_ = dbe->book1D(hisID,"Hit efficiency in Y",nbinY,-4.,4.);
86  meEfficiencyY_->setAxisTitle("Hit efficiency in Y",1);
87 
88  hisID = theHistogramId->setHistoId("efficiencyAlpha",id_);
89  meEfficiencyAlpha_ = dbe->book1D(hisID,"Hit efficiency in Alpha",nbinangle,-3.5,3.5);
90  meEfficiencyAlpha_->setAxisTitle("Hit efficiency in Alpha",1);
91 
92  hisID = theHistogramId->setHistoId("efficiencyBeta",id_);
93  meEfficiencyBeta_ = dbe->book1D(hisID,"Hit efficiency in Beta",nbinangle,-3.5,3.5);
94  meEfficiencyBeta_->setAxisTitle("Hit efficiency in Beta",1);
95  }
96 
97  //VALID
98  hisID = theHistogramId->setHistoId("valid",id_);
99  meValid_ = dbe->book1D(hisID,"# Valid hits",1,0,1.);
100  meValid_->setAxisTitle("# Valid hits",1);
101 
102  /*hisID = theHistogramId->setHistoId("validX",id_);
103  meValidX_ = dbe->book1D(hisID,"# Valid hits in X",nbinX,-1.5,1.5);
104  meValidX_->setAxisTitle("# Valid hits in X",1);
105 
106  hisID = theHistogramId->setHistoId("validY",id_);
107  meValidY_ = dbe->book1D(hisID,"# Valid hits in Y",nbinY,-4.,4.);
108  meValidY_->setAxisTitle("# Valid hits in Y",1);
109 
110  hisID = theHistogramId->setHistoId("validAlpha",id_);
111  meValidAlpha_ = dbe->book1D(hisID,"# Valid hits in Alpha",nbinangle,-3.5,3.5);
112  meValidAlpha_->setAxisTitle("# Valid hits in Alpha",1);
113 
114  hisID = theHistogramId->setHistoId("validBeta",id_);
115  meValidBeta_ = dbe->book1D(hisID,"# Valid hits in Beta",nbinangle,-3.5,3.5);
116  meValidBeta_->setAxisTitle("# Valid hits in Beta",1);*/
117 
118  //MISSING
119  hisID = theHistogramId->setHistoId("missing",id_);
120  meMissing_ = dbe->book1D(hisID,"# Missing hits",1,0,1.);
121  meMissing_->setAxisTitle("# Missing hits",1);
122 
123  /*hisID = theHistogramId->setHistoId("missingX",id_);
124  meMissingX_ = dbe->book1D(hisID,"# Missing hits in X",nbinX,-1.5,1.5);
125  meMissingX_->setAxisTitle("# Missing hits in X",1);
126 
127  hisID = theHistogramId->setHistoId("missingY",id_);
128  meMissingY_ = dbe->book1D(hisID,"# Missing hits in Y",nbinY,-4.,4.);
129  meMissingY_->setAxisTitle("# Missing hits in Y",1);
130 
131  hisID = theHistogramId->setHistoId("missingAlpha",id_);
132  meMissingAlpha_ = dbe->book1D(hisID,"# Missing hits in Alpha",nbinangle,-3.5,3.5);
133  meMissingAlpha_->setAxisTitle("# Missing hits in Alpha",1);
134 
135  hisID = theHistogramId->setHistoId("missingBeta",id_);
136  meMissingBeta_ = dbe->book1D(hisID,"# Missing hits in Beta",nbinangle,-3.5,3.5);
137  meMissingBeta_->setAxisTitle("# Missing hits in Beta",1);*/
138 
139  delete theHistogramId;
140  }
141 
142  if(type==1 && barrel){
143  uint32_t DBladder = PixelBarrelName(DetId(id_)).ladderName();
144  char sladder[80]; sprintf(sladder,"Ladder_%02i",DBladder);
145  hisID = src.label() + "_" + sladder;
146  if(isHalfModule) hisID += "H";
147  else hisID += "F";
148 
149  if(updateEfficiencies){
150  //EFFICIENCY
151  meEfficiencyLad_ = dbe->book1D("efficiency_"+hisID,"Hit efficiency",1,0,1.);
152  meEfficiencyLad_->setAxisTitle("Hit efficiency",1);
153 
154  meEfficiencyXLad_ = dbe->book1D("efficiencyX_"+hisID,"Hit efficiency in X",nbinX,-1.5,1.5);
155  meEfficiencyXLad_->setAxisTitle("Hit efficiency in X",1);
156 
157  meEfficiencyYLad_ = dbe->book1D("efficiencyY_"+hisID,"Hit efficiency in Y",nbinY,-4.,4.);
158  meEfficiencyYLad_->setAxisTitle("Hit efficiency in Y",1);
159 
160  meEfficiencyAlphaLad_ = dbe->book1D("efficiencyAlpha_"+hisID,"Hit efficiency in Alpha",nbinangle,-3.5,3.5);
161  meEfficiencyAlphaLad_->setAxisTitle("Hit efficiency in Alpha",1);
162 
163  meEfficiencyBetaLad_ = dbe->book1D("efficiencyBeta_"+hisID,"Hit efficiency in Beta",nbinangle,-3.5,3.5);
164  meEfficiencyBetaLad_->setAxisTitle("Hit efficiency in Beta",1);
165  }
166 
167  //VALID
168  meValidLad_ = dbe->book1D("valid_"+hisID,"# Valid hits",1,0,1.);
169  meValidLad_->setAxisTitle("# Valid hits",1);
170 
171  meValidXLad_ = dbe->book1D("validX_"+hisID,"# Valid hits in X",nbinX,-1.5,1.5);
172  meValidXLad_->setAxisTitle("# Valid hits in X",1);
173 
174  meValidYLad_ = dbe->book1D("validY_"+hisID,"# Valid hits in Y",nbinY,-4.,4.);
175  meValidYLad_->setAxisTitle("# Valid hits in Y",1);
176 
177  meValidAlphaLad_ = dbe->book1D("validAlpha_"+hisID,"# Valid hits in Alpha",nbinangle,-3.5,3.5);
178  meValidAlphaLad_->setAxisTitle("# Valid hits in Alpha",1);
179 
180  meValidBetaLad_ = dbe->book1D("validBeta_"+hisID,"# Valid hits in Beta",nbinangle,-3.5,3.5);
181  meValidBetaLad_->setAxisTitle("# Valid hits in Beta",1);
182 
183  //MISSING
184  meMissingLad_ = dbe->book1D("missing_"+hisID,"# Missing hits",1,0,1.);
185  meMissingLad_->setAxisTitle("# Missing hits",1);
186 
187  meMissingXLad_ = dbe->book1D("missingX_"+hisID,"# Missing hits in X",nbinX,-1.5,1.5);
188  meMissingXLad_->setAxisTitle("# Missing hits in X",1);
189 
190  meMissingYLad_ = dbe->book1D("missingY_"+hisID,"# Missing hits in Y",nbinY,-4.,4.);
191  meMissingYLad_->setAxisTitle("# Missing hits in Y",1);
192 
193  meMissingAlphaLad_ = dbe->book1D("missingAlpha_"+hisID,"# Missing hits in Alpha",nbinangle,-3.5,3.5);
194  meMissingAlphaLad_->setAxisTitle("# Missing hits in Alpha",1);
195 
196  meMissingBetaLad_ = dbe->book1D("missingBeta_"+hisID,"# Missing hits in Beta",nbinangle,-3.5,3.5);
197  meMissingBetaLad_->setAxisTitle("# Missing hits in Beta",1);
198  }
199 
200  if(type==2 && barrel){
201  uint32_t DBlayer = PixelBarrelName(DetId(id_)).layerName();
202  char slayer[80]; sprintf(slayer,"Layer_%i",DBlayer);
203  hisID = src.label() + "_" + slayer;
204 
205 
206  if(updateEfficiencies){
207  //EFFICIENCY
208  meEfficiencyLay_ = dbe->book1D("efficiency_"+hisID,"Hit efficiency",1,0,1.);
209  meEfficiencyLay_->setAxisTitle("Hit efficiency",1);
210 
211  meEfficiencyXLay_ = dbe->book1D("efficiencyX_"+hisID,"Hit efficiency in X",nbinX,-1.5,1.5);
212  meEfficiencyXLay_->setAxisTitle("Hit efficiency in X",1);
213 
214  meEfficiencyYLay_ = dbe->book1D("efficiencyY_"+hisID,"Hit efficiency in Y",nbinY,-4.,4.);
215  meEfficiencyYLay_->setAxisTitle("Hit efficiency in Y",1);
216 
217  meEfficiencyAlphaLay_ = dbe->book1D("efficiencyAlpha_"+hisID,"Hit efficiency in Alpha",nbinangle,-3.5,3.5);
218  meEfficiencyAlphaLay_->setAxisTitle("Hit efficiency in Alpha",1);
219 
220  meEfficiencyBetaLay_ = dbe->book1D("efficiencyBeta_"+hisID,"Hit efficiency in Beta",nbinangle,-3.5,3.5);
221  meEfficiencyBetaLay_->setAxisTitle("Hit efficiency in Beta",1);
222  }
223 
224  //VALID
225  meValidLay_ = dbe->book1D("valid_"+hisID,"# Valid hits",1,0,1.);
226  meValidLay_->setAxisTitle("# Valid hits",1);
227 
228  meValidXLay_ = dbe->book1D("validX_"+hisID,"# Valid hits in X",nbinX,-1.5,1.5);
229  meValidXLay_->setAxisTitle("# Valid hits in X",1);
230 
231  meValidYLay_ = dbe->book1D("validY_"+hisID,"# Valid hits in Y",nbinY,-4.,4.);
232  meValidYLay_->setAxisTitle("# Valid hits in Y",1);
233 
234  meValidAlphaLay_ = dbe->book1D("validAlpha_"+hisID,"# Valid hits in Alpha",nbinangle,-3.5,3.5);
235  meValidAlphaLay_->setAxisTitle("# Valid hits in Alpha",1);
236 
237  meValidBetaLay_ = dbe->book1D("validBeta_"+hisID,"# Valid hits in Beta",nbinangle,-3.5,3.5);
238  meValidBetaLay_->setAxisTitle("# Valid hits in Beta",1);
239 
240  //MISSING
241  meMissingLay_ = dbe->book1D("missing_"+hisID,"# Missing hits",1,0,1.);
242  meMissingLay_->setAxisTitle("# Missing hits",1);
243 
244  meMissingXLay_ = dbe->book1D("missingX_"+hisID,"# Missing hits in X",nbinX,-1.5,1.5);
245  meMissingXLay_->setAxisTitle("# Missing hits in X",1);
246 
247  meMissingYLay_ = dbe->book1D("missingY_"+hisID,"# Missing hits in Y",nbinY,-4.,4.);
248  meMissingYLay_->setAxisTitle("# Missing hits in Y",1);
249 
250  meMissingAlphaLay_ = dbe->book1D("missingAlpha_"+hisID,"# Missing hits in Alpha",nbinangle,-3.5,3.5);
251  meMissingAlphaLay_->setAxisTitle("# Missing hits in Alpha",1);
252 
253  meMissingBetaLay_ = dbe->book1D("missingBeta_"+hisID,"# Missing hits in Beta",nbinangle,-3.5,3.5);
254  meMissingBetaLay_->setAxisTitle("# Missing hits in Beta",1);
255  }
256 
257  if(type==3 && barrel){
258  uint32_t DBmodule = PixelBarrelName(DetId(id_)).moduleName();
259  char smodule[80]; sprintf(smodule,"Ring_%i",DBmodule);
260  hisID = src.label() + "_" + smodule;
261 
262  if(updateEfficiencies){
263  //EFFICIENCY
264  meEfficiencyPhi_ = dbe->book1D("efficiency_"+hisID,"Hit efficiency",1,0,1.);
265  meEfficiencyPhi_->setAxisTitle("Hit efficiency",1);
266 
267  meEfficiencyXPhi_ = dbe->book1D("efficiencyX_"+hisID,"Hit efficiency in X",nbinX,-1.5,1.5);
268  meEfficiencyXPhi_->setAxisTitle("Hit efficiency in X",1);
269 
270  meEfficiencyYPhi_ = dbe->book1D("efficiencyY_"+hisID,"Hit efficiency in Y",nbinY,-4.,4.);
271  meEfficiencyYPhi_->setAxisTitle("Hit efficiency in Y",1);
272 
273  meEfficiencyAlphaPhi_ = dbe->book1D("efficiencyAlpha_"+hisID,"Hit efficiency in Alpha",nbinangle,-3.5,3.5);
274  meEfficiencyAlphaPhi_->setAxisTitle("Hit efficiency in Alpha",1);
275 
276  meEfficiencyBetaPhi_ = dbe->book1D("efficiencyBeta_"+hisID,"Hit efficiency in Beta",nbinangle,-3.5,3.5);
277  meEfficiencyBetaPhi_->setAxisTitle("Hit efficiency in Beta",1);
278  }
279 
280  //VALID
281  meValidPhi_ = dbe->book1D("valid_"+hisID,"# Valid hits",1,0,1.);
282  meValidPhi_->setAxisTitle("# Valid hits",1);
283 
284  meValidXPhi_ = dbe->book1D("validX_"+hisID,"# Valid hits in X",nbinX,-1.5,1.5);
285  meValidXPhi_->setAxisTitle("# Valid hits in X",1);
286 
287  meValidYPhi_ = dbe->book1D("validY_"+hisID,"# Valid hits in Y",nbinY,-4.,4.);
288  meValidYPhi_->setAxisTitle("# Valid hits in Y",1);
289 
290  meValidAlphaPhi_ = dbe->book1D("validAlpha_"+hisID,"# Valid hits in Alpha",nbinangle,-3.5,3.5);
291  meValidAlphaPhi_->setAxisTitle("# Valid hits in Alpha",1);
292 
293  meValidBetaPhi_ = dbe->book1D("validBeta_"+hisID,"# Valid hits in Beta",nbinangle,-3.5,3.5);
294  meValidBetaPhi_->setAxisTitle("# Valid hits in Beta",1);
295 
296  //MISSING
297  meMissingPhi_ = dbe->book1D("missing_"+hisID,"# Missing hits",1,0,1.);
298  meMissingPhi_->setAxisTitle("# Missing hits",1);
299 
300  meMissingXPhi_ = dbe->book1D("missingX_"+hisID,"# Missing hits in X",nbinX,-1.5,1.5);
301  meMissingXPhi_->setAxisTitle("# Missing hits in X",1);
302 
303  meMissingYPhi_ = dbe->book1D("missingY_"+hisID,"# Missing hits in Y",nbinY,-4.,4.);
304  meMissingYPhi_->setAxisTitle("# Missing hits in Y",1);
305 
306  meMissingAlphaPhi_ = dbe->book1D("missingAlpha_"+hisID,"# Missing hits in Alpha",nbinangle,-3.5,3.5);
307  meMissingAlphaPhi_->setAxisTitle("# Missing hits in Alpha",1);
308 
309  meMissingBetaPhi_ = dbe->book1D("missingBeta_"+hisID,"# Missing hits in Beta",nbinangle,-3.5,3.5);
310  meMissingBetaPhi_->setAxisTitle("# Missing hits in Beta",1);
311  }
312 
313  if(type==4 && endcap){
314  uint32_t blade= PixelEndcapName(DetId(id_)).bladeName();
315 
316  char sblade[80]; sprintf(sblade, "Blade_%02i",blade);
317  hisID = src.label() + "_" + sblade;
318 
319  if(updateEfficiencies){
320  //EFFICIENCY
321  meEfficiencyBlade_ = dbe->book1D("efficiency_"+hisID,"Hit efficiency",1,0,1.);
322  meEfficiencyBlade_->setAxisTitle("Hit efficiency",1);
323 
324  meEfficiencyXBlade_ = dbe->book1D("efficiencyX_"+hisID,"Hit efficiency in X",nbinX,-1.5,1.5);
325  meEfficiencyXBlade_->setAxisTitle("Hit efficiency in X",1);
326 
327  meEfficiencyYBlade_ = dbe->book1D("efficiencyY_"+hisID,"Hit efficiency in Y",nbinY,-4.,4.);
328  meEfficiencyYBlade_->setAxisTitle("Hit efficiency in Y",1);
329 
330  meEfficiencyAlphaBlade_ = dbe->book1D("efficiencyAlpha_"+hisID,"Hit efficiency in Alpha",nbinangle,-3.5,3.5);
331  meEfficiencyAlphaBlade_->setAxisTitle("Hit efficiency in Alpha",1);
332 
333  meEfficiencyBetaBlade_ = dbe->book1D("efficiencyBeta_"+hisID,"Hit efficiency in Beta",nbinangle,-3.5,3.5);
334  meEfficiencyBetaBlade_->setAxisTitle("Hit efficiency in Beta",1);
335  }
336 
337  //VALID
338  meValidBlade_ = dbe->book1D("valid_"+hisID,"# Valid hits",1,0,1.);
339  meValidBlade_->setAxisTitle("# Valid hits",1);
340 
341  meValidXBlade_ = dbe->book1D("validX_"+hisID,"# Valid hits in X",nbinX,-1.5,1.5);
342  meValidXBlade_->setAxisTitle("# Valid hits in X",1);
343 
344  meValidYBlade_ = dbe->book1D("validY_"+hisID,"# Valid hits in Y",nbinY,-4.,4.);
345  meValidYBlade_->setAxisTitle("# Valid hits in Y",1);
346 
347  meValidAlphaBlade_ = dbe->book1D("validAlpha_"+hisID,"# Valid hits in Alpha",nbinangle,-3.5,3.5);
348  meValidAlphaBlade_->setAxisTitle("# Valid hits in Alpha",1);
349 
350  meValidBetaBlade_ = dbe->book1D("validBeta_"+hisID,"# Valid hits in Beta",nbinangle,-3.5,3.5);
351  meValidBetaBlade_->setAxisTitle("# Valid hits in Beta",1);
352 
353  //MISSING
354  meMissingBlade_ = dbe->book1D("missing_"+hisID,"# Missing hits",1,0,1.);
355  meMissingBlade_->setAxisTitle("# Missing hits",1);
356 
357  meMissingXBlade_ = dbe->book1D("missingX_"+hisID,"# Missing hits in X",nbinX,-1.5,1.5);
358  meMissingXBlade_->setAxisTitle("# Missing hits in X",1);
359 
360  meMissingYBlade_ = dbe->book1D("missingY_"+hisID,"# Missing hits in Y",nbinY,-4.,4.);
361  meMissingYBlade_->setAxisTitle("# Missing hits in Y",1);
362 
363  meMissingAlphaBlade_ = dbe->book1D("missingAlpha_"+hisID,"# Missing hits in Alpha",nbinangle,-3.5,3.5);
364  meMissingAlphaBlade_->setAxisTitle("# Missing hits in Alpha",1);
365 
366  meMissingBetaBlade_ = dbe->book1D("missingBeta_"+hisID,"# Missing hits in Beta",nbinangle,-3.5,3.5);
367  meMissingBetaBlade_->setAxisTitle("# Missing hits in Beta",1);
368  }
369 
370  if(type==5 && endcap){
371  uint32_t disk = PixelEndcapName(DetId(id_)).diskName();
372 
373  char sdisk[80]; sprintf(sdisk, "Disk_%i",disk);
374  hisID = src.label() + "_" + sdisk;
375 
376  if(updateEfficiencies){
377  //EFFICIENCY
378  meEfficiencyDisk_ = dbe->book1D("efficiency_"+hisID,"Hit efficiency",1,0,1.);
379  meEfficiencyDisk_->setAxisTitle("Hit efficiency",1);
380 
381  meEfficiencyXDisk_ = dbe->book1D("efficiencyX_"+hisID,"Hit efficiency in X",nbinX,-1.5,1.5);
382  meEfficiencyXDisk_->setAxisTitle("Hit efficiency in X",1);
383 
384  meEfficiencyYDisk_ = dbe->book1D("efficiencyY_"+hisID,"Hit efficiency in Y",nbinY,-4.,4.);
385  meEfficiencyYDisk_->setAxisTitle("Hit efficiency in Y",1);
386 
387  meEfficiencyAlphaDisk_ = dbe->book1D("efficiencyAlpha_"+hisID,"Hit efficiency in Alpha",nbinangle,-3.5,3.5);
388  meEfficiencyAlphaDisk_->setAxisTitle("Hit efficiency in Alpha",1);
389 
390  meEfficiencyBetaDisk_ = dbe->book1D("efficiencyBeta_"+hisID,"Hit efficiency in Beta",nbinangle,-3.5,3.5);
391  meEfficiencyBetaDisk_->setAxisTitle("Hit efficiency in Beta",1);
392  }
393 
394  //VALID
395  meValidDisk_ = dbe->book1D("valid_"+hisID,"# Valid hits",1,0,1.);
396  meValidDisk_->setAxisTitle("# Valid hits",1);
397 
398  meValidXDisk_ = dbe->book1D("validX_"+hisID,"# Valid hits in X",nbinX,-1.5,1.5);
399  meValidXDisk_->setAxisTitle("# Valid hits in X",1);
400 
401  meValidYDisk_ = dbe->book1D("validY_"+hisID,"# Valid hits in Y",nbinY,-4.,4.);
402  meValidYDisk_->setAxisTitle("# Valid hits in Y",1);
403 
404  meValidAlphaDisk_ = dbe->book1D("validAlpha_"+hisID,"# Valid hits in Alpha",nbinangle,-3.5,3.5);
405  meValidAlphaDisk_->setAxisTitle("# Valid hits in Alpha",1);
406 
407  meValidBetaDisk_ = dbe->book1D("validBeta_"+hisID,"# Valid hits in Beta",nbinangle,-3.5,3.5);
408  meValidBetaDisk_->setAxisTitle("# Valid hits in Beta",1);
409 
410  //MISSING
411  meMissingDisk_ = dbe->book1D("missing_"+hisID,"# Missing hits",1,0,1.);
412  meMissingDisk_->setAxisTitle("# Missing hits",1);
413 
414  meMissingXDisk_ = dbe->book1D("missingX_"+hisID,"# Missing hits in X",nbinX,-1.5,1.5);
415  meMissingXDisk_->setAxisTitle("# Missing hits in X",1);
416 
417  meMissingYDisk_ = dbe->book1D("missingY_"+hisID,"# Missing hits in Y",nbinY,-4.,4.);
418  meMissingYDisk_->setAxisTitle("# Missing hits in Y",1);
419 
420  meMissingAlphaDisk_ = dbe->book1D("missingAlpha_"+hisID,"# Missing hits in Alpha",nbinangle,-3.5,3.5);
421  meMissingAlphaDisk_->setAxisTitle("# Missing hits in Alpha",1);
422 
423  meMissingBetaDisk_ = dbe->book1D("missingBeta_"+hisID,"# Missing hits in Beta",nbinangle,-3.5,3.5);
424  meMissingBetaDisk_->setAxisTitle("# Missing hits in Beta",1);
425  }
426 
427 
428  if(type==6 && endcap){
429  uint32_t panel= PixelEndcapName(DetId(id_)).pannelName();
431  char slab[80]; sprintf(slab, "Panel_%i_Ring_%i",panel, module);
432  hisID = src.label() + "_" + slab;
433 
434  if(updateEfficiencies){
435  //EFFICIENCY
436  meEfficiencyRing_ = dbe->book1D("efficiency_"+hisID,"Hit efficiency",1,0,1.);
437  meEfficiencyRing_->setAxisTitle("Hit efficiency",1);
438 
439  meEfficiencyXRing_ = dbe->book1D("efficiencyX_"+hisID,"Hit efficiency in X",nbinX,-1.5,1.5);
440  meEfficiencyXRing_->setAxisTitle("Hit efficiency in X",1);
441 
442  meEfficiencyYRing_ = dbe->book1D("efficiencyY_"+hisID,"Hit efficiency in Y",nbinY,-4.,4.);
443  meEfficiencyYRing_->setAxisTitle("Hit efficiency in Y",1);
444 
445  meEfficiencyAlphaRing_ = dbe->book1D("efficiencyAlpha_"+hisID,"Hit efficiency in Alpha",nbinangle,-3.5,3.5);
446  meEfficiencyAlphaRing_->setAxisTitle("Hit efficiency in Alpha",1);
447 
448  meEfficiencyBetaRing_ = dbe->book1D("efficiencyBeta_"+hisID,"Hit efficiency in Beta",nbinangle,-3.5,3.5);
449  meEfficiencyBetaRing_->setAxisTitle("Hit efficiency in Beta",1);
450  }
451 
452  //VALID
453  meValidRing_ = dbe->book1D("valid_"+hisID,"# Valid hits",1,0,1.);
454  meValidRing_->setAxisTitle("# Valid hits",1);
455 
456  meValidXRing_ = dbe->book1D("validX_"+hisID,"# Valid hits in X",nbinX,-1.5,1.5);
457  meValidXRing_->setAxisTitle("# Valid hits in X",1);
458 
459  meValidYRing_ = dbe->book1D("validY_"+hisID,"# Valid hits in Y",nbinY,-4.,4.);
460  meValidYRing_->setAxisTitle("# Valid hits in Y",1);
461 
462  meValidAlphaRing_ = dbe->book1D("validAlpha_"+hisID,"# Valid hits in Alpha",nbinangle,-3.5,3.5);
463  meValidAlphaRing_->setAxisTitle("# Valid hits in Alpha",1);
464 
465  meValidBetaRing_ = dbe->book1D("validBeta_"+hisID,"# Valid hits in Beta",nbinangle,-3.5,3.5);
466  meValidBetaRing_->setAxisTitle("# Valid hits in Beta",1);
467 
468  //MISSING
469  meMissingRing_ = dbe->book1D("missing_"+hisID,"# Missing hits",1,0,1.);
470  meMissingRing_->setAxisTitle("# Missing hits",1);
471 
472  meMissingXRing_ = dbe->book1D("missingX_"+hisID,"# Missing hits in X",nbinX,-1.5,1.5);
473  meMissingXRing_->setAxisTitle("# Missing hits in X",1);
474 
475  meMissingYRing_ = dbe->book1D("missingY_"+hisID,"# Missing hits in Y",nbinY,-4.,4.);
476  meMissingYRing_->setAxisTitle("# Missing hits in Y",1);
477 
478  meMissingAlphaRing_ = dbe->book1D("missingAlpha_"+hisID,"# Missing hits in Alpha",nbinangle,-3.5,3.5);
479  meMissingAlphaRing_->setAxisTitle("# Missing hits in Alpha",1);
480 
481  meMissingBetaRing_ = dbe->book1D("missingBeta_"+hisID,"# Missing hits in Beta",nbinangle,-3.5,3.5);
482  meMissingBetaRing_->setAxisTitle("# Missing hits in Beta",1);
483  }
484 }
int plaquetteName() const
plaquetteId (in pannel)
type
Definition: HCALResponse.h:21
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
int moduleName() const
module id (index in z)
int bladeName() const
blade id
bool isHalfModule() const
full or half module
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:37
std::string setHistoId(std::string variable, uint32_t &rawId)
Set Histogram Id.
Definition: DetId.h:18
int ladderName() const
ladder id (index in phi)
int layerName() const
layer id
std::string const & label() const
Definition: InputTag.h:42
int pannelName() const
pannel id
int diskName() const
disk id
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
Definition: vlib.h:208
void SiPixelHitEfficiencyModule::computeEfficiencies ( bool  modon = true,
bool  ladon = true,
bool  layon = true,
bool  phion = true,
bool  bladeon = true,
bool  diskon = true,
bool  ringon = true 
)

Definition at line 605 of file SiPixelHitEfficiencyModule.cc.

References Reference_intrackfit_cff::barrel, gather_cfg::cout, debug_, eff(), Reference_intrackfit_cff::endcap, MonitorElement::getBinContent(), MonitorElement::getNbinsX(), i, id_, meEfficiency_, meEfficiencyAlphaBlade_, meEfficiencyAlphaDisk_, meEfficiencyAlphaLad_, meEfficiencyAlphaLay_, meEfficiencyAlphaPhi_, meEfficiencyAlphaRing_, meEfficiencyBetaBlade_, meEfficiencyBetaDisk_, meEfficiencyBetaLad_, meEfficiencyBetaLay_, meEfficiencyBetaPhi_, meEfficiencyBetaRing_, meEfficiencyBlade_, meEfficiencyDisk_, meEfficiencyLad_, meEfficiencyLay_, meEfficiencyPhi_, meEfficiencyRing_, meEfficiencyXBlade_, meEfficiencyXDisk_, meEfficiencyXLad_, meEfficiencyXLay_, meEfficiencyXPhi_, meEfficiencyXRing_, meEfficiencyYBlade_, meEfficiencyYDisk_, meEfficiencyYLad_, meEfficiencyYLay_, meEfficiencyYPhi_, meEfficiencyYRing_, meMissing_, meMissingAlphaBlade_, meMissingAlphaDisk_, meMissingAlphaLad_, meMissingAlphaLay_, meMissingAlphaPhi_, meMissingAlphaRing_, meMissingBetaBlade_, meMissingBetaDisk_, meMissingBetaLad_, meMissingBetaLay_, meMissingBetaPhi_, meMissingBetaRing_, meMissingBlade_, meMissingDisk_, meMissingLad_, meMissingLay_, meMissingPhi_, meMissingRing_, meMissingXBlade_, meMissingXDisk_, meMissingXLad_, meMissingXLay_, meMissingXPhi_, meMissingXRing_, meMissingYBlade_, meMissingYDisk_, meMissingYLad_, meMissingYLay_, meMissingYPhi_, meMissingYRing_, meValid_, meValidAlphaBlade_, meValidAlphaDisk_, meValidAlphaLad_, meValidAlphaLay_, meValidAlphaPhi_, meValidAlphaRing_, meValidBetaBlade_, meValidBetaDisk_, meValidBetaLad_, meValidBetaLay_, meValidBetaPhi_, meValidBetaRing_, meValidBlade_, meValidDisk_, meValidLad_, meValidLay_, meValidPhi_, meValidRing_, meValidXBlade_, meValidXDisk_, meValidXLad_, meValidXLay_, meValidXPhi_, meValidXRing_, meValidYBlade_, meValidYDisk_, meValidYLad_, meValidYLay_, meValidYPhi_, meValidYRing_, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, MonitorElement::setBinContent(), MonitorElement::setBinError(), and DetId::subdetId().

Referenced by fill().

605  {
606 
607  if(debug_)
608  std::cout<<"Now Filling histos for detid "<<id_<<std::endl;
609 
610  bool barrel = DetId(id_).subdetId() == static_cast<int>(PixelSubdetector::PixelBarrel);
611  bool endcap = DetId(id_).subdetId() == static_cast<int>(PixelSubdetector::PixelEndcap);
612 
613  if(modon){
616  /*for(int i=1;i<=meValidX_->getNbinsX();++i){
617  meEfficiencyX_->setBinContent(i,(eff(meValidX_->getBinContent(i),meMissingX_->getBinContent(i))).first);
618  meEfficiencyX_->setBinError(i,(eff(meValidX_->getBinContent(i),meMissingX_->getBinContent(i))).second);
619  }
620  for(int i=1;i<=meValidY_->getNbinsX();++i){
621  meEfficiencyY_->setBinContent(i,(eff(meValidY_->getBinContent(i),meMissingY_->getBinContent(i))).first);
622  meEfficiencyY_->setBinError(i,(eff(meValidY_->getBinContent(i),meMissingY_->getBinContent(i))).second);
623  }
624  for(int i=1;i<=meValidAlpha_->getNbinsX();++i){
625  meEfficiencyAlpha_->setBinContent(i,(eff(meValidAlpha_->getBinContent(i),meMissingAlpha_->getBinContent(i))).first);
626  meEfficiencyAlpha_->setBinError(i,(eff(meValidAlpha_->getBinContent(i),meMissingAlpha_->getBinContent(i))).second);
627  }
628  for(int i=1;i<=meValidBeta_->getNbinsX();++i){
629  meEfficiencyBeta_->setBinContent(i,(eff(meValidBeta_->getBinContent(i),meMissingBeta_->getBinContent(i))).first);
630  meEfficiencyBeta_->setBinError(i,(eff(meValidBeta_->getBinContent(i),meMissingBeta_->getBinContent(i))).second);
631  }*/
632  }
633  if(ladon && barrel){
636  for(int i=1;i<=meValidXLad_->getNbinsX();++i){
639  }
640  for(int i=1;i<=meValidYLad_->getNbinsX();++i){
643  }
644  for(int i=1;i<=meValidAlphaLad_->getNbinsX();++i){
647  }
648  for(int i=1;i<=meValidBetaLad_->getNbinsX();++i){
651  }
652  }
653 
654  if(layon && barrel){
657  for(int i=1;i<=meValidXLay_->getNbinsX();++i){
660  }
661  for(int i=1;i<=meValidYLay_->getNbinsX();++i){
664  }
665  for(int i=1;i<=meValidAlphaLay_->getNbinsX();++i){
668  }
669  for(int i=1;i<=meValidBetaLay_->getNbinsX();++i){
672  }
673  }
674 
675  if(phion && barrel){
678  for(int i=1;i<=meValidXPhi_->getNbinsX();++i){
681  }
682  for(int i=1;i<=meValidYPhi_->getNbinsX();++i){
685  }
686  for(int i=1;i<=meValidAlphaPhi_->getNbinsX();++i){
689  }
690  for(int i=1;i<=meValidBetaPhi_->getNbinsX();++i){
693  }
694  }
695  if(bladeon && endcap){
698  for(int i=1;i<=meValidXBlade_->getNbinsX();++i){
701  }
702  for(int i=1;i<=meValidYBlade_->getNbinsX();++i){
705  }
706  for(int i=1;i<=meValidAlphaBlade_->getNbinsX();++i){
709  }
710  for(int i=1;i<=meValidBetaBlade_->getNbinsX();++i){
713  }
714  }
715  if(diskon && endcap){
718  for(int i=1;i<=meValidXDisk_->getNbinsX();++i){
721  }
722  for(int i=1;i<=meValidYDisk_->getNbinsX();++i){
725  }
726  for(int i=1;i<=meValidAlphaDisk_->getNbinsX();++i){
729  }
730  for(int i=1;i<=meValidBetaDisk_->getNbinsX();++i){
733  }
734  }
735  if(ringon && endcap){
738  for(int i=1;i<=meValidXRing_->getNbinsX();++i){
741  }
742  for(int i=1;i<=meValidYRing_->getNbinsX();++i){
745  }
746  for(int i=1;i<=meValidAlphaRing_->getNbinsX();++i){
749  }
750  for(int i=1;i<=meValidBetaRing_->getNbinsX();++i){
753  }
754  }
755 
756 }
int i
Definition: DBlmapReader.cc:9
void setBinContent(int binx, double content)
set content of bin (1-D)
std::pair< double, double > eff(double nValid, double nMissing)
void setBinError(int binx, double error)
set uncertainty on content of bin (1-D)
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:37
Definition: DetId.h:18
double getBinContent(int binx) const
get content of bin (1-D)
int getNbinsX(void) const
get # of bins in X-axis
tuple cout
Definition: gather_cfg.py:121
std::pair< double, double > SiPixelHitEfficiencyModule::eff ( double  nValid,
double  nMissing 
)

Definition at line 758 of file SiPixelHitEfficiencyModule.cc.

References postValidation_cfi::efficiency, relativeConstraints::error, and mathSSE::sqrt().

Referenced by computeEfficiencies().

758  {
759  double efficiency = 0, error = 0 ;
760  if(nValid+nMissing!=0){
761  efficiency=nValid/(nValid+nMissing);
762  error=sqrt(efficiency*(1.-efficiency)/(nValid+nMissing));
763  }
764  return make_pair(efficiency,error);
765 }
T sqrt(T t)
Definition: SSEVec.h:48
void SiPixelHitEfficiencyModule::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 
)

Definition at line 487 of file SiPixelHitEfficiencyModule.cc.

References Reference_intrackfit_cff::barrel, computeEfficiencies(), Reference_intrackfit_cff::endcap, MonitorElement::Fill(), id_, PV3DBase< T, PVType, FrameType >::mag(), meMissing_, meMissingAlphaBlade_, meMissingAlphaDisk_, meMissingAlphaLad_, meMissingAlphaLay_, meMissingAlphaPhi_, meMissingAlphaRing_, meMissingBetaBlade_, meMissingBetaDisk_, meMissingBetaLad_, meMissingBetaLay_, meMissingBetaPhi_, meMissingBetaRing_, meMissingBlade_, meMissingDisk_, meMissingLad_, meMissingLay_, meMissingPhi_, meMissingRing_, meMissingXBlade_, meMissingXDisk_, meMissingXLad_, meMissingXLay_, meMissingXPhi_, meMissingXRing_, meMissingYBlade_, meMissingYDisk_, meMissingYLad_, meMissingYLay_, meMissingYPhi_, meMissingYRing_, meValid_, meValidAlphaBlade_, meValidAlphaDisk_, meValidAlphaLad_, meValidAlphaLay_, meValidAlphaPhi_, meValidAlphaRing_, meValidBetaBlade_, meValidBetaDisk_, meValidBetaLad_, meValidBetaLay_, meValidBetaPhi_, meValidBetaRing_, meValidBlade_, meValidDisk_, meValidLad_, meValidLay_, meValidPhi_, meValidRing_, meValidXBlade_, meValidXDisk_, meValidXLad_, meValidXLay_, meValidXPhi_, meValidXRing_, meValidYBlade_, meValidYDisk_, meValidYLad_, meValidYLay_, meValidYPhi_, meValidYRing_, LocalTrajectoryParameters::momentum(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, LocalTrajectoryParameters::position(), DetId::subdetId(), updateEfficiencies, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

487  {
488 
489  bool barrel = DetId(id_).subdetId() == static_cast<int>(PixelSubdetector::PixelBarrel);
490  bool endcap = DetId(id_).subdetId() == static_cast<int>(PixelSubdetector::PixelEndcap);
491 
492  LocalVector localDir = ltp.momentum()/ltp.momentum().mag();
493  float prediction_alpha = atan2(localDir.z(), localDir.x());
494  float prediction_beta = atan2(localDir.z(), localDir.y());
495  float prediction_x = ltp.position().x();
496  float prediction_y = ltp.position().y();
497 
498  if(isHitValid){
499  if(modon){
500  meValid_->Fill(0.5);
501  /*meValidX_->Fill(prediction_x);
502  meValidY_->Fill(prediction_y);
503  meValidAlpha_->Fill(prediction_alpha);
504  meValidBeta_->Fill(prediction_beta);*/
505  }
506  if(barrel && ladon){
507  meValidLad_->Fill(0.5);
508  meValidXLad_->Fill(prediction_x);
509  meValidYLad_->Fill(prediction_y);
510  meValidAlphaLad_->Fill(prediction_alpha);
511  meValidBetaLad_->Fill(prediction_beta);
512  }
513  if(barrel && layon){
514  meValidLay_->Fill(0.5);
515  meValidXLay_->Fill(prediction_x);
516  meValidYLay_->Fill(prediction_y);
517  meValidAlphaLay_->Fill(prediction_alpha);
518  meValidBetaLay_->Fill(prediction_beta);
519  }
520  if(barrel && phion){
521  meValidPhi_->Fill(0.5);
522  meValidXPhi_->Fill(prediction_x);
523  meValidYPhi_->Fill(prediction_y);
524  meValidAlphaPhi_->Fill(prediction_alpha);
525  meValidBetaPhi_->Fill(prediction_beta);
526  }
527  if(endcap && bladeon){
528  meValidBlade_->Fill(0.5);
529  meValidXBlade_->Fill(prediction_x);
530  meValidYBlade_->Fill(prediction_y);
531  meValidAlphaBlade_->Fill(prediction_alpha);
532  meValidBetaBlade_->Fill(prediction_beta);
533  }
534  if(endcap && diskon){
535  meValidDisk_->Fill(0.5);
536  meValidXDisk_->Fill(prediction_x);
537  meValidYDisk_->Fill(prediction_y);
538  meValidAlphaDisk_->Fill(prediction_alpha);
539  meValidBetaDisk_->Fill(prediction_beta);
540  }
541  if(endcap && ringon){
542  meValidRing_->Fill(0.5);
543  meValidXRing_->Fill(prediction_x);
544  meValidYRing_->Fill(prediction_y);
545  meValidAlphaRing_->Fill(prediction_alpha);
546  meValidBetaRing_->Fill(prediction_beta);
547  }
548  }
549  else {
550  if(modon){
551  meMissing_->Fill(0.5);
552  /*meMissingX_->Fill(prediction_x);
553  meMissingY_->Fill(prediction_y);
554  meMissingAlpha_->Fill(prediction_alpha);
555  meMissingBeta_->Fill(prediction_beta);*/
556  }
557  if(barrel && ladon){
558  meMissingLad_->Fill(0.5);
559  meMissingXLad_->Fill(prediction_x);
560  meMissingYLad_->Fill(prediction_y);
561  meMissingAlphaLad_->Fill(prediction_alpha);
562  meMissingBetaLad_->Fill(prediction_beta);
563  }
564  if(barrel && layon){
565  meMissingLay_->Fill(0.5);
566  meMissingXLay_->Fill(prediction_x);
567  meMissingYLay_->Fill(prediction_y);
568  meMissingAlphaLay_->Fill(prediction_alpha);
569  meMissingBetaLay_->Fill(prediction_beta);
570  }
571  if(barrel && phion){
572  meMissingPhi_->Fill(0.5);
573  meMissingXPhi_->Fill(prediction_x);
574  meMissingYPhi_->Fill(prediction_y);
575  meMissingAlphaPhi_->Fill(prediction_alpha);
576  meMissingBetaPhi_->Fill(prediction_beta);
577  }
578  if(endcap && bladeon){
579  meMissingBlade_->Fill(0.5);
580  meMissingXBlade_->Fill(prediction_x);
581  meMissingYBlade_->Fill(prediction_y);
582  meMissingAlphaBlade_->Fill(prediction_alpha);
583  meMissingBetaBlade_->Fill(prediction_beta);
584  }
585  if(endcap && diskon){
586  meMissingDisk_->Fill(0.5);
587  meMissingXDisk_->Fill(prediction_x);
588  meMissingYDisk_->Fill(prediction_y);
589  meMissingAlphaDisk_->Fill(prediction_alpha);
590  meMissingBetaDisk_->Fill(prediction_beta);
591  }
592  if(endcap && ringon){
593  meMissingRing_->Fill(0.5);
594  meMissingXRing_->Fill(prediction_x);
595  meMissingYRing_->Fill(prediction_y);
596  meMissingAlphaRing_->Fill(prediction_alpha);
597  meMissingBetaRing_->Fill(prediction_beta);
598  }
599  }
600 
602  computeEfficiencies(modon, ladon, layon, phion, bladeon, diskon, ringon);
603 }
LocalPoint position() const
Local x and y position coordinates.
T y() const
Definition: PV3DBase.h:63
void Fill(long long x)
T mag() const
Definition: PV3DBase.h:67
T z() const
Definition: PV3DBase.h:64
LocalVector momentum() const
Momentum vector in the local frame.
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:37
Definition: DetId.h:18
void computeEfficiencies(bool modon=true, bool ladon=true, bool layon=true, bool phion=true, bool bladeon=true, bool diskon=true, bool ringon=true)
T x() const
Definition: PV3DBase.h:62

Member Data Documentation

bool SiPixelHitEfficiencyModule::bBookTracks
private

Definition at line 39 of file SiPixelHitEfficiencyModule.h.

Referenced by SiPixelHitEfficiencyModule().

bool SiPixelHitEfficiencyModule::debug_
private

Definition at line 40 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

uint32_t SiPixelHitEfficiencyModule::id_
private

Definition at line 38 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiency_
private

Definition at line 44 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyAlpha_
private

Definition at line 47 of file SiPixelHitEfficiencyModule.h.

Referenced by book().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyAlphaBlade_
private

Definition at line 71 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyAlphaDisk_
private

Definition at line 77 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyAlphaLad_
private

Definition at line 53 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyAlphaLay_
private

Definition at line 59 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyAlphaPhi_
private

Definition at line 65 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyAlphaRing_
private

Definition at line 83 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyBeta_
private

Definition at line 48 of file SiPixelHitEfficiencyModule.h.

Referenced by book().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyBetaBlade_
private

Definition at line 72 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyBetaDisk_
private

Definition at line 78 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyBetaLad_
private

Definition at line 54 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyBetaLay_
private

Definition at line 60 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyBetaPhi_
private

Definition at line 66 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyBetaRing_
private

Definition at line 84 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyBlade_
private

Definition at line 68 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyDisk_
private

Definition at line 74 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyLad_
private

Definition at line 50 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyLay_
private

Definition at line 56 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyPhi_
private

Definition at line 62 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyRing_
private

Definition at line 80 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyX_
private

Definition at line 45 of file SiPixelHitEfficiencyModule.h.

Referenced by book().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyXBlade_
private

Definition at line 69 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyXDisk_
private

Definition at line 75 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyXLad_
private

Definition at line 51 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyXLay_
private

Definition at line 57 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyXPhi_
private

Definition at line 63 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyXRing_
private

Definition at line 81 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyY_
private

Definition at line 46 of file SiPixelHitEfficiencyModule.h.

Referenced by book().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyYBlade_
private

Definition at line 70 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyYDisk_
private

Definition at line 76 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyYLad_
private

Definition at line 52 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyYLay_
private

Definition at line 58 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyYPhi_
private

Definition at line 64 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meEfficiencyYRing_
private

Definition at line 82 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and computeEfficiencies().

MonitorElement* SiPixelHitEfficiencyModule::meMissing_
private

Definition at line 130 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingAlpha_
private

Definition at line 133 of file SiPixelHitEfficiencyModule.h.

MonitorElement* SiPixelHitEfficiencyModule::meMissingAlphaBlade_
private

Definition at line 157 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingAlphaDisk_
private

Definition at line 163 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingAlphaLad_
private

Definition at line 139 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingAlphaLay_
private

Definition at line 145 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingAlphaPhi_
private

Definition at line 151 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingAlphaRing_
private

Definition at line 169 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingBeta_
private

Definition at line 134 of file SiPixelHitEfficiencyModule.h.

MonitorElement* SiPixelHitEfficiencyModule::meMissingBetaBlade_
private

Definition at line 158 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingBetaDisk_
private

Definition at line 164 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingBetaLad_
private

Definition at line 140 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingBetaLay_
private

Definition at line 146 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingBetaPhi_
private

Definition at line 152 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingBetaRing_
private

Definition at line 170 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingBlade_
private

Definition at line 154 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingDisk_
private

Definition at line 160 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingLad_
private

Definition at line 136 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingLay_
private

Definition at line 142 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingPhi_
private

Definition at line 148 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingRing_
private

Definition at line 166 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingX_
private

Definition at line 131 of file SiPixelHitEfficiencyModule.h.

MonitorElement* SiPixelHitEfficiencyModule::meMissingXBlade_
private

Definition at line 155 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingXDisk_
private

Definition at line 161 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingXLad_
private

Definition at line 137 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingXLay_
private

Definition at line 143 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingXPhi_
private

Definition at line 149 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingXRing_
private

Definition at line 167 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingY_
private

Definition at line 132 of file SiPixelHitEfficiencyModule.h.

MonitorElement* SiPixelHitEfficiencyModule::meMissingYBlade_
private

Definition at line 156 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingYDisk_
private

Definition at line 162 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingYLad_
private

Definition at line 138 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingYLay_
private

Definition at line 144 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingYPhi_
private

Definition at line 150 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meMissingYRing_
private

Definition at line 168 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValid_
private

Definition at line 87 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidAlpha_
private

Definition at line 90 of file SiPixelHitEfficiencyModule.h.

MonitorElement* SiPixelHitEfficiencyModule::meValidAlphaBlade_
private

Definition at line 114 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidAlphaDisk_
private

Definition at line 120 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidAlphaLad_
private

Definition at line 96 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidAlphaLay_
private

Definition at line 102 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidAlphaPhi_
private

Definition at line 108 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidAlphaRing_
private

Definition at line 126 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidBeta_
private

Definition at line 91 of file SiPixelHitEfficiencyModule.h.

MonitorElement* SiPixelHitEfficiencyModule::meValidBetaBlade_
private

Definition at line 115 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidBetaDisk_
private

Definition at line 121 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidBetaLad_
private

Definition at line 97 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidBetaLay_
private

Definition at line 103 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidBetaPhi_
private

Definition at line 109 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidBetaRing_
private

Definition at line 127 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidBlade_
private

Definition at line 111 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidDisk_
private

Definition at line 117 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidLad_
private

Definition at line 93 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidLay_
private

Definition at line 99 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidPhi_
private

Definition at line 105 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidRing_
private

Definition at line 123 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidX_
private

Definition at line 88 of file SiPixelHitEfficiencyModule.h.

MonitorElement* SiPixelHitEfficiencyModule::meValidXBlade_
private

Definition at line 112 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidXDisk_
private

Definition at line 118 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidXLad_
private

Definition at line 94 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidXLay_
private

Definition at line 100 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidXPhi_
private

Definition at line 106 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidXRing_
private

Definition at line 124 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidY_
private

Definition at line 89 of file SiPixelHitEfficiencyModule.h.

MonitorElement* SiPixelHitEfficiencyModule::meValidYBlade_
private

Definition at line 113 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidYDisk_
private

Definition at line 119 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidYLad_
private

Definition at line 95 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidYLay_
private

Definition at line 101 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidYPhi_
private

Definition at line 107 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

MonitorElement* SiPixelHitEfficiencyModule::meValidYRing_
private

Definition at line 125 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), computeEfficiencies(), and fill().

bool SiPixelHitEfficiencyModule::updateEfficiencies
private

Definition at line 41 of file SiPixelHitEfficiencyModule.h.

Referenced by book(), and fill().