CMS 3D CMS Logo

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

#include <Histograms.h>

Public Types

typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 

Public Member Functions

void fill (float simDirectionAlpha, float recDirectionAlpha, float simDirectionBeta, float recDirectionBeta, float simX, float recX, float simY, float recY, float simEta, float simPhi, float recYRZ, float simYRZ, float recBetaRZ, float simBetaRZ, float sigmaAlpha, float sigmaBeta, float sigmaX, float sigmaY, float sigmaBetaRZ, float sigmaYRZ, int nHitsPhi, int nHitsTheta, float t0Phi, float t0Theta)
 
 HRes4DHit (const std::string &name, DQMStore::IBooker &booker, bool doall=true, bool local=true)
 

Private Attributes

bool doall_
 
dqm::reco::MonitorElementhHitMult
 
dqm::reco::MonitorElementhPullAlpha
 
dqm::reco::MonitorElementhPullAlphaVsEta
 
dqm::reco::MonitorElementhPullAlphaVsPhi
 
dqm::reco::MonitorElementhPullBeta
 
dqm::reco::MonitorElementhPullBetaRZ
 
dqm::reco::MonitorElementhPullBetaVsEta
 
dqm::reco::MonitorElementhPullBetaVsEtaRZ
 
dqm::reco::MonitorElementhPullBetaVsPhi
 
dqm::reco::MonitorElementhPullBetaVsPhiRZ
 
dqm::reco::MonitorElementhPullX
 
dqm::reco::MonitorElementhPullXVsEta
 
dqm::reco::MonitorElementhPullXVsPhi
 
dqm::reco::MonitorElementhPullY
 
dqm::reco::MonitorElementhPullYRZ
 
dqm::reco::MonitorElementhPullYVsEta
 
dqm::reco::MonitorElementhPullYVsEtaRZ
 
dqm::reco::MonitorElementhPullYVsPhi
 
dqm::reco::MonitorElementhPullYVsPhiRZ
 
dqm::reco::MonitorElementhRecAlpha
 
dqm::reco::MonitorElementhRecBeta
 
dqm::reco::MonitorElementhRecBetaRZ
 
dqm::reco::MonitorElementhRecVsSimAlpha
 
dqm::reco::MonitorElementhRecVsSimBeta
 
dqm::reco::MonitorElementhRecVsSimBetaRZ
 
dqm::reco::MonitorElementhResAlpha
 
dqm::reco::MonitorElementhResAlphaVsEta
 
dqm::reco::MonitorElementhResAlphaVsPhi
 
dqm::reco::MonitorElementhResAlphaVsResBeta
 
dqm::reco::MonitorElementhResAlphaVsResX
 
dqm::reco::MonitorElementhResAlphaVsResY
 
dqm::reco::MonitorElementhResBeta
 
dqm::reco::MonitorElementhResBetaRZ
 
dqm::reco::MonitorElementhResBetaVsEta
 
dqm::reco::MonitorElementhResBetaVsEtaRZ
 
dqm::reco::MonitorElementhResBetaVsPhi
 
dqm::reco::MonitorElementhResBetaVsPhiRZ
 
dqm::reco::MonitorElementhResX
 
dqm::reco::MonitorElementhResXVsEta
 
dqm::reco::MonitorElementhResXVsPhi
 
dqm::reco::MonitorElementhResXVsResY
 
dqm::reco::MonitorElementhResY
 
dqm::reco::MonitorElementhResYRZ
 
dqm::reco::MonitorElementhResYVsEta
 
dqm::reco::MonitorElementhResYVsEtaRZ
 
dqm::reco::MonitorElementhResYVsPhi
 
dqm::reco::MonitorElementhResYVsPhiRZ
 
dqm::reco::MonitorElementhSimAlpha
 
dqm::reco::MonitorElementhSimBeta
 
dqm::reco::MonitorElementhSimBetaRZ
 
dqm::reco::MonitorElementht0
 
bool local_
 
std::string name_
 

Detailed Description

Definition at line 421 of file Histograms.h.

Member Typedef Documentation

Definition at line 423 of file Histograms.h.

Definition at line 424 of file Histograms.h.

Constructor & Destructor Documentation

HRes4DHit::HRes4DHit ( const std::string &  name,
DQMStore::IBooker booker,
bool  doall = true,
bool  local = true 
)
inline

Definition at line 426 of file Histograms.h.

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), doall_, hHitMult, hPullAlpha, hPullAlphaVsEta, hPullAlphaVsPhi, hPullBeta, hPullBetaRZ, hPullBetaVsEta, hPullBetaVsEtaRZ, hPullBetaVsPhi, hPullBetaVsPhiRZ, hPullX, hPullXVsEta, hPullXVsPhi, hPullY, hPullYRZ, hPullYVsEta, hPullYVsEtaRZ, hPullYVsPhi, hPullYVsPhiRZ, hRecAlpha, hRecBeta, hRecBetaRZ, hRecVsSimAlpha, hRecVsSimBeta, hRecVsSimBetaRZ, hResAlpha, hResAlphaVsEta, hResAlphaVsPhi, hResAlphaVsResBeta, hResAlphaVsResX, hResAlphaVsResY, hResBeta, hResBetaRZ, hResBetaVsEta, hResBetaVsEtaRZ, hResBetaVsPhi, hResBetaVsPhiRZ, hResX, hResXVsEta, hResXVsPhi, hResXVsResY, hResY, hResYRZ, hResYVsEta, hResYVsEtaRZ, hResYVsPhi, hResYVsPhiRZ, hSimAlpha, hSimBeta, hSimBetaRZ, ht0, local_, mergeVDriftHistosByStation::name, dqm::implementation::NavigatorBase::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.

426  : local_(local) {
427  std::string pre = "4D_";
428  pre += name;
429  doall_ = doall;
430 
431  booker.setCurrentFolder("DT/4DSegments/Res/");
432  if (doall) {
433  hRecAlpha =
434  booker.book1D(pre + "_hRecAlpha", "4D RecHit alpha (RPhi) distribution;#alpha^{x} (rad)", 100, -1.5, 1.5);
435  hRecBeta = booker.book1D(pre + "_hRecBeta", "4D RecHit beta distribution:#alpha^{y} (rad)", 100, -1.5, 1.5);
436 
437  hSimAlpha = booker.book1D(
438  pre + "_hSimAlpha", "4D segment from SimHit alpha (RPhi) distribution;i#alpha^{x} (rad)", 100, -1.5, 1.5);
439  hSimBeta =
440  booker.book1D(pre + "_hSimBeta", "4D segment from SimHit beta distribution;#alpha^{y} (rad)", 100, -1.5, 1.5);
441  hRecVsSimAlpha = booker.book2D(pre + "_hRecVsSimAlpha",
442  "4D segment rec alpha {v}s sim alpha (RPhi);#alpha^{x} (rad)",
443  100,
444  -1.5,
445  1.5,
446  100,
447  -1.5,
448  1.5);
449  hRecVsSimBeta = booker.book2D(pre + "_hRecVsSimBeta",
450  "4D segment rec beta vs sim beta (RZ);#alpha^{y} (rad)",
451  100,
452  -1.5,
453  1.5,
454  100,
455  -1.5,
456  1.5);
457 
458  hResAlphaVsEta = booker.book2D(pre + "_hResAlphaVsEta",
459  "4D RecHit residual on #alpha_x direction vs "
460  "eta;#eta;#alpha^{x}_{rec}-#alpha^{x}_{sim} (rad)",
461  100,
462  -2.5,
463  2.5,
464  100,
465  -0.025,
466  0.025);
467  hResAlphaVsPhi = booker.book2D(pre + "_hResAlphaVsPhi",
468  "4D RecHit residual on #alpha_x direction vs phi (rad);#phi "
469  "(rad);#alpha^{x}_{rec}-#alpha^{x}_{sim} (rad)",
470  100,
471  -3.2,
472  3.2,
473  100,
474  -0.025,
475  0.025);
476  hResBetaVsEta = booker.book2D(pre + "_hResBetaVsEta",
477  "4D RecHit residual on beta direction vs "
478  "eta;#eta;#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
479  100,
480  -2.5,
481  2.5,
482  200,
483  -0.2,
484  0.2);
485  hResBetaVsPhi = booker.book2D(pre + "_hResBetaVsPhi",
486  "4D RecHit residual on beta direction vs phi;#phi "
487  "(rad);#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
488  100,
489  -3.2,
490  3.2,
491  200,
492  -0.2,
493  0.2);
494 
495  hResXVsEta = booker.book2D(pre + "_hResXVsEta",
496  "4D RecHit residual on position (x) in "
497  "chamber vs eta;#eta;x_{rec}-x_{sim} (cm)",
498  100,
499  -2.5,
500  2.5,
501  150,
502  -0.3,
503  0.3);
504  hResXVsPhi = booker.book2D(pre + "_hResXVsPhi",
505  "4D RecHit residual on position (x) in chamber vs "
506  "phi;#phi (rad);x_{rec}-x_{sim} (cm)",
507  100,
508  -3.2,
509  3.2,
510  150,
511  -0.3,
512  0.3);
513 
514  hResYVsEta = booker.book2D(pre + "_hResYVsEta",
515  "4D RecHit residual on position (y) in "
516  "chamber vs eta;#eta;y_{rec}-y_{sim} (cm)",
517  100,
518  -2.5,
519  2.5,
520  150,
521  -0.6,
522  0.6);
523  hResYVsPhi = booker.book2D(pre + "_hResYVsPhi",
524  "4D RecHit residual on position (y) in chamber vs "
525  "phi;#phi (rad);y_{rec}-y_{sim} (cm)",
526  100,
527  -3.2,
528  3.2,
529  150,
530  -0.6,
531  0.6);
532 
533  hResAlphaVsResBeta = booker.book2D(pre + "_hResAlphaVsResBeta",
534  "4D RecHit residual on alpha vs residual on beta",
535  200,
536  -0.3,
537  0.3,
538  500,
539  -0.15,
540  0.15);
541  hResXVsResY = booker.book2D(
542  pre + "_hResXVsResY", "4D RecHit residual on X vs residual on Y", 150, -0.6, 0.6, 50, -0.3, 0.3);
543  hResAlphaVsResX = booker.book2D(
544  pre + "_hResAlphaVsResX", "4D RecHit residual on alpha vs residual on x", 150, -0.3, 0.3, 500, -0.15, 0.15);
545 
546  hResAlphaVsResY = booker.book2D(
547  pre + "_hResAlphaVsResY", "4D RecHit residual on alpha vs residual on y", 150, -0.6, 0.6, 500, -0.15, 0.15);
548 
549  hRecBetaRZ = booker.book1D(pre + "_hRecBetaRZ", "4D RecHit beta distribution:#alpha^{y} (rad)", 100, -1.5, 1.5);
550 
551  hSimBetaRZ = booker.book1D(
552  pre + "_hSimBetaRZ", "4D segment from SimHit beta distribution in RZ SL;#alpha^{y} (rad)", 100, -1.5, 1.5);
553  hRecVsSimBetaRZ = booker.book2D(pre + "_hRecVsSimBetaRZ",
554  "4D segment rec beta vs sim beta (RZ) in RZ SL;#alpha^{y} (rad)",
555  100,
556  -1.5,
557  1.5,
558  100,
559  -1.5,
560  1.5);
561 
562  hResBetaVsEtaRZ = booker.book2D(pre + "_hResBetaVsEtaRZ",
563  "4D RecHit residual on beta direction vs eta;#eta in "
564  "RZ SL;#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
565  100,
566  -2.5,
567  2.5,
568  200,
569  -0.2,
570  0.2);
571  hResBetaVsPhiRZ = booker.book2D(pre + "_hResBetaVsPhiRZ",
572  "4D RecHit residual on beta direction vs phi in RZ "
573  "SL;#phi (rad);#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
574  100,
575  -3.2,
576  3.2,
577  200,
578  -0.2,
579  0.2);
580  hResYVsEtaRZ = booker.book2D(pre + "_hResYVsEtaRZ",
581  "4D RecHit residual on position (y) in chamber vs eta "
582  "in RZ SL;#eta;y_{rec}-y_{sim} (cm)",
583  100,
584  -2.5,
585  2.5,
586  150,
587  -0.6,
588  0.6);
589  hResYVsPhiRZ = booker.book2D(pre + "_hResYVsPhiRZ",
590  "4D RecHit residual on position (y) in chamber vs phi "
591  "in RZ SL;#phi (rad);y_{rec}-y_{sim} (cm)",
592  100,
593  -3.2,
594  3.2,
595  150,
596  -0.6,
597  0.6);
598 
599  booker.setCurrentFolder("DT/4DSegments/Pull/");
600  hPullAlphaVsEta = booker.book2D(pre + "_hPullAlphaVsEta",
601  "4D RecHit pull on #alpha_x direction vs "
602  "eta;#eta;(#alpha^{x}_{rec}-#alpha^{x}_{sim})/#sigma",
603  100,
604  -2.5,
605  2.5,
606  100,
607  -5,
608  5);
609  hPullAlphaVsPhi = booker.book2D(pre + "_hPullAlphaVsPhi",
610  "4D RecHit pull on #alpha_x direction vs phi (rad);#phi "
611  "(rad);(#alpha^{x}_{rec}-#alpha^{x}_{sim})/#sigma",
612  100,
613  -3.2,
614  3.2,
615  100,
616  -5,
617  5);
618  hPullBetaVsEta = booker.book2D(pre + "_hPullBetaVsEta",
619  "4D RecHit pull on beta direction vs "
620  "eta;#eta;(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
621  100,
622  -2.5,
623  2.5,
624  200,
625  -5,
626  5);
627  hPullBetaVsPhi = booker.book2D(pre + "_hPullBetaVsPhi",
628  "4D RecHit pull on beta direction vs phi;#phi "
629  "(rad);(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
630  100,
631  -3.2,
632  3.2,
633  200,
634  -5,
635  5);
636  hPullXVsEta = booker.book2D(pre + "_hPullXVsEta",
637  "4D RecHit pull on position (x) in chamber "
638  "vs eta;#eta;(x_{rec}-x_{sim})#sigma",
639  100,
640  -2.5,
641  2.5,
642  150,
643  -5,
644  5);
645  hPullXVsPhi = booker.book2D(pre + "_hPullXVsPhi",
646  "4D RecHit pull on position (x) in chamber "
647  "vs phi;#phi (rad);(x_{rec}-x_{sim})/#sigma",
648  100,
649  -3.2,
650  3.2,
651  150,
652  -5,
653  5);
654  hPullYVsEta = booker.book2D(pre + "_hPullYVsEta",
655  "4D RecHit pull on position (y) in chamber "
656  "vs eta;#eta;(y_{rec}-y_{sim})/#sigma",
657  100,
658  -2.5,
659  2.5,
660  150,
661  -5,
662  5);
663  hPullYVsPhi = booker.book2D(pre + "_hPullYVsPhi",
664  "4D RecHit pull on position (y) in chamber "
665  "vs phi;#phi (rad);(y_{rec}-y_{sim})/#sigma",
666  100,
667  -3.2,
668  3.2,
669  150,
670  -5,
671  5);
672  hPullBetaVsEtaRZ = booker.book2D(pre + "_hPullBetaVsEtaRZ",
673  "4D RecHit pull on beta direction vs eta;#eta in RZ "
674  "SL;(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
675  100,
676  -2.5,
677  2.5,
678  200,
679  -5,
680  5);
681  hPullBetaVsPhiRZ = booker.book2D(pre + "_hPullBetaVsPhiRZ",
682  "4D RecHit pull on beta direction vs phi in RZ SL;#phi "
683  "(rad);(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
684  100,
685  -3.2,
686  3.2,
687  200,
688  -5,
689  5);
690  hPullYVsEtaRZ = booker.book2D(pre + "_hPullYVsEtaRZ",
691  "4D RecHit pull on position (y) in chamber vs eta in "
692  "RZ SL;#eta;(y_{rec}-y_{sim})/#sigma",
693  100,
694  -2.5,
695  2.5,
696  150,
697  -5,
698  5);
699  hPullYVsPhiRZ = booker.book2D(pre + "_hPullYVsPhiRZ",
700  "4D RecHit pull on position (y) in chamber vs phi in "
701  "RZ SL;#phi (rad);(y_{rec}-y_{sim})/#sigma",
702  100,
703  -3.2,
704  3.2,
705  150,
706  -5,
707  5);
708  }
709  booker.setCurrentFolder("DT/4DSegments/Res/");
710  hResAlpha = booker.book1D(pre + "_hResAlpha",
711  "4D RecHit residual on #alpha_x "
712  "direction;#alpha^{x}_{rec}-#alpha^{x}_{sim} (rad)",
713  200,
714  -0.015,
715  0.015);
716 
717  hResBeta = booker.book1D(pre + "_hResBeta",
718  "4D RecHit residual on beta "
719  "direction;#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
720  200,
721  -0.1,
722  0.1);
723  hResX = booker.book1D(
724  pre + "_hResX", "4D RecHit residual on position (x) in chamber;x_{rec}-x_{sim} (cm)", 150, -0.15, 0.15);
725  hResY = booker.book1D(
726  pre + "_hResY", "4D RecHit residual on position (y) in chamber;y_{rec}-y_{sim} (cm)", 150, -0.6, 0.6);
727 
728  // histo in rz SL reference frame.
729  hResBetaRZ = booker.book1D(pre + "_hResBetaRZ",
730  "4D RecHit residual on beta direction in RZ "
731  "SL;#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
732  200,
733  -0.1,
734  0.1);
735 
736  hResYRZ = booker.book1D(pre + "_hResYRZ",
737  "4D RecHit residual on position (y) in chamber in "
738  "RZ SL;y_{rec}-y_{sim} (cm)",
739  150,
740  -0.15,
741  0.15);
742 
743  // Pulls
744  booker.setCurrentFolder("DT/4DSegments/Pull/");
745 
746  hPullAlpha = booker.book1D(pre + "_hPullAlpha",
747  "4D RecHit pull on #alpha_x "
748  "direction;(#alpha^{x}_{rec}-#alpha^{x}_{sim})/#sigma",
749  200,
750  -5,
751  5);
752  hPullBeta = booker.book1D(pre + "_hPullBeta",
753  "4D RecHit pull on beta "
754  "direction;(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
755  200,
756  -5,
757  5);
758 
759  hPullX =
760  booker.book1D(pre + "_hPullX", "4D RecHit pull on position (x) in chamber;(x_{rec}-x_{sim})#sigma", 150, -5, 5);
761 
762  hPullY = booker.book1D(
763  pre + "_hPullY", "4D RecHit pull on position (y) in chamber;(y_{rec}-y_{sim})/#sigma", 150, -5, 5);
764 
765  hPullBetaRZ = booker.book1D(pre + "_hPullBetaRZ",
766  "4D RecHit pull on beta direction in RZ "
767  "SL;(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
768  200,
769  -5,
770  5);
771 
772  hPullYRZ = booker.book1D(pre + "_hPullYRZ",
773  "4D RecHit pull on position (y) in chamber in RZ "
774  "SL;(y_{rec}-y_{sim})/#sigma",
775  150,
776  -5,
777  5);
778 
779  // NHits, t0
780  if (local_) {
781  booker.setCurrentFolder("DT/4DSegments/");
782  hHitMult = booker.book2D(pre + "_hNHits", "NHits", 12, 0, 12, 6, 0, 6);
783  ht0 = booker.book2D(pre + "_ht0", "t0", 200, -25, 25, 200, -25, 25);
784  }
785  }
dqm::reco::MonitorElement * hPullBetaRZ
Definition: Histograms.h:923
dqm::reco::MonitorElement * hResYRZ
Definition: Histograms.h:920
dqm::reco::MonitorElement * hResBetaVsPhi
Definition: Histograms.h:889
dqm::reco::MonitorElement * hRecAlpha
Definition: Histograms.h:878
dqm::reco::MonitorElement * hPullYVsPhiRZ
Definition: Histograms.h:928
dqm::reco::MonitorElement * hPullXVsPhi
Definition: Histograms.h:908
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
dqm::reco::MonitorElement * hResXVsEta
Definition: Histograms.h:891
dqm::reco::MonitorElement * hPullBetaVsPhi
Definition: Histograms.h:905
dqm::reco::MonitorElement * hRecVsSimBetaRZ
Definition: Histograms.h:916
dqm::reco::MonitorElement * hPullAlphaVsEta
Definition: Histograms.h:901
dqm::reco::MonitorElement * hResAlpha
Definition: Histograms.h:884
dqm::reco::MonitorElement * hResYVsEta
Definition: Histograms.h:894
dqm::reco::MonitorElement * hPullAlpha
Definition: Histograms.h:900
dqm::reco::MonitorElement * hSimBetaRZ
Definition: Histograms.h:915
dqm::reco::MonitorElement * hResYVsPhiRZ
Definition: Histograms.h:922
dqm::reco::MonitorElement * hResAlphaVsResBeta
Definition: Histograms.h:896
dqm::reco::MonitorElement * hPullBetaVsEta
Definition: Histograms.h:904
bool local_
Definition: Histograms.h:934
dqm::reco::MonitorElement * hRecVsSimBeta
Definition: Histograms.h:883
dqm::reco::MonitorElement * hResX
Definition: Histograms.h:890
dqm::reco::MonitorElement * hResY
Definition: Histograms.h:893
dqm::reco::MonitorElement * hResAlphaVsEta
Definition: Histograms.h:885
dqm::reco::MonitorElement * ht0
Definition: Histograms.h:931
dqm::reco::MonitorElement * hSimBeta
Definition: Histograms.h:881
dqm::reco::MonitorElement * hPullY
Definition: Histograms.h:909
dqm::reco::MonitorElement * hResBetaRZ
Definition: Histograms.h:917
dqm::reco::MonitorElement * hPullX
Definition: Histograms.h:906
dqm::reco::MonitorElement * hPullAlphaVsPhi
Definition: Histograms.h:902
dqm::reco::MonitorElement * hRecVsSimAlpha
Definition: Histograms.h:882
dqm::reco::MonitorElement * hPullBeta
Definition: Histograms.h:903
dqm::reco::MonitorElement * hPullYRZ
Definition: Histograms.h:926
dqm::reco::MonitorElement * hResYVsPhi
Definition: Histograms.h:895
dqm::reco::MonitorElement * hResBetaVsEtaRZ
Definition: Histograms.h:918
dqm::reco::MonitorElement * hResXVsPhi
Definition: Histograms.h:892
dqm::reco::MonitorElement * hResXVsResY
Definition: Histograms.h:897
dqm::reco::MonitorElement * hPullBetaVsPhiRZ
Definition: Histograms.h:925
dqm::reco::MonitorElement * hResAlphaVsResX
Definition: Histograms.h:898
dqm::reco::MonitorElement * hHitMult
Definition: Histograms.h:930
bool doall_
Definition: Histograms.h:933
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:177
dqm::reco::MonitorElement * hResAlphaVsResY
Definition: Histograms.h:899
dqm::reco::MonitorElement * hResYVsEtaRZ
Definition: Histograms.h:921
dqm::reco::MonitorElement * hResBetaVsPhiRZ
Definition: Histograms.h:919
dqm::reco::MonitorElement * hRecBetaRZ
Definition: Histograms.h:914
dqm::reco::MonitorElement * hResBeta
Definition: Histograms.h:887
dqm::reco::MonitorElement * hSimAlpha
Definition: Histograms.h:880
dqm::reco::MonitorElement * hPullYVsEta
Definition: Histograms.h:910
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
dqm::reco::MonitorElement * hPullYVsEtaRZ
Definition: Histograms.h:927
dqm::reco::MonitorElement * hResAlphaVsPhi
Definition: Histograms.h:886
dqm::reco::MonitorElement * hPullBetaVsEtaRZ
Definition: Histograms.h:924
dqm::reco::MonitorElement * hResBetaVsEta
Definition: Histograms.h:888
dqm::reco::MonitorElement * hPullYVsPhi
Definition: Histograms.h:911
dqm::reco::MonitorElement * hRecBeta
Definition: Histograms.h:879
dqm::reco::MonitorElement * hPullXVsEta
Definition: Histograms.h:907

Member Function Documentation

void HRes4DHit::fill ( float  simDirectionAlpha,
float  recDirectionAlpha,
float  simDirectionBeta,
float  recDirectionBeta,
float  simX,
float  recX,
float  simY,
float  recY,
float  simEta,
float  simPhi,
float  recYRZ,
float  simYRZ,
float  recBetaRZ,
float  simBetaRZ,
float  sigmaAlpha,
float  sigmaBeta,
float  sigmaX,
float  sigmaY,
float  sigmaBetaRZ,
float  sigmaYRZ,
int  nHitsPhi,
int  nHitsTheta,
float  t0Phi,
float  t0Theta 
)
inline

Definition at line 787 of file Histograms.h.

References doall_, dqm::impl::MonitorElement::Fill(), hHitMult, hPullAlpha, hPullAlphaVsEta, hPullAlphaVsPhi, hPullBeta, hPullBetaRZ, hPullBetaVsEta, hPullBetaVsEtaRZ, hPullBetaVsPhi, hPullBetaVsPhiRZ, hPullX, hPullXVsEta, hPullXVsPhi, hPullY, hPullYRZ, hPullYVsEta, hPullYVsEtaRZ, hPullYVsPhi, hPullYVsPhiRZ, hRecAlpha, hRecBeta, hRecBetaRZ, hRecVsSimAlpha, hRecVsSimBeta, hRecVsSimBetaRZ, hResAlpha, hResAlphaVsEta, hResAlphaVsPhi, hResAlphaVsResBeta, hResAlphaVsResX, hResAlphaVsResY, hResBeta, hResBetaRZ, hResBetaVsEta, hResBetaVsEtaRZ, hResBetaVsPhi, hResBetaVsPhiRZ, hResX, hResXVsEta, hResXVsPhi, hResXVsResY, hResY, hResYRZ, hResYVsEta, hResYVsEtaRZ, hResYVsPhi, hResYVsPhiRZ, hSimAlpha, hSimBeta, hSimBetaRZ, ht0, and local_.

Referenced by DTSegment4DQuality::dqmAnalyze().

810  {
811  float resAlpha = recDirectionAlpha - simDirectionAlpha;
812  hResAlpha->Fill(resAlpha);
813  hPullAlpha->Fill(resAlpha / sigmaAlpha);
814  float resBeta = recDirectionBeta - simDirectionBeta;
815  hResBeta->Fill(resBeta);
816  hPullBeta->Fill(resBeta / sigmaBeta);
817  float resX = recX - simX;
818  hResX->Fill(resX);
819  hPullX->Fill(resX / sigmaX);
820  float resY = recY - simY;
821  hResY->Fill(resY);
822  hPullY->Fill(resY / sigmaY);
823 
824  float resBetaRZ = recBetaRZ - simBetaRZ;
825  hResBetaRZ->Fill(resBetaRZ);
826  hPullBetaRZ->Fill(resBetaRZ / sigmaBetaRZ);
827  float resYRZ = recYRZ - simYRZ;
828  hResYRZ->Fill(resYRZ);
829  hPullYRZ->Fill(resYRZ / sigmaYRZ);
830  if (doall_) {
831  hRecAlpha->Fill(recDirectionAlpha);
832  hRecBeta->Fill(recDirectionBeta);
833  hSimAlpha->Fill(simDirectionAlpha);
834  hSimBeta->Fill(simDirectionBeta);
835  hRecVsSimAlpha->Fill(simDirectionAlpha, recDirectionAlpha);
836  hRecVsSimBeta->Fill(simDirectionBeta, recDirectionBeta);
837  hResAlphaVsEta->Fill(simEta, resAlpha);
838  hResAlphaVsPhi->Fill(simPhi, resAlpha);
839  hPullAlphaVsEta->Fill(simEta, resAlpha / sigmaAlpha);
840  hPullAlphaVsPhi->Fill(simPhi, resAlpha / sigmaAlpha);
841  hResBetaVsEta->Fill(simEta, resBeta);
842  hResBetaVsPhi->Fill(simPhi, resBeta);
843  hPullBetaVsEta->Fill(simEta, resBeta / sigmaBeta);
844  hPullBetaVsPhi->Fill(simPhi, resBeta / sigmaBeta);
845  hResXVsEta->Fill(simEta, resX);
846  hResXVsPhi->Fill(simPhi, resX);
847  hPullXVsEta->Fill(simEta, resX / sigmaX);
848  hPullXVsPhi->Fill(simPhi, resX / sigmaX);
849  hResYVsEta->Fill(simEta, resY);
850  hResYVsPhi->Fill(simPhi, resY);
851  hPullYVsEta->Fill(simEta, resY / sigmaY);
852  hPullYVsPhi->Fill(simPhi, resY / sigmaY);
853  hResAlphaVsResBeta->Fill(resBeta, resAlpha);
854  hResXVsResY->Fill(resY, resX);
855  hResAlphaVsResX->Fill(resX, resAlpha);
856  hResAlphaVsResY->Fill(resY, resAlpha);
857 
858  // RZ SuperLayer
859  hRecBetaRZ->Fill(recBetaRZ);
860  hSimBetaRZ->Fill(simBetaRZ);
861  hRecVsSimBetaRZ->Fill(simBetaRZ, recBetaRZ);
862  hResBetaVsEtaRZ->Fill(simEta, resBetaRZ);
863  hResBetaVsPhiRZ->Fill(simPhi, resBetaRZ);
864  hPullBetaVsEtaRZ->Fill(simEta, resBetaRZ / sigmaBetaRZ);
865  hPullBetaVsPhiRZ->Fill(simPhi, resBetaRZ / sigmaBetaRZ);
866  hResYVsEtaRZ->Fill(simEta, resYRZ);
867  hResYVsPhiRZ->Fill(simPhi, resYRZ);
868  hPullYVsEtaRZ->Fill(simEta, resYRZ / sigmaYRZ);
869  hPullYVsPhiRZ->Fill(simPhi, resYRZ / sigmaYRZ);
870  }
871  if (local_) {
872  hHitMult->Fill(nHitsPhi, nHitsTheta);
873  ht0->Fill(t0Phi, t0Theta);
874  }
875  }
dqm::reco::MonitorElement * hPullBetaRZ
Definition: Histograms.h:923
dqm::reco::MonitorElement * hResYRZ
Definition: Histograms.h:920
dqm::reco::MonitorElement * hResBetaVsPhi
Definition: Histograms.h:889
dqm::reco::MonitorElement * hRecAlpha
Definition: Histograms.h:878
dqm::reco::MonitorElement * hPullYVsPhiRZ
Definition: Histograms.h:928
dqm::reco::MonitorElement * hPullXVsPhi
Definition: Histograms.h:908
dqm::reco::MonitorElement * hResXVsEta
Definition: Histograms.h:891
dqm::reco::MonitorElement * hPullBetaVsPhi
Definition: Histograms.h:905
dqm::reco::MonitorElement * hRecVsSimBetaRZ
Definition: Histograms.h:916
dqm::reco::MonitorElement * hPullAlphaVsEta
Definition: Histograms.h:901
dqm::reco::MonitorElement * hResAlpha
Definition: Histograms.h:884
dqm::reco::MonitorElement * hResYVsEta
Definition: Histograms.h:894
dqm::reco::MonitorElement * hPullAlpha
Definition: Histograms.h:900
dqm::reco::MonitorElement * hSimBetaRZ
Definition: Histograms.h:915
dqm::reco::MonitorElement * hResYVsPhiRZ
Definition: Histograms.h:922
dqm::reco::MonitorElement * hResAlphaVsResBeta
Definition: Histograms.h:896
dqm::reco::MonitorElement * hPullBetaVsEta
Definition: Histograms.h:904
bool local_
Definition: Histograms.h:934
dqm::reco::MonitorElement * hRecVsSimBeta
Definition: Histograms.h:883
void Fill(long long x)
dqm::reco::MonitorElement * hResX
Definition: Histograms.h:890
dqm::reco::MonitorElement * hResY
Definition: Histograms.h:893
dqm::reco::MonitorElement * hResAlphaVsEta
Definition: Histograms.h:885
dqm::reco::MonitorElement * ht0
Definition: Histograms.h:931
dqm::reco::MonitorElement * hSimBeta
Definition: Histograms.h:881
dqm::reco::MonitorElement * hPullY
Definition: Histograms.h:909
dqm::reco::MonitorElement * hResBetaRZ
Definition: Histograms.h:917
dqm::reco::MonitorElement * hPullX
Definition: Histograms.h:906
dqm::reco::MonitorElement * hPullAlphaVsPhi
Definition: Histograms.h:902
dqm::reco::MonitorElement * hRecVsSimAlpha
Definition: Histograms.h:882
dqm::reco::MonitorElement * hPullBeta
Definition: Histograms.h:903
dqm::reco::MonitorElement * hPullYRZ
Definition: Histograms.h:926
dqm::reco::MonitorElement * hResYVsPhi
Definition: Histograms.h:895
dqm::reco::MonitorElement * hResBetaVsEtaRZ
Definition: Histograms.h:918
dqm::reco::MonitorElement * hResXVsPhi
Definition: Histograms.h:892
dqm::reco::MonitorElement * hResXVsResY
Definition: Histograms.h:897
dqm::reco::MonitorElement * hPullBetaVsPhiRZ
Definition: Histograms.h:925
dqm::reco::MonitorElement * hResAlphaVsResX
Definition: Histograms.h:898
dqm::reco::MonitorElement * hHitMult
Definition: Histograms.h:930
bool doall_
Definition: Histograms.h:933
dqm::reco::MonitorElement * hResAlphaVsResY
Definition: Histograms.h:899
dqm::reco::MonitorElement * hResYVsEtaRZ
Definition: Histograms.h:921
dqm::reco::MonitorElement * hResBetaVsPhiRZ
Definition: Histograms.h:919
dqm::reco::MonitorElement * hRecBetaRZ
Definition: Histograms.h:914
dqm::reco::MonitorElement * hResBeta
Definition: Histograms.h:887
dqm::reco::MonitorElement * hSimAlpha
Definition: Histograms.h:880
dqm::reco::MonitorElement * hPullYVsEta
Definition: Histograms.h:910
dqm::reco::MonitorElement * hPullYVsEtaRZ
Definition: Histograms.h:927
dqm::reco::MonitorElement * hResAlphaVsPhi
Definition: Histograms.h:886
dqm::reco::MonitorElement * hPullBetaVsEtaRZ
Definition: Histograms.h:924
dqm::reco::MonitorElement * hResBetaVsEta
Definition: Histograms.h:888
dqm::reco::MonitorElement * hPullYVsPhi
Definition: Histograms.h:911
dqm::reco::MonitorElement * hRecBeta
Definition: Histograms.h:879
dqm::reco::MonitorElement * hPullXVsEta
Definition: Histograms.h:907

Member Data Documentation

bool HRes4DHit::doall_
private

Definition at line 933 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hHitMult
private

Definition at line 930 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullAlpha
private

Definition at line 900 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullAlphaVsEta
private

Definition at line 901 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullAlphaVsPhi
private

Definition at line 902 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullBeta
private

Definition at line 903 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullBetaRZ
private

Definition at line 923 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullBetaVsEta
private

Definition at line 904 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullBetaVsEtaRZ
private

Definition at line 924 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullBetaVsPhi
private

Definition at line 905 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullBetaVsPhiRZ
private

Definition at line 925 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullX
private

Definition at line 906 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullXVsEta
private

Definition at line 907 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullXVsPhi
private

Definition at line 908 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullY
private

Definition at line 909 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullYRZ
private

Definition at line 926 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullYVsEta
private

Definition at line 910 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullYVsEtaRZ
private

Definition at line 927 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullYVsPhi
private

Definition at line 911 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hPullYVsPhiRZ
private

Definition at line 928 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hRecAlpha
private

Definition at line 878 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hRecBeta
private

Definition at line 879 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hRecBetaRZ
private

Definition at line 914 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hRecVsSimAlpha
private

Definition at line 882 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hRecVsSimBeta
private

Definition at line 883 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hRecVsSimBetaRZ
private

Definition at line 916 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResAlpha
private

Definition at line 884 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResAlphaVsEta
private

Definition at line 885 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResAlphaVsPhi
private

Definition at line 886 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResAlphaVsResBeta
private

Definition at line 896 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResAlphaVsResX
private

Definition at line 898 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResAlphaVsResY
private

Definition at line 899 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResBeta
private

Definition at line 887 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResBetaRZ
private

Definition at line 917 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResBetaVsEta
private

Definition at line 888 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResBetaVsEtaRZ
private

Definition at line 918 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResBetaVsPhi
private

Definition at line 889 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResBetaVsPhiRZ
private

Definition at line 919 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResX
private

Definition at line 890 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResXVsEta
private

Definition at line 891 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResXVsPhi
private

Definition at line 892 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResXVsResY
private

Definition at line 897 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResY
private

Definition at line 893 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResYRZ
private

Definition at line 920 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResYVsEta
private

Definition at line 894 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResYVsEtaRZ
private

Definition at line 921 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResYVsPhi
private

Definition at line 895 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hResYVsPhiRZ
private

Definition at line 922 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hSimAlpha
private

Definition at line 880 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hSimBeta
private

Definition at line 881 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::hSimBetaRZ
private

Definition at line 915 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

dqm::reco::MonitorElement* HRes4DHit::ht0
private

Definition at line 931 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

bool HRes4DHit::local_
private

Definition at line 934 of file Histograms.h.

Referenced by fill(), and HRes4DHit().

std::string HRes4DHit::name_
private

Definition at line 935 of file Histograms.h.