64 dbe_->setCurrentFolder(
"Tracking/TrackingRecHits/Strip/ALL");
68 sprintf(histo,
"Errx_LF");
69 meErrxLF = dbe_->book1D(histo,
"RecHit err(x) Local Frame coord.",100,0,0.005);
72 sprintf(histo,
"Errx_MF");
73 meErrxMF = dbe_->book1D(histo,
"RecHit err(x) Meas. Frame coord.",100,0,0.5);
75 sprintf(histo,
"Res_LF");
76 meResLF = dbe_->book1D(histo,
"RecHit Residual",100,-0.02,+0.02);
78 sprintf(histo,
"Res_MF");
79 meResMF = dbe_->book1D(histo,
"RecHit Residual",100,-2,+2);
81 sprintf(histo,
"Pull_LF");
82 mePullLF = dbe_->book1D(histo,
"Pull",100,-5.,5.);
84 sprintf(histo,
"Pull_MF");
85 mePullMF = dbe_->book1D(histo,
"Pull",100,-5.,5.);
87 sprintf(histo,
"Category");
88 meCategory = dbe_->book1D(histo,
"Cluster Category",10,0.,10.);
90 sprintf(histo,
"Trackwidth");
91 meTrackwidth = dbe_->book1D(histo,
"Track width",100,0.,4.);
93 sprintf(histo,
"Expectedwidth");
96 sprintf(histo,
"Clusterwidth");
99 sprintf(histo,
"Trackanglealpha");
102 sprintf(histo,
"Trackanglebeta");
105 sprintf(histo,
"ErrxMFTrackwidthProfile_WClus1");
108 sprintf(histo,
"ErrxMFTrackwidthProfile_WClus2");
111 sprintf(histo,
"ErrxMFTrackwidthProfile_WClus3");
114 sprintf(histo,
"ErrxMFTrackwidthProfile_WClus4");
117 sprintf(histo,
"ResMFTrackwidthProfile_WClus1");
120 sprintf(histo,
"ResMFTrackwidthProfile_WClus2");
122 sprintf(histo,
"ResMFTrackwidthProfile_WClus21");
124 sprintf(histo,
"ResMFTrackwidthProfile_WClus22");
126 sprintf(histo,
"ResMFTrackwidthProfile_WClus23");
131 sprintf(histo,
"ResMFTrackwidthProfile_WClus3");
134 sprintf(histo,
"ResMFTrackwidthProfile_WClus4");
137 sprintf(histo,
"ErrxMFTrackwidthProfile");
140 sprintf(histo,
"ErrxMFTrackwidthProfile_Category1");
142 sprintf(histo,
"ErrxMFTrackwidthProfile_Category2");
145 sprintf(histo,
"ErrxMFTrackwidthProfile_Category3");
148 sprintf(histo,
"ErrxMFTrackwidthProfile_Category4");
151 sprintf(histo,
"ErrxMFClusterwidthProfile_Category1");
154 sprintf(histo,
"ErrxMFAngleProfile");
155 meErrxMFAngleProfile = dbe_->bookProfile(histo,
"Resolution Angle Profile", 100, 0., 60.,100, 0.,2.,
"s");
157 dbe_->setCurrentFolder(
"Tracking/TrackingRecHits/Strip/TIB");
159 for(
int i = 0 ;
i<4 ;
i++) {
161 sprintf(histo,
"Nstp_rphi_layer%dtib",
i+1);
162 meNstpRphiTIB[
i] = dbe_->book1D(histo,
"RecHit Cluster Size",20,0.5,20.5);
163 sprintf(histo,
"Adc_rphi_layer%dtib",
i+1);
164 meAdcRphiTIB[
i] = dbe_->book1D(histo,
"RecHit Cluster Charge",100,0.,300.);
165 sprintf(histo,
"Posx_rphi_layer%dtib",
i+1);
166 mePosxRphiTIB[
i] = dbe_->book1D(histo,
"RecHit x coord.",100,-6.0,+6.0);
168 sprintf(histo,
"Errx_LF_rphi_layer%dtib",
i+1);
169 meErrxLFRphiTIB[
i] = dbe_->book1D(histo,
"RecHit err(x) Local Frame coord.",100,0,0.005);
170 sprintf(histo,
"Errx_MF_rphi_layer%dtib",
i+1);
171 meErrxMFRphiTIB[
i] = dbe_->book1D(histo,
"RecHit err(x) Meas. Frame coord.",100,0,0.5);
173 sprintf(histo,
"Res_LF_rphi_layer%dtib",
i+1);
174 meResLFRphiTIB[
i] = dbe_->book1D(histo,
"RecHit Residual",100,-0.02,+0.02);
175 sprintf(histo,
"Res_MF_rphi_layer%dtib",
i+1);
178 sprintf(histo,
"Pull_LF_rphi_layer%dtib",
i+1);
180 sprintf(histo,
"Pull_MF_rphi_layer%dtib",
i+1);
183 sprintf(histo,
"Trackangle_rphi_layer%dtib",
i+1);
186 sprintf(histo,
"Trackanglebeta_rphi_layer%dtib",
i+1);
189 sprintf(histo,
"Trackangle2_rphi_layer%dtib",
i+1);
192 sprintf(histo,
"PullTrackangleProfile_rphi_layer%dtib",
i+1);
195 sprintf(histo,
"Trackwidth_rphi_layer%dtib",
i+1);
198 sprintf(histo,
"Expectedwidth_rphi_layer%dtib",
i+1);
201 sprintf(histo,
"Clusterwidth_rphi_layer%dtib",
i+1);
204 sprintf(histo,
"Category_rphi_layer%dtib",
i+1);
207 sprintf(histo,
"PullTrackwidthProfile_rphi_layer%dtib",
i+1);
210 sprintf(histo,
"PullTrackwidthProfile_Category1_rphi_layer%dtib",
i+1);
213 sprintf(histo,
"PullTrackwidthProfile_Category2_rphi_layer%dtib",
i+1);
216 sprintf(histo,
"PullTrackwidthProfile_Category3_rphi_layer%dtib",
i+1);
219 sprintf(histo,
"PullTrackwidthProfile_Category4_rphi_layer%dtib",
i+1);
222 sprintf(histo,
"ErrxMFTrackwidthProfile_rphi_layer%dtib",
i+1);
226 sprintf(histo,
"ErrxMFTrackwidthProfile_WClus1_rphi_layer%dtib",
i+1);
229 sprintf(histo,
"ErrxMFTrackwidthProfile_WClus2_rphi_layer%dtib",
i+1);
232 sprintf(histo,
"ErrxMFTrackwidthProfile_WClus3_rphi_layer%dtib",
i+1);
235 sprintf(histo,
"ErrxMFTrackwidthProfile_WClus4_rphi_layer%dtib",
i+1);
238 sprintf(histo,
"ResMFTrackwidthProfile_WClus1_rphi_layer%dtib",
i+1);
240 sprintf(histo,
"ResMFTrackwidthProfile_WClus2_rphi_layer%dtib",
i+1);
243 sprintf(histo,
"ResMFTrackwidthProfile_WClus3_rphi_layer%dtib",
i+1);
246 sprintf(histo,
"ResMFTrackwidthProfile_WClus4_rphi_layer%dtib",
i+1);
251 sprintf(histo,
"ErrxMFTrackwidthProfile_Category1_rphi_layer%dtib",
i+1);
254 sprintf(histo,
"ErrxMFTrackwidthProfile_Category2_rphi_layer%dtib",
i+1);
257 sprintf(histo,
"ErrxMFTrackwidthProfile_Category3_rphi_layer%dtib",
i+1);
260 sprintf(histo,
"ErrxMFTrackwidthProfile_Category4_rphi_layer%dtib",
i+1);
263 sprintf(histo,
"ErrxMFAngleProfile_rphi_layer%dtib",
i+1);
266 sprintf(histo,
"ErrxMFClusterwidthProfile_Category1_rphi_layer%dtib",
i+1);
272 for(
int i = 0 ;
i<2 ;
i++) {
274 sprintf(histo,
"Nstp_sas_layer%dtib",
i+1);
275 meNstpSasTIB[
i] = dbe_->book1D(histo,
"RecHit Cluster Size",20,0.5,20.5);
276 sprintf(histo,
"Adc_sas_layer%dtib",
i+1);
277 meAdcSasTIB[
i] = dbe_->book1D(histo,
"RecHit Cluster Charge",100,0.,300.);
278 sprintf(histo,
"Posx_sas_layer%dtib",
i+1);
279 mePosxSasTIB[
i] = dbe_->book1D(histo,
"RecHit x coord.",100,-6.0,+6.0);
281 sprintf(histo,
"Errx_LF_sas_layer%dtib",
i+1);
282 meErrxLFSasTIB[
i] = dbe_->book1D(histo,
"RecHit err(x) coord.",100,0.,0.005);
283 sprintf(histo,
"Errx_MF_sas_layer%dtib",
i+1);
284 meErrxMFSasTIB[
i] = dbe_->book1D(histo,
"RecHit err(x) coord.",100,0.,0.5);
286 sprintf(histo,
"Res_LF_sas_layer%dtib",
i+1);
287 meResLFSasTIB[
i] = dbe_->book1D(histo,
"RecHit Residual",100,-0.02,+0.02);
288 sprintf(histo,
"Res_MF_sas_layer%dtib",
i+1);
289 meResMFSasTIB[
i] = dbe_->book1D(histo,
"RecHit Residual",100,-2,+2);
291 sprintf(histo,
"Pull_LF_sas_layer%dtib",
i+1);
293 sprintf(histo,
"Pull_MF_sas_layer%dtib",
i+1);
296 sprintf(histo,
"Trackangle_sas_layer%dtib",
i+1);
299 sprintf(histo,
"Trackanglebeta_sas_layer%dtib",
i+1);
302 sprintf(histo,
"PullTrackangleProfile_sas_layer%dtib",
i+1);
305 sprintf(histo,
"Trackwidth_sas_layer%dtib",
i+1);
308 sprintf(histo,
"Expectedwidth_sas_layer%dtib",
i+1);
311 sprintf(histo,
"Clusterwidth_sas_layer%dtib",
i+1);
314 sprintf(histo,
"Category_sas_layer%dtib",
i+1);
317 sprintf(histo,
"PullTrackwidthProfile_sas_layer%dtib",
i+1);
320 sprintf(histo,
"PullTrackwidthProfile_Category1_sas_layer%dtib",
i+1);
323 sprintf(histo,
"PullTrackwidthProfile_Category2_sas_layer%dtib",
i+1);
326 sprintf(histo,
"PullTrackwidthProfile_Category3_sas_layer%dtib",
i+1);
329 sprintf(histo,
"PullTrackwidthProfile_Category4_sas_layer%dtib",
i+1);
332 sprintf(histo,
"ErrxMFTrackwidthProfile_sas_layer%dtib",
i+1);
335 sprintf(histo,
"ErrxMFTrackwidthProfile_Category1_sas_layer%dtib",
i+1);
337 sprintf(histo,
"ErrxMFTrackwidthProfile_Category2_sas_layer%dtib",
i+1);
339 sprintf(histo,
"ErrxMFTrackwidthProfile_Category3_sas_layer%dtib",
i+1);
341 sprintf(histo,
"ErrxMFTrackwidthProfile_Category4_sas_layer%dtib",
i+1);
344 sprintf(histo,
"ErrxMFAngleProfile_sas_layer%dtib",
i+1);
347 sprintf(histo,
"ErrxMFClusterwidthProfile_Category1_sas_layer%dtib",
i+1);
352 sprintf(histo,
"Posx_matched_layer%dtib",
i+1);
354 sprintf(histo,
"Posy_matched_layer%dtib",
i+1);
356 sprintf(histo,
"Errx_matched_layer%dtib",
i+1);
358 sprintf(histo,
"Erry_matched_layer%dtib",
i+1);
360 sprintf(histo,
"Resx_matched_layer%dtib",
i+1);
361 meResxMatchedTIB[
i] = dbe_->book1D(histo,
"RecHit Res(x) coord.",100,-0.02, +0.02);
362 sprintf(histo,
"Resy_matched_layer%dtib",
i+1);
364 sprintf(histo,
"Pullx_matched_layer%dtib",
i+1);
366 sprintf(histo,
"Pully_matched_layer%dtib",
i+1);
370 dbe_->setCurrentFolder(
"Tracking/TrackingRecHits/Strip/TOB");
372 for(
int i = 0 ;
i<6 ;
i++) {
374 sprintf(histo,
"Nstp_rphi_layer%dtob",
i+1);
375 meNstpRphiTOB[
i] = dbe_->book1D(histo,
"RecHit Cluster Size",20,0.5,20.5);
376 sprintf(histo,
"Adc_rphi_layer%dtob",
i+1);
377 meAdcRphiTOB[
i] = dbe_->book1D(histo,
"RecHit Cluster Charge",100,0.,300.);
378 sprintf(histo,
"Posx_rphi_layer%dtob",
i+1);
379 mePosxRphiTOB[
i] = dbe_->book1D(histo,
"RecHit x coord.",100,-6.0,+6.0);
381 sprintf(histo,
"Errx_LF_rphi_layer%dtob",
i+1);
383 sprintf(histo,
"Errx_MF_rphi_layer%dtob",
i+1);
386 sprintf(histo,
"Res_LF_rphi_layer%dtob",
i+1);
387 meResLFRphiTOB[
i] = dbe_->book1D(histo,
"RecHit Residual",100,-0.02,+0.02);
388 sprintf(histo,
"Res_MF_rphi_layer%dtob",
i+1);
391 sprintf(histo,
"Pull_LF_rphi_layer%dtob",
i+1);
393 sprintf(histo,
"Pull_MF_rphi_layer%dtob",
i+1);
396 sprintf(histo,
"Trackangle_rphi_layer%dtob",
i+1);
399 sprintf(histo,
"Trackanglebeta_rphi_layer%dtob",
i+1);
402 sprintf(histo,
"PullTrackangleProfile_rphi_layer%dtob",
i+1);
405 sprintf(histo,
"Trackwidth_rphi_layer%dtob",
i+1);
408 sprintf(histo,
"Expectedwidth_rphi_layer%dtob",
i+1);
411 sprintf(histo,
"Clusterwidth_rphi_layer%dtob",
i+1);
414 sprintf(histo,
"Category_rphi_layer%dtob",
i+1);
417 sprintf(histo,
"PullTrackwidthProfile_rphi_layer%dtob",
i+1);
420 sprintf(histo,
"PullTrackwidthProfile_Category1_rphi_layer%dtob",
i+1);
423 sprintf(histo,
"PullTrackwidthProfile_Category2_rphi_layer%dtob",
i+1);
426 sprintf(histo,
"PullTrackwidthProfile_Category3_rphi_layer%dtob",
i+1);
429 sprintf(histo,
"PullTrackwidthProfile_Category4_rphi_layer%dtob",
i+1);
432 sprintf(histo,
"ErrxMFTrackwidthProfile_rphi_layer%dtob",
i+1);
435 sprintf(histo,
"ErrxMFTrackwidthProfile_WClus1_rphi_layer%dtob",
i+1);
438 sprintf(histo,
"ErrxMFTrackwidthProfile_WClus2_rphi_layer%dtob",
i+1);
441 sprintf(histo,
"ErrxMFTrackwidthProfile_WClus3_rphi_layer%dtob",
i+1);
444 sprintf(histo,
"ErrxMFTrackwidthProfile_WClus4_rphi_layer%dtob",
i+1);
447 sprintf(histo,
"ResMFTrackwidthProfile_WClus1_rphi_layer%dtob",
i+1);
449 sprintf(histo,
"ResMFTrackwidthProfile_WClus2_rphi_layer%dtob",
i+1);
452 sprintf(histo,
"ResMFTrackwidthProfile_WClus3_rphi_layer%dtob",
i+1);
455 sprintf(histo,
"ResMFTrackwidthProfile_WClus4_rphi_layer%dtob",
i+1);
460 sprintf(histo,
"ErrxMFTrackwidthProfile_Category1_rphi_layer%dtob",
i+1);
463 sprintf(histo,
"ErrxMFTrackwidthProfile_Category2_rphi_layer%dtob",
i+1);
466 sprintf(histo,
"ErrxMFTrackwidthProfile_Category3_rphi_layer%dtob",
i+1);
469 sprintf(histo,
"ErrxMFTrackwidthProfile_Category4_rphi_layer%dtob",
i+1);
472 sprintf(histo,
"ErrxMFAngleProfile_rphi_layer%dtob",
i+1);
475 sprintf(histo,
"ErrxMFClusterwidthProfile_Category1_rphi_layer%dtob",
i+1);
481 for(
int i = 0 ;
i<2 ;
i++) {
483 sprintf(histo,
"Nstp_sas_layer%dtob",
i+1);
484 meNstpSasTOB[
i] = dbe_->book1D(histo,
"RecHit Cluster Size",20,0.5,20.5);
485 sprintf(histo,
"Adc_sas_layer%dtob",
i+1);
486 meAdcSasTOB[
i] = dbe_->book1D(histo,
"RecHit Cluster Charge",100,0.,300.);
487 sprintf(histo,
"Posx_sas_layer%dtob",
i+1);
488 mePosxSasTOB[
i] = dbe_->book1D(histo,
"RecHit x coord.",100,-6.0,+6.0);
490 sprintf(histo,
"Errx_LF_sas_layer%dtob",
i+1);
491 meErrxLFSasTOB[
i] = dbe_->book1D(histo,
"RecHit err(x) coord.",100,0.,0.01);
492 sprintf(histo,
"Errx_MF_sas_layer%dtob",
i+1);
493 meErrxMFSasTOB[
i] = dbe_->book1D(histo,
"RecHit err(x) coord.",100,0.,0.5);
495 sprintf(histo,
"Res_LF_sas_layer%dtob",
i+1);
496 meResLFSasTOB[
i] = dbe_->book1D(histo,
"RecHit Residual",100,-0.02,+0.02);
497 sprintf(histo,
"Res_MF_sas_layer%dtob",
i+1);
498 meResMFSasTOB[
i] = dbe_->book1D(histo,
"RecHit Residual",100,-2,2);
500 sprintf(histo,
"Pull_LF_sas_layer%dtob",
i+1);
502 sprintf(histo,
"Pull_MF_sas_layer%dtob",
i+1);
505 sprintf(histo,
"Trackangle_sas_layer%dtob",
i+1);
508 sprintf(histo,
"Trackanglebeta_sas_layer%dtob",
i+1);
511 sprintf(histo,
"PullTrackangleProfile_sas_layer%dtob",
i+1);
514 sprintf(histo,
"Trackwidth_sas_layer%dtob",
i+1);
517 sprintf(histo,
"Expectedwidth_sas_layer%dtob",
i+1);
520 sprintf(histo,
"Clusterwidth_sas_layer%dtob",
i+1);
523 sprintf(histo,
"Category_sas_layer%dtob",
i+1);
526 sprintf(histo,
"PullTrackwidthProfile_sas_layer%dtob",
i+1);
529 sprintf(histo,
"PullTrackwidthProfile_Category1_sas_layer%dtob",
i+1);
532 sprintf(histo,
"PullTrackwidthProfile_Category2_sas_layer%dtob",
i+1);
535 sprintf(histo,
"PullTrackwidthProfile_Category3_sas_layer%dtob",
i+1);
538 sprintf(histo,
"PullTrackwidthProfile_Category4_sas_layer%dtob",
i+1);
541 sprintf(histo,
"ErrxMFTrackwidthProfile_sas_layer%dtob",
i+1);
544 sprintf(histo,
"ErrxMFTrackwidthProfile_Category1_sas_layer%dtob",
i+1);
546 sprintf(histo,
"ErrxMFTrackwidthProfile_Category2_sas_layer%dtob",
i+1);
548 sprintf(histo,
"ErrxMFTrackwidthProfile_Category3_sas_layer%dtob",
i+1);
550 sprintf(histo,
"ErrxMFTrackwidthProfile_Category4_sas_layer%dtob",
i+1);
553 sprintf(histo,
"ErrxMFAngleProfile_sas_layer%dtob",
i+1);
556 sprintf(histo,
"ErrxMFClusterwidthProfile_Category1_sas_layer%dtob",
i+1);
559 sprintf(histo,
"Posx_matched_layer%dtob",
i+1);
561 sprintf(histo,
"Posy_matched_layer%dtob",
i+1);
563 sprintf(histo,
"Errx_matched_layer%dtob",
i+1);
565 sprintf(histo,
"Erry_matched_layer%dtob",
i+1);
567 sprintf(histo,
"Resx_matched_layer%dtob",
i+1);
568 meResxMatchedTOB[
i] = dbe_->book1D(histo,
"RecHit Res(x) coord.",100,-0.02, +0.02);
569 sprintf(histo,
"Resy_matched_layer%dtob",
i+1);
571 sprintf(histo,
"Pullx_matched_layer%dtob",
i+1);
573 sprintf(histo,
"Pully_matched_layer%dtob",
i+1);
577 dbe_->setCurrentFolder(
"Tracking/TrackingRecHits/Strip/TID");
579 for(
int i = 0 ;
i<3 ;
i++) {
581 sprintf(histo,
"Nstp_rphi_layer%dtid",
i+1);
582 meNstpRphiTID[
i] = dbe_->book1D(histo,
"RecHit Cluster Size",20,0.5,20.5);
583 sprintf(histo,
"Adc_rphi_layer%dtid",
i+1);
584 meAdcRphiTID[
i] = dbe_->book1D(histo,
"RecHit Cluster Charge",100,0.,300.);
585 sprintf(histo,
"Posx_rphi_layer%dtid",
i+1);
586 mePosxRphiTID[
i] = dbe_->book1D(histo,
"RecHit x coord.",100,-6.0,+6.0);
587 sprintf(histo,
"Errx_LF_rphi_layer%dtid",
i+1);
589 sprintf(histo,
"Errx_MF_rphi_layer%dtid",
i+1);
591 sprintf(histo,
"Res_LF_rphi_layer%dtid",
i+1);
592 meResLFRphiTID[
i] = dbe_->book1D(histo,
"RecHit Residual",100,-0.5,+0.5);
593 sprintf(histo,
"Res_MF_rphi_layer%dtid",
i+1);
595 sprintf(histo,
"Pull_LF_rphi_layer%dtid",
i+1);
597 sprintf(histo,
"Pull_MF_rphi_layer%dtid",
i+1);
599 sprintf(histo,
"Trackangle_rphi_layer%dtid",
i+1);
602 sprintf(histo,
"Trackanglebeta_rphi_layer%dtid",
i+1);
605 sprintf(histo,
"PullTrackangleProfile_rphi_layer%dtid",
i+1);
608 sprintf(histo,
"Trackwidth_rphi_layer%dtid",
i+1);
611 sprintf(histo,
"Expectedwidth_rphi_layer%dtid",
i+1);
614 sprintf(histo,
"Clusterwidth_rphi_layer%dtid",
i+1);
617 sprintf(histo,
"Category_rphi_layer%dtid",
i+1);
620 sprintf(histo,
"PullTrackwidthProfile_rphi_layer%dtid",
i+1);
623 sprintf(histo,
"PullTrackwidthProfile_Category1_rphi_layer%dtid",
i+1);
626 sprintf(histo,
"PullTrackwidthProfile_Category2_rphi_layer%dtid",
i+1);
629 sprintf(histo,
"PullTrackwidthProfile_Category3_rphi_layer%dtid",
i+1);
632 sprintf(histo,
"PullTrackwidthProfile_Category4_rphi_layer%dtid",
i+1);
635 sprintf(histo,
"ErrxMFTrackwidthProfile_rphi_layer%dtid",
i+1);
638 sprintf(histo,
"ErrxMFTrackwidthProfile_Category1_rphi_layer%dtid",
i+1);
640 sprintf(histo,
"ErrxMFTrackwidthProfile_Category2_rphi_layer%dtid",
i+1);
642 sprintf(histo,
"ErrxMFTrackwidthProfile_Category3_rphi_layer%dtid",
i+1);
644 sprintf(histo,
"ErrxMFTrackwidthProfile_Category4_rphi_layer%dtid",
i+1);
647 sprintf(histo,
"ErrxMFAngleProfile_rphi_layer%dtid",
i+1);
650 sprintf(histo,
"ErrxMFClusterwidthProfile_Category1_rphi_layer%dtid",
i+1);
656 for(
int i = 0 ;
i<2 ;
i++) {
658 sprintf(histo,
"Nstp_sas_layer%dtid",
i+1);
659 meNstpSasTID[
i] = dbe_->book1D(histo,
"RecHit Cluster Size",20,0.5,20.5);
660 sprintf(histo,
"Adc_sas_layer%dtid",
i+1);
661 meAdcSasTID[
i] = dbe_->book1D(histo,
"RecHit Cluster Charge",100,0.,300.);
662 sprintf(histo,
"Posx_sas_layer%dtid",
i+1);
663 mePosxSasTID[
i] = dbe_->book1D(histo,
"RecHit x coord.",100,-6.0,+6.0);
664 sprintf(histo,
"Errx_LF_sas_layer%dtid",
i+1);
665 meErrxLFSasTID[
i] = dbe_->book1D(histo,
"RecHit err(x) coord.",100,0.,0.5);
666 sprintf(histo,
"Errx_MF_sas_layer%dtid",
i+1);
667 meErrxMFSasTID[
i] = dbe_->book1D(histo,
"RecHit err(x) coord.",100,0.,0.5);
668 sprintf(histo,
"Res_LF_sas_layer%dtid",
i+1);
669 meResLFSasTID[
i] = dbe_->book1D(histo,
"RecHit Residual",100,-0.5,+0.5);
670 sprintf(histo,
"Res_MF_sas_layer%dtid",
i+1);
671 meResMFSasTID[
i] = dbe_->book1D(histo,
"RecHit Residual",100,-2,2);
672 sprintf(histo,
"Pull_LF_sas_layer%dtid",
i+1);
674 sprintf(histo,
"Pull_MF_sas_layer%dtid",
i+1);
676 sprintf(histo,
"Trackangle_sas_layer%dtid",
i+1);
678 sprintf(histo,
"Trackanglebeta_sas_layer%dtid",
i+1);
681 sprintf(histo,
"PullTrackangleProfile_sas_layer%dtid",
i+1);
684 sprintf(histo,
"Trackwidth_sas_layer%dtid",
i+1);
687 sprintf(histo,
"Expectedwidth_sas_layer%dtid",
i+1);
690 sprintf(histo,
"Clusterwidth_sas_layer%dtid",
i+1);
693 sprintf(histo,
"Category_sas_layer%dtid",
i+1);
696 sprintf(histo,
"PullTrackwidthProfile_sas_layer%dtid",
i+1);
699 sprintf(histo,
"PullTrackwidthProfile_Category1_sas_layer%dtid",
i+1);
702 sprintf(histo,
"PullTrackwidthProfile_Category2_sas_layer%dtid",
i+1);
705 sprintf(histo,
"PullTrackwidthProfile_Category3_sas_layer%dtid",
i+1);
708 sprintf(histo,
"PullTrackwidthProfile_Category4_sas_layer%dtid",
i+1);
711 sprintf(histo,
"ErrxMFTrackwidthProfile_sas_layer%dtid",
i+1);
714 sprintf(histo,
"ErrxMFTrackwidthProfile_Category1_sas_layer%dtid",
i+1);
716 sprintf(histo,
"ErrxMFTrackwidthProfile_Category2_sas_layer%dtid",
i+1);
718 sprintf(histo,
"ErrxMFTrackwidthProfile_Category3_sas_layer%dtid",
i+1);
720 sprintf(histo,
"ErrxMFTrackwidthProfile_Category4_sas_layer%dtid",
i+1);
723 sprintf(histo,
"ErrxMFAngleProfile_sas_layer%dtid",
i+1);
726 sprintf(histo,
"ErrxMFClusterwidthProfile_Category1_sas_layer%dtid",
i+1);
729 sprintf(histo,
"Posx_matched_layer%dtid",
i+1);
731 sprintf(histo,
"Posy_matched_layer%dtid",
i+1);
733 sprintf(histo,
"Errx_matched_layer%dtid",
i+1);
735 sprintf(histo,
"Erry_matched_layer%dtid",
i+1);
737 sprintf(histo,
"Resx_matched_layer%dtid",
i+1);
739 sprintf(histo,
"Resy_matched_layer%dtid",
i+1);
741 sprintf(histo,
"Pullx_matched_layer%dtid",
i+1);
743 sprintf(histo,
"Pully_matched_layer%dtid",
i+1);
747 dbe_->setCurrentFolder(
"Tracking/TrackingRecHits/Strip/TEC");
749 for(
int i = 0 ;
i<7 ;
i++) {
751 sprintf(histo,
"Nstp_rphi_layer%dtec",
i+1);
752 meNstpRphiTEC[
i] = dbe_->book1D(histo,
"RecHit Cluster Size",20,0.5,20.5);
753 sprintf(histo,
"Adc_rphi_layer%dtec",
i+1);
754 meAdcRphiTEC[
i] = dbe_->book1D(histo,
"RecHit Cluster Charge",100,0.,300.);
755 sprintf(histo,
"Posx_rphi_layer%dtec",
i+1);
756 mePosxRphiTEC[
i] = dbe_->book1D(histo,
"RecHit x coord.",100,-6.0,+6.0);
758 sprintf(histo,
"Errx_LF_rphi_layer%dtec",
i+1);
760 sprintf(histo,
"Errx_MF_rphi_layer%dtec",
i+1);
763 sprintf(histo,
"Res_LF_rphi_layer%dtec",
i+1);
764 meResLFRphiTEC[
i] = dbe_->book1D(histo,
"RecHit Residual",100,-0.5,+0.5);
765 sprintf(histo,
"Res_MF_rphi_layer%dtec",
i+1);
768 sprintf(histo,
"Pull_LF_rphi_layer%dtec",
i+1);
770 sprintf(histo,
"Pull_MF_rphi_layer%dtec",
i+1);
773 sprintf(histo,
"Trackangle_rphi_layer%dtec",
i+1);
776 sprintf(histo,
"Trackanglebeta_rphi_layer%dtec",
i+1);
779 sprintf(histo,
"PullTrackangleProfile_rphi_layer%dtec",
i+1);
782 sprintf(histo,
"Trackwidth_rphi_layer%dtec",
i+1);
785 sprintf(histo,
"Expectedwidth_rphi_layer%dtec",
i+1);
788 sprintf(histo,
"Clusterwidth_rphi_layer%dtec",
i+1);
791 sprintf(histo,
"Category_rphi_layer%dtec",
i+1);
794 sprintf(histo,
"PullTrackwidthProfile_rphi_layer%dtec",
i+1);
797 sprintf(histo,
"PullTrackwidthProfile_Category1_rphi_layer%dtec",
i+1);
800 sprintf(histo,
"PullTrackwidthProfile_Category2_rphi_layer%dtec",
i+1);
803 sprintf(histo,
"PullTrackwidthProfile_Category3_rphi_layer%dtec",
i+1);
806 sprintf(histo,
"PullTrackwidthProfile_Category4_rphi_layer%dtec",
i+1);
809 sprintf(histo,
"ErrxMFTrackwidthProfile_rphi_layer%dtec",
i+1);
812 sprintf(histo,
"ErrxMFTrackwidthProfile_Category1_rphi_layer%dtec",
i+1);
814 sprintf(histo,
"ErrxMFTrackwidthProfile_Category2_rphi_layer%dtec",
i+1);
816 sprintf(histo,
"ErrxMFTrackwidthProfile_Category3_rphi_layer%dtec",
i+1);
818 sprintf(histo,
"ErrxMFTrackwidthProfile_Category4_rphi_layer%dtec",
i+1);
821 sprintf(histo,
"ErrxMFAngleProfile_rphi_layer%dtec",
i+1);
824 sprintf(histo,
"ErrxMFClusterwidthProfile_Category1_rphi_layer%dtec",
i+1);
830 for(
int i = 0 ;
i<5 ;
i++) {
831 if(
i == 0 ||
i == 1 ||
i == 4) {
833 sprintf(histo,
"Nstp_sas_layer%dtec",
i+1);
834 meNstpSasTEC[
i] = dbe_->book1D(histo,
"RecHit Cluster Size",20,0.5,20.5);
835 sprintf(histo,
"Adc_sas_layer%dtec",
i+1);
836 meAdcSasTEC[
i] = dbe_->book1D(histo,
"RecHit Cluster Charge",100,0.,300.);
837 sprintf(histo,
"Posx_sas_layer%dtec",
i+1);
838 mePosxSasTEC[
i] = dbe_->book1D(histo,
"RecHit x coord.",100,-6.0,+6.0);
839 sprintf(histo,
"Errx_LF_sas_layer%dtec",
i+1);
840 meErrxLFSasTEC[
i] = dbe_->book1D(histo,
"RecHit err(x) coord.",100,0.,0.5);
841 sprintf(histo,
"Errx_MF_sas_layer%dtec",
i+1);
842 meErrxMFSasTEC[
i] = dbe_->book1D(histo,
"RecHit err(x) coord.",100,0.,0.5);
843 sprintf(histo,
"Res_LF_sas_layer%dtec",
i+1);
844 meResLFSasTEC[
i] = dbe_->book1D(histo,
"RecHit Residual",100,-0.5,+0.5);
845 sprintf(histo,
"Res_MF_sas_layer%dtec",
i+1);
846 meResMFSasTEC[
i] = dbe_->book1D(histo,
"RecHit Residual",100,-2,+2);
847 sprintf(histo,
"Pull_LF_sas_layer%dtec",
i+1);
849 sprintf(histo,
"Pull_MF_sas_layer%dtec",
i+1);
851 sprintf(histo,
"Trackangle_sas_layer%dtec",
i+1);
853 sprintf(histo,
"Trackanglebeta_sas_layer%dtec",
i+1);
856 sprintf(histo,
"PullTrackangleProfile_sas_layer%dtec",
i+1);
859 sprintf(histo,
"Trackwidth_sas_layer%dtec",
i+1);
862 sprintf(histo,
"Expectedwidth_sas_layer%dtec",
i+1);
865 sprintf(histo,
"Clusterwidth_sas_layer%dtec",
i+1);
868 sprintf(histo,
"Category_sas_layer%dtec",
i+1);
871 sprintf(histo,
"PullTrackwidthProfile_sas_layer%dtec",
i+1);
874 sprintf(histo,
"PullTrackwidthProfile_Category1_sas_layer%dtec",
i+1);
877 sprintf(histo,
"PullTrackwidthProfile_Category2_sas_layer%dtec",
i+1);
880 sprintf(histo,
"PullTrackwidthProfile_Category3_sas_layer%dtec",
i+1);
883 sprintf(histo,
"PullTrackwidthProfile_Category4_sas_layer%dtec",
i+1);
886 sprintf(histo,
"ErrxMFTrackwidthProfile_sas_layer%dtec",
i+1);
889 sprintf(histo,
"ErrxMFTrackwidthProfile_Category1_sas_layer%dtec",
i+1);
891 sprintf(histo,
"ErrxMFTrackwidthProfile_Category2_sas_layer%dtec",
i+1);
893 sprintf(histo,
"ErrxMFTrackwidthProfile_Category3_sas_layer%dtec",
i+1);
895 sprintf(histo,
"ErrxMFTrackwidthProfile_Category4_sas_layer%dtec",
i+1);
898 sprintf(histo,
"ErrxMFAngleProfile_sas_layer%dtec",
i+1);
901 sprintf(histo,
"ErrxMFClusterwidthProfile_Category1_sas_layer%dtec",
i+1);
904 sprintf(histo,
"Posx_matched_layer%dtec",
i+1);
906 sprintf(histo,
"Posy_matched_layer%dtec",
i+1);
908 sprintf(histo,
"Errx_matched_layer%dtec",
i+1);
910 sprintf(histo,
"Erry_matched_layer%dtec",
i+1);
912 sprintf(histo,
"Resx_matched_layer%dtec",
i+1);
914 sprintf(histo,
"Resy_matched_layer%dtec",
i+1);
916 sprintf(histo,
"Pullx_matched_layer%dtec",
i+1);
918 sprintf(histo,
"Pully_matched_layer%dtec",
i+1);
1204 int isrechitrphi = 0;
1205 int isrechitsas = 0;
1206 int isrechitmatched = 0;
1225 float mindist = 999999;
1227 std::vector<PSimHit> matched;
1241 tracker2=&(* estracker);
1263 edm::LogVerbatim(
"TrajectoryAnalyzer") <<
"trajColl->size(): " << trajCollectionHandle->size() ;
1267 for(std::vector<Trajectory>::const_iterator it = trajCollectionHandle->begin(); it!=trajCollectionHandle->end();it++){
1269 edm::LogVerbatim(
"TrajectoryAnalyzer") <<
"this traj has " << it->foundHits() <<
" valid hits" <<
" , "
1270 <<
"isValid: " << it->isValid() ;
1272 std::vector<TrajectoryMeasurement> tmColl = it->measurements();
1273 for(std::vector<TrajectoryMeasurement>::const_iterator itTraj = tmColl.begin(); itTraj!=tmColl.end(); itTraj++){
1274 if(! itTraj->updatedState().isValid())
continue;
1282 if ( itTraj->updatedState().globalMomentum().perp() < 1.)
continue;
1287 DetId detid2 = itTraj->recHit()->geographicalId();
1290 const SiStripMatchedRecHit2D* matchedhit=
dynamic_cast<const SiStripMatchedRecHit2D*
>((*thit2).hit());
1291 const SiStripRecHit2D* hit2d=
dynamic_cast<const SiStripRecHit2D*
>((*thit2).hit());
1292 const SiStripRecHit1D* hit1d=
dynamic_cast<const SiStripRecHit1D*
>((*thit2).hit());
1298 detid = (thit)->geographicalId();
1299 myid=((thit)->geographicalId()).rawId();
1303 isrechitmatched = 0;
1307 isrechitmatched = 1;
1309 position = (thit)->localPosition();
1311 error = (thit)->localPositionError();
1323 std::pair<LocalPoint,LocalVector> closestPair;
1326 if(!matched.empty()){
1330 std::pair<LocalPoint,LocalVector> hitPair;
1331 for(std::vector<PSimHit>::const_iterator
m=matched.begin();
m<matched.end();
m++){
1336 dist = distx*distx+disty*disty;
1337 if(
sqrt(dist)<mindist){
1339 closestPair = hitPair;
1351 if(isrechitmatched){
1355 int Tibisrechitmatched = isrechitmatched;
1356 int ilay = tTopo->tibLayer(myid) - 1;
1357 if(Tibisrechitmatched>0){
1371 int Tobisrechitmatched = isrechitmatched;
1372 int ilay = tTopo->tobLayer(myid) - 1;
1373 if(Tobisrechitmatched>0){
1386 int Tidisrechitmatched = isrechitmatched;
1387 int ilay = tTopo->tidRing(myid) - 1;
1388 if(Tidisrechitmatched>0){
1401 int Tecisrechitmatched = isrechitmatched;
1402 int ilay = tTopo->tecRing(myid) - 1;
1403 if(Tecisrechitmatched>0){
1460 const SiStripRecHit2D *monohit;
1465 auto hm =matchedhit->monoHit();
1477 if(monotkdir.
z()!=0){
1478 anglealpha = atan(monotkdir.
x()/monotkdir.
z())*180/
TMath::Pi();
1479 anglebeta = atan(monotkdir.
y()/monotkdir.
z())*180/
TMath::Pi();
1486 position = monohit->localPosition();
1487 error = monohit->localPositionError();
1498 float tanalpha =
tan(anglealpha/57.3);
1500 float tanalphaL = drift.
x()/drift.
z();
1509 Wtrack = fabs((thickness/pitch)*tanalpha - (thickness/pitch)*tanalphaL);
1511 float SLorentz = 0.5*(thickness/pitch)*tanalphaL;
1514 int Sp = int(position.
x()/pitch+SLorentz+0.5*Wtrack);
1515 int Sm = int(position.
x()/pitch+SLorentz-0.5*Wtrack);
1522 SiStripRecHit2D::ClusterRef cluster=monohit->cluster();
1526 clusiz = cluster->amplitudes().size();
1528 const std::vector<uint8_t> amplitudes=cluster->amplitudes();
1529 for(
size_t ia=0; ia<amplitudes.size();ia++){
1530 totcharge+=amplitudes[ia];
1546 if(!matched.empty()){
1549 for(std::vector<PSimHit>::const_iterator
m=matched.begin();
m<matched.end();
m++){
1550 dist =
abs((monohit)->localPosition().
x() - (*m).localPosition().x());
1572 clusterWidth = clusiz;
1574 if (clusterWidth > Wexp + 2) {
1576 }
else if (Wexp == 1) {
1578 }
else if (clusterWidth <= Wexp) {
1586 auto s =matchedhit->stereoHit();
1587 const SiStripRecHit2D *stereohit=&
s;
1590 gtrkdir=gdet->
toGlobal(trackdirection);
1592 if(stereotkdir.
z()!=0){
1593 anglealpha = atan(stereotkdir.
x()/stereotkdir.
z())*180/
TMath::Pi();
1594 anglebeta = atan(stereotkdir.
y()/stereotkdir.
z())*180/
TMath::Pi();
1601 SiStripRecHit2D::ClusterRef cluster=stereohit->cluster();
1607 position = stereohit->localPosition();
1609 error = stereohit->localPositionError();
1620 float tanalpha =
tan(anglealpha/57.3);
1622 float tanalphaL = drift.
x()/drift.
z();
1626 Wtrack = fabs((thickness/pitch)*tanalpha - (thickness/pitch)*tanalphaL);
1628 float SLorentz = 0.5*(thickness/pitch)*tanalphaL;
1630 int Sp = int(position.
x()/pitch+SLorentz+0.5*Wtrack);
1631 int Sm = int(position.
x()/pitch+SLorentz-0.5*Wtrack);
1637 clusiz = cluster->amplitudes().size();
1638 const std::vector<uint8_t> amplitudes=cluster->amplitudes();
1639 for(
size_t ia=0; ia<amplitudes.size();ia++){
1640 totcharge+=amplitudes[ia];
1656 if(!matched.empty()){
1658 for(std::vector<PSimHit>::const_iterator
m=matched.begin();
m<matched.end();
m++){
1659 dist =
abs((stereohit)->localPosition().
x() - (*m).localPosition().x());
1682 clusterWidth = clusiz;
1684 if (clusterWidth > Wexp + 2) {
1686 }
else if (Wexp == 1) {
1688 }
else if (clusterWidth <= Wexp) {
1707 if (StripSubdet.
stereo() == 0){
1715 float anglealpha = atan(trackdirection.
x()/trackdirection.
z())*180/
TMath::Pi();
1716 float anglebeta = atan(trackdirection.
y()/trackdirection.
z())*180/
TMath::Pi();
1719 SiStripRecHit1D::ClusterRef cluster=hit1d->cluster();
1732 float tanalpha =
tan(anglealpha/57.3);
1734 float tanalphaL = drift.
x()/drift.
z();
1741 Wtrack = fabs((thickness/pitch)*tanalpha - (thickness/pitch)*tanalphaL);
1744 float SLorentz = 0.5*(thickness/pitch)*tanalphaL;
1746 int Sp = int(position.
x()/pitch+SLorentz+0.5*Wtrack);
1747 int Sm = int(position.
x()/pitch+SLorentz-0.5*Wtrack);
1752 clusiz = cluster->amplitudes().size();
1754 const std::vector<uint8_t> amplitudes=cluster->amplitudes();
1755 for(
size_t ia=0; ia<amplitudes.size();ia++){
1756 totcharge+=amplitudes[ia];
1773 if(!matched.empty()){
1775 for(std::vector<PSimHit>::const_iterator
m=matched.begin();
m<matched.end();
m++){
1776 dist =
abs((hit1d)->localPosition().
x() - (*m).localPosition().x());
1792 clusterWidth = clusiz;
1794 if (clusterWidth > Wexp + 2) {
1796 }
else if (Wexp == 1) {
1798 }
else if (clusterWidth <= Wexp) {
1880 if (StripSubdet.
stereo() == 1){
1889 float anglealpha = atan(trackdirection.
x()/trackdirection.
z())*180/
TMath::Pi();
1890 float anglebeta = atan(trackdirection.
y()/trackdirection.
z())*180/
TMath::Pi();
1893 SiStripRecHit1D::ClusterRef cluster=hit1d->cluster();
1908 float tanalpha =
tan(anglealpha/57.3);
1910 float tanalphaL = drift.
x()/drift.
z();
1914 Wtrack = fabs((thickness/pitch)*tanalpha - (thickness/pitch)*tanalphaL);
1916 float SLorentz = 0.5*(thickness/pitch)*tanalphaL;
1918 int Sp = int(position.
x()/pitch+SLorentz+0.5*Wtrack);
1919 int Sm = int(position.
x()/pitch+SLorentz-0.5*Wtrack);
1924 clusiz = cluster->amplitudes().size();
1925 const std::vector<uint8_t> amplitudes=cluster->amplitudes();
1926 for(
size_t ia=0; ia<amplitudes.size();ia++){
1927 totcharge+=amplitudes[ia];
1943 if(!matched.empty()){
1945 for(std::vector<PSimHit>::const_iterator
m=matched.begin();
m<matched.end();
m++){
1946 dist =
abs((hit1d)->localPosition().
x() - (*m).localPosition().x());
1964 clusterWidth = clusiz;
1966 if (clusterWidth > Wexp + 2) {
1968 }
else if (Wexp == 1) {
1970 }
else if (clusterWidth <= Wexp) {
1984 if (StripSubdet.
stereo() == 0){
1992 float anglealpha = atan(trackdirection.
x()/trackdirection.
z())*180/
TMath::Pi();
1993 float anglebeta = atan(trackdirection.
y()/trackdirection.
z())*180/
TMath::Pi();
1995 SiStripRecHit2D::ClusterRef cluster=hit2d->cluster();
2008 float tanalpha =
tan(anglealpha/57.3);
2010 float tanalphaL = drift.
x()/drift.
z();
2017 Wtrack = fabs((thickness/pitch)*tanalpha - (thickness/pitch)*tanalphaL);
2020 float SLorentz = 0.5*(thickness/pitch)*tanalphaL;
2022 int Sp = int(position.
x()/pitch+SLorentz+0.5*Wtrack);
2023 int Sm = int(position.
x()/pitch+SLorentz-0.5*Wtrack);
2028 clusiz = cluster->amplitudes().size();
2030 const std::vector<uint8_t> amplitudes=cluster->amplitudes();
2031 for(
size_t ia=0; ia<amplitudes.size();ia++){
2032 totcharge+=amplitudes[ia];
2049 if(!matched.empty()){
2051 for(std::vector<PSimHit>::const_iterator
m=matched.begin();
m<matched.end();
m++){
2052 dist =
abs((hit2d)->localPosition().
x() - (*m).localPosition().x());
2068 clusterWidth = clusiz;
2070 if (clusterWidth > Wexp + 2) {
2072 }
else if (Wexp == 1) {
2074 }
else if (clusterWidth <= Wexp) {
2156 if (StripSubdet.
stereo() == 1){
2165 float anglealpha = atan(trackdirection.
x()/trackdirection.
z())*180/
TMath::Pi();
2166 float anglebeta = atan(trackdirection.
y()/trackdirection.
z())*180/
TMath::Pi();
2168 SiStripRecHit2D::ClusterRef cluster=hit2d->cluster();
2183 float tanalpha =
tan(anglealpha/57.3);
2185 float tanalphaL = drift.
x()/drift.
z();
2189 Wtrack = fabs((thickness/pitch)*tanalpha - (thickness/pitch)*tanalphaL);
2191 float SLorentz = 0.5*(thickness/pitch)*tanalphaL;
2193 int Sp = int(position.
x()/pitch+SLorentz+0.5*Wtrack);
2194 int Sm = int(position.
x()/pitch+SLorentz-0.5*Wtrack);
2199 clusiz = cluster->amplitudes().size();
2200 const std::vector<uint8_t> amplitudes=cluster->amplitudes();
2201 for(
size_t ia=0; ia<amplitudes.size();ia++){
2202 totcharge+=amplitudes[ia];
2218 if(!matched.empty()){
2220 for(std::vector<PSimHit>::const_iterator
m=matched.begin();
m<matched.end();
m++){
2221 dist =
abs((hit2d)->localPosition().
x() - (*m).localPosition().x());
2239 clusterWidth = clusiz;
2241 if (clusterWidth > Wexp + 2) {
2243 }
else if (Wexp == 1) {
2245 }
else if (clusterWidth <= Wexp) {
2259 float CutThickness=0.04;
2262 if(isrechitrphi>0 || isrechitsas>0){
2265 if (isrechitrphi>0) {
2417 if (isrechitsas>0) {
2552 int Tibisrechitrphi = isrechitrphi;
2553 int Tibisrechitsas = isrechitsas;
2555 int ilay = tTopo->tibLayer(myid) - 1;
2557 if(Tibisrechitrphi!=0){
2623 if(Tibisrechitsas!=0){
2672 int Tobisrechitrphi = isrechitrphi;
2673 int Tobisrechitsas = isrechitsas;
2674 int ilay = tTopo->tobLayer(myid) - 1;
2675 if(Tobisrechitrphi!=0){
2740 if(Tobisrechitsas!=0){
2790 int Tidisrechitrphi = isrechitrphi;
2791 int Tidisrechitsas = isrechitsas;
2792 int ilay = tTopo->tidRing(myid) - 1;
2793 if(Tidisrechitrphi!=0){
2839 if(Tidisrechitsas!=0){
2888 int Tecisrechitrphi = isrechitrphi;
2889 int Tecisrechitsas = isrechitsas;
2890 int ilay = tTopo->tecRing(myid) - 1;
2891 if(Tecisrechitrphi!=0){
2937 if(Tecisrechitsas!=0){
3006 LocalPoint localHit = plane.toLocal(globalpos);
3013 float scale = -localHit.
z() / dir.
z();
3025 return std::pair<LocalPoint,LocalVector>( projectedPos, localStripDir);
MonitorElement * mePullTrackwidthProfileCategory1SasTEC[5]
MonitorElement * meErrxMFTrackwidthProfileRphiTEC[7]
MonitorElement * mePullTrackwidthProfileSasTOB[2]
MonitorElement * meResyMatchedTEC[5]
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
MonitorElement * mePullTrackwidthProfileCategory2RphiTID[3]
MonitorElement * mePullTrackwidthProfileRphiTID[3]
T getParameter(std::string const &) const
SiStripTrackingRecHitsValid(const edm::ParameterSet &conf)
T getUntrackedParameter(std::string const &, T const &) const
virtual ~SiStripTrackingRecHitsValid()
MonitorElement * meErrxMFTrackwidthProfileCategory2RphiTIB[4]
MonitorElement * mePullMFSasTOB[2]
MonitorElement * mePullMFRphiTEC[7]
MonitorElement * meTrackangleRphiTEC[7]
MonitorElement * meExpectedwidthRphiTEC[7]
MonitorElement * meResyMatchedTIB[2]
MonitorElement * meCategoryRphiTIB[4]
MonitorElement * meErrxMatchedTID[2]
MonitorElement * meTrackwidthRphiTID[3]
MonitorElement * meErrxMatchedTEC[5]
MonitorElement * mePullTrackwidthProfileCategory3SasTIB[4]
MonitorElement * meErrxMFClusterwidthProfileCategory1RphiTIB[4]
MonitorElement * meExpectedwidthSasTOB[2]
MonitorElement * meErrxMFTrackwidthProfileWClus2
MonitorElement * mePullTrackwidthProfileCategory4RphiTEC[7]
MonitorElement * mePullTrackwidthProfileCategory2SasTID[2]
MonitorElement * meResMFTrackwidthProfileWclus4RphiTOB[6]
MonitorElement * meErrxMFTrackwidthProfileCategory3SasTOB[2]
MonitorElement * mePullyMatchedTIB[2]
MonitorElement * meAdcRphiTID[3]
MonitorElement * meErrxMFClusterwidthProfileCategory1SasTID[2]
MonitorElement * meResyMatchedTOB[2]
MonitorElement * mePullTrackwidthProfileRphiTEC[7]
virtual float stripAngle(float strip) const =0
const GeomDetUnit * monoDet() const
MonitorElement * mePosyMatchedTEC[5]
MonitorElement * meResMFSasTOB[2]
MonitorElement * meErrxMFTrackwidthProfileCategory4RphiTIB[4]
MonitorElement * meResLFSasTEC[5]
MonitorElement * meErrxMFTrackwidthProfileCategory1SasTID[2]
MonitorElement * mePosxMatchedTIB[2]
MonitorElement * meTrackwidthSasTIB[4]
MonitorElement * meTrackwidthRphiTEC[7]
MonitorElement * meResLFSasTID[2]
MonitorElement * meNstpSasTOB[2]
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * mePullTrackwidthProfileCategory1RphiTOB[6]
MonitorElement * meExpectedwidthSasTID[2]
MonitorElement * meClusterwidthSasTIB[4]
LocalVector localDirection() const
MonitorElement * meErrxMFTrackwidthProfileCategory2SasTID[2]
MonitorElement * meTrackangleSasTIB[4]
MonitorElement * meExpectedwidthSasTEC[5]
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
MonitorElement * mePosxMatchedTID[2]
MonitorElement * meNstpSasTIB[4]
MonitorElement * mePullxMatchedTID[2]
MonitorElement * mePosxRphiTOB[6]
Sin< T >::type sin(const T &t)
float rechitsastrackanglebeta
MonitorElement * mePullTrackangleProfileSasTEC[5]
MonitorElement * meErryMatchedTOB[2]
LocalVector drift(const StripGeomDetUnit *, const MagneticField &, const SiStripLorentzAngle &)
MonitorElement * meNstpRphiTIB[4]
MonitorElement * mePosxMatchedTOB[2]
MonitorElement * meErrxMFTrackwidthProfileCategory4SasTIB[4]
MonitorElement * mePullTrackangleProfileRphiTEC[7]
MonitorElement * meErrxMFTrackwidthProfileWclus4RphiTOB[6]
MonitorElement * mePullTrackwidthProfileCategory1RphiTEC[7]
MonitorElement * mePullTrackwidthProfileCategory4SasTEC[5]
MonitorElement * meExpectedwidthRphiTOB[6]
MonitorElement * mePullTrackwidthProfileCategory2SasTEC[5]
MonitorElement * meClusterwidth
MonitorElement * mePullLFRphiTOB[6]
MonitorElement * meNstpRphiTID[3]
MonitorElement * meResxMatchedTOB[2]
MonitorElement * mePullMF
MonitorElement * meErrxMFTrackwidthProfileCategory4SasTOB[2]
MonitorElement * meResMFRphiTEC[7]
LocalPoint toLocal(const GlobalPoint &gp) const
Conversion to the R.F. of the GeomDet.
MonitorElement * meErrxMFTrackwidthProfileWclus4RphiTIB[4]
MonitorElement * meErrxMFTrackwidthProfileWclus3RphiTOB[6]
MonitorElement * meCategoryRphiTID[3]
const Bounds & bounds() const
MonitorElement * meErrxMatchedTOB[2]
MonitorElement * meTrackanglealpha
MonitorElement * meResMFTrackwidthProfileWclus4RphiTIB[4]
MonitorElement * mePullTrackangleProfileRphiTID[3]
MonitorElement * meErrxMFAngleProfile
MonitorElement * meResMFSasTID[2]
MonitorElement * meCategory
MonitorElement * meTrackangle2RphiTIB[4]
const StripTopology * topol
virtual const StripTopology & specificTopology() const
Returns a reference to the strip proxy topology.
MonitorElement * meErrxMFTrackwidthProfileCategory3RphiTEC[7]
MonitorElement * mePullLFSasTEC[5]
MonitorElement * meTrackanglebetaRphiTID[3]
const Plane & surface() const
The nominal surface of the GeomDet.
MonitorElement * meErrxMFTrackwidthProfileCategory1SasTIB[4]
MonitorElement * meTrackanglebetaSasTEC[5]
static int position[TOTALCHAMBERS][3]
MonitorElement * meResLFSasTIB[4]
MonitorElement * meTrackwidth
MonitorElement * meResMFTrackwidthProfileWclus3RphiTIB[4]
MonitorElement * meAdcRphiTEC[7]
MonitorElement * meTrackwidthSasTID[2]
MonitorElement * meResMFTrackwidthProfileWClus1
MonitorElement * mePullyMatchedTID[2]
MonitorElement * mePullTrackwidthProfileCategory4RphiTOB[6]
MonitorElement * meErrxMFTrackwidthProfileCategory1SasTOB[2]
MonitorElement * meCategorySasTEC[5]
MonitorElement * meResxMatchedTEC[5]
MonitorElement * meTrackangleRphiTOB[6]
int rechitrphiexpectedwidth
MonitorElement * mePosxRphiTEC[7]
MonitorElement * meErrxMFTrackwidthProfileWclus1RphiTOB[6]
virtual float strip(const LocalPoint &) const =0
MonitorElement * mePullTrackwidthProfileCategory3RphiTID[3]
edm::EDGetTokenT< std::vector< Trajectory > > v_TrajectoryToken_
MonitorElement * meErrxLFSasTID[2]
MonitorElement * meResMFTrackwidthProfileWclus3RphiTOB[6]
virtual float thickness() const =0
MonitorElement * meResMFTrackwidthProfileWclus2RphiTOB[6]
MonitorElement * mePosxSasTIB[4]
MonitorElement * meTrackangleRphiTIB[4]
MonitorElement * mePullTrackwidthProfileCategory4RphiTIB[4]
MonitorElement * mePullTrackwidthProfileCategory4RphiTID[3]
MonitorElement * mePosxRphiTID[3]
MonitorElement * meErrxMFClusterwidthProfileCategory1RphiTEC[7]
MonitorElement * meErrxMFClusterwidthProfileCategory1SasTEC[7]
float rechitsastrackwidth
MonitorElement * meErrxMFTrackwidthProfileCategory3RphiTOB[6]
virtual float localPitch(const LocalPoint &) const =0
MonitorElement * meResMFTrackwidthProfileWClus2
const MagneticField * magfield2_
MonitorElement * meTrackwidthRphiTOB[6]
MonitorElement * meResLFRphiTEC[7]
MonitorElement * mePullTrackwidthProfileCategory1SasTOB[2]
MonitorElement * meTrackwidthRphiTIB[4]
MonitorElement * meErrxMFTrackwidthProfileCategory3
MonitorElement * meErrxLFSasTEC[5]
MonitorElement * meErrxMFTrackwidthProfileRphiTOB[6]
MonitorElement * meErrxMFAngleProfileSasTOB[2]
MonitorElement * mePosyMatchedTIB[2]
MonitorElement * mePullTrackwidthProfileCategory4SasTID[2]
MonitorElement * meResMFSasTIB[4]
virtual MeasurementError measurementError(const LocalPoint &, const LocalError &) const =0
MonitorElement * meErrxMFTrackwidthProfileCategory3SasTEC[7]
MonitorElement * meErrxMFTrackwidthProfileSasTIB[4]
MonitorElement * meTrackwidthSasTOB[2]
MonitorElement * meAdcRphiTOB[6]
Local3DPoint localPosition() const
MonitorElement * mePullLFSasTID[2]
MonitorElement * meErryMatchedTIB[2]
MonitorElement * mePullTrackwidthProfileCategory1RphiTIB[4]
MonitorElement * meResMFTrackwidthProfileWClus3
MonitorElement * meErrxMFAngleProfileSasTIB[4]
MonitorElement * meCategoryRphiTEC[7]
MonitorElement * mePullyMatchedTOB[2]
MonitorElement * meErrxLFSasTIB[4]
MonitorElement * meResLFRphiTIB[4]
MonitorElement * mePullTrackwidthProfileCategory2SasTIB[4]
MonitorElement * mePullTrackangleProfileSasTIB[4]
MonitorElement * mePullTrackwidthProfileCategory2RphiTOB[6]
MonitorElement * mePullTrackwidthProfileCategory1SasTID[2]
MonitorElement * meErrxMF
MonitorElement * meResMFRphiTOB[6]
MonitorElement * meErrxMFRphiTID[3]
MonitorElement * meAdcSasTIB[4]
Cos< T >::type cos(const T &t)
MonitorElement * meErrxMatchedTIB[2]
MonitorElement * meTrackanglebeta
MonitorElement * mePullTrackwidthProfileCategory3RphiTEC[7]
MonitorElement * meTrackangleSasTOB[2]
MonitorElement * mePullTrackangleProfileSasTID[2]
MonitorElement * meTrackwidthSasTEC[5]
virtual const Topology & topology() const
Returns a reference to the strip proxy topology.
MonitorElement * meErrxMFTrackwidthProfileCategory4RphiTEC[7]
MonitorElement * meErrxLFRphiTIB[4]
MonitorElement * meResLFRphiTID[3]
MonitorElement * meErrxMFSasTEC[5]
Tan< T >::type tan(const T &t)
float rechitsastrackangle
MonitorElement * meResxMatchedTIB[2]
Abs< T >::type abs(const T &t)
MonitorElement * meErrxLFRphiTEC[7]
MonitorElement * mePullLF
MonitorElement * mePullTrackwidthProfileCategory3RphiTOB[6]
MonitorElement * meErryMatchedTID[2]
MonitorElement * meErrxMFTrackwidthProfileSasTOB[2]
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
MonitorElement * meErrxMFTrackwidthProfileCategory2
virtual MeasurementPoint measurementPosition(const LocalPoint &) const =0
MonitorElement * meErrxMFTrackwidthProfileWclus2RphiTIB[4]
MonitorElement * meClusterwidthRphiTID[3]
MonitorElement * meErrxMFTrackwidthProfileCategory4SasTEC[7]
MonitorElement * meAdcSasTOB[2]
MonitorElement * meAdcSasTEC[5]
virtual void analyze(const edm::Event &e, const edm::EventSetup &c)
MonitorElement * mePullTrackwidthProfileCategory2RphiTIB[4]
MonitorElement * mePullMFRphiTIB[4]
MonitorElement * mePullTrackwidthProfileRphiTOB[6]
MonitorElement * mePosxSasTID[2]
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
MonitorElement * mePullMFSasTID[2]
MonitorElement * meClusterwidthSasTEC[5]
virtual const GeomDet * idToDet(DetId) const
MonitorElement * meResyMatchedTID[2]
MonitorElement * mePullTrackwidthProfileCategory4SasTOB[2]
MonitorElement * meTrackanglebetaSasTIB[4]
MonitorElement * mePullTrackangleProfileRphiTIB[4]
std::pair< LocalPoint, LocalVector > projectHit(const PSimHit &hit, const StripGeomDetUnit *stripDet, const BoundPlane &plane)
MonitorElement * meErryMatchedTEC[5]
MonitorElement * mePullLFRphiTID[3]
float rechitrphithickness
MonitorElement * mePullTrackwidthProfileCategory2RphiTEC[7]
MonitorElement * meErrxMFTrackwidthProfileCategory1SasTEC[7]
MonitorElement * meErrxMFClusterwidthProfileCategory1
MonitorElement * meNstpRphiTEC[7]
MonitorElement * meNstpSasTID[2]
MonitorElement * meResMFRphiTIB[4]
MonitorElement * meErrxMFSasTIB[4]
LocalVector localDirection() const
Obsolete. Same as momentumAtEntry().unit(), for backward compatibility.
MonitorElement * meErrxMFAngleProfileRphiTEC[7]
MonitorElement * mePullyMatchedTEC[5]
MonitorElement * mePullLFRphiTIB[4]
float rechitrphitrackwidth
MonitorElement * meResMFTrackwidthProfileWclus2RphiTIB[4]
MonitorElement * meErrxMFSasTOB[2]
MonitorElement * meTrackangleSasTID[2]
MonitorElement * mePullTrackwidthProfileCategory1RphiTID[3]
MonitorElement * meErrxMFTrackwidthProfileCategory1
unsigned int stereo() const
stereo
MonitorElement * meErrxMFTrackwidthProfileWclus1RphiTIB[4]
MonitorElement * meErrxMFTrackwidthProfileWclus3RphiTIB[4]
MonitorElement * mePullLFSasTOB[2]
MonitorElement * meErrxMFTrackwidthProfile
float rechitrphitrackangle
MonitorElement * mePullLFSasTIB[4]
MonitorElement * meErrxMFTrackwidthProfileCategory4
MonitorElement * mePosxRphiTIB[4]
MonitorElement * meResMFTrackwidthProfileWClus22
MonitorElement * meResMFTrackwidthProfileWclus1RphiTIB[4]
MonitorElement * mePullxMatchedTOB[2]
MonitorElement * mePullTrackwidthProfileCategory4SasTIB[4]
MonitorElement * mePullLFRphiTEC[7]
MonitorElement * meErrxMFRphiTEC[7]
MonitorElement * meErrxMFTrackwidthProfileCategory3RphiTID[3]
virtual LocalError localPositionError() const =0
MonitorElement * meErrxMFAngleProfileRphiTID[3]
float rechitrphitrackanglebeta
MonitorElement * mePullMFRphiTID[3]
MonitorElement * meClusterwidthRphiTOB[6]
MonitorElement * mePullTrackwidthProfileCategory3SasTID[2]
MonitorElement * meExpectedwidthRphiTIB[4]
MonitorElement * meCategorySasTOB[2]
MonitorElement * meErrxMFTrackwidthProfileRphiTIB[4]
MonitorElement * meErrxMFTrackwidthProfileSasTEC[7]
MonitorElement * meErrxMFClusterwidthProfileCategory1SasTIB[4]
MonitorElement * meClusterwidthRphiTEC[7]
MonitorElement * meResMFRphiTID[3]
MonitorElement * mePullTrackwidthProfileCategory3RphiTIB[4]
MonitorElement * meResMFTrackwidthProfileWclus1RphiTOB[6]
MonitorElement * meErrxMFTrackwidthProfileCategory2SasTOB[2]
MonitorElement * meErrxMFTrackwidthProfileCategory2SasTEC[7]
MonitorElement * mePullTrackwidthProfileSasTID[2]
MonitorElement * meErrxLFRphiTID[3]
MonitorElement * meErrxMFTrackwidthProfileCategory4RphiTOB[6]
MonitorElement * meErrxMFTrackwidthProfileWclus2RphiTOB[6]
MonitorElement * mePosxSasTEC[5]
MonitorElement * meErrxMFTrackwidthProfileCategory3RphiTIB[4]
MonitorElement * mePullTrackwidthProfileCategory1SasTIB[4]
MonitorElement * meClusterwidthSasTID[2]
MonitorElement * meErrxMFAngleProfileSasTID[2]
MonitorElement * mePosxMatchedTEC[5]
MonitorElement * meErrxMFSasTID[2]
MonitorElement * mePosyMatchedTID[2]
MonitorElement * meErrxMFTrackwidthProfileSasTID[2]
MonitorElement * mePullTrackwidthProfileSasTEC[5]
MonitorElement * mePullxMatchedTEC[5]
virtual const GeomDetUnit * idToDetUnit(DetId) const
Return the pointer to the GeomDetUnit corresponding to a given DetId.
MonitorElement * meCategoryRphiTOB[6]
MonitorElement * mePullTrackwidthProfileSasTIB[4]
MonitorElement * meCategorySasTIB[4]
MonitorElement * meTrackanglebetaRphiTOB[6]
MonitorElement * mePullMFSasTIB[4]
MonitorElement * meErrxMFTrackwidthProfileCategory2RphiTOB[6]
MonitorElement * meErrxMFTrackwidthProfileCategory3SasTIB[4]
MonitorElement * meNstpSasTEC[5]
MonitorElement * meErrxMFTrackwidthProfileRphiTID[3]
MonitorElement * meResMFTrackwidthProfileWClus4
MonitorElement * meResMFTrackwidthProfileWClus23
MonitorElement * mePullxMatchedTIB[2]
MonitorElement * meErrxMFClusterwidthProfileCategory1RphiTOB[6]
MonitorElement * meTrackangleSasTEC[5]
MonitorElement * meErrxMFTrackwidthProfileCategory1RphiTIB[4]
MonitorElement * meResxMatchedTID[2]
MonitorElement * meExpectedwidthSasTIB[4]
MonitorElement * mePullTrackwidthProfileCategory3SasTOB[2]
MonitorElement * meErrxLFRphiTOB[6]
std::vector< PSimHit > associateHit(const TrackingRecHit &thit)
MonitorElement * meTrackangleRphiTID[3]
MonitorElement * meAdcSasTID[2]
MonitorElement * meErrxMFTrackwidthProfileCategory1RphiTEC[7]
MonitorElement * meErrxMFTrackwidthProfileCategory2RphiTEC[7]
MonitorElement * meClusterwidthRphiTIB[4]
MonitorElement * meErrxMFTrackwidthProfileCategory1RphiTOB[6]
MonitorElement * meErrxLF
MonitorElement * meErrxMFRphiTOB[6]
MonitorElement * meResLFRphiTOB[6]
MonitorElement * meTrackanglebetaRphiTIB[4]
MonitorElement * meErrxMFTrackwidthProfileWClus3
MonitorElement * meCategorySasTID[2]
MonitorElement * meNstpRphiTOB[6]
MonitorElement * meTrackanglebetaRphiTEC[7]
MonitorElement * meErrxMFTrackwidthProfileCategory4SasTID[2]
MonitorElement * meErrxMFTrackwidthProfileWClus4
MonitorElement * meResMFTrackwidthProfileWClus21
MonitorElement * meErrxMFClusterwidthProfileCategory1RphiTID[3]
MonitorElement * mePullMFRphiTOB[6]
MonitorElement * meErrxMFRphiTIB[4]
MonitorElement * meErrxMFTrackwidthProfileWClus1
MonitorElement * meResLFSasTOB[2]
MonitorElement * mePullTrackwidthProfileCategory2SasTOB[2]
MonitorElement * meClusterwidthSasTOB[2]
MonitorElement * meTrackanglebetaSasTID[2]
MonitorElement * meErrxMFAngleProfileRphiTIB[4]
virtual LocalPoint localPosition() const =0
MonitorElement * mePullTrackangleProfileSasTOB[2]
MonitorElement * mePullMFSasTEC[5]
MonitorElement * meErrxMFTrackwidthProfileCategory1RphiTID[3]
MonitorElement * meErrxMFTrackwidthProfileCategory3SasTID[2]
MonitorElement * meExpectedwidth
float rechitrphitrackangle2
MonitorElement * mePullTrackangleProfileRphiTOB[6]
MonitorElement * meErrxMFTrackwidthProfileCategory2RphiTID[3]
MonitorElement * meAdcRphiTIB[4]
MonitorElement * meErrxMFAngleProfileRphiTOB[6]
MonitorElement * meErrxLFSasTOB[2]
const GeomDetUnit * stereoDet() const
MonitorElement * meExpectedwidthRphiTID[3]
MonitorElement * mePullTrackwidthProfileCategory3SasTEC[5]
MonitorElement * meResMFSasTEC[5]
MonitorElement * mePosyMatchedTOB[2]
MonitorElement * meErrxMFTrackwidthProfileCategory2SasTIB[4]
MonitorElement * meErrxMFClusterwidthProfileCategory1SasTOB[2]
MonitorElement * meErrxMFAngleProfileSasTEC[5]
MonitorElement * meTrackanglebetaSasTOB[2]
MonitorElement * mePullTrackwidthProfileRphiTIB[4]
int rechitsasexpectedwidth
MonitorElement * mePosxSasTOB[2]
MonitorElement * meErrxMFTrackwidthProfileCategory4RphiTID[3]