CMS 3D CMS Logo

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

#include <Histograms.h>

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)
 
 HRes4DHit (std::string name_, DQMStore *dbe_, bool doall=true, bool local=true)
 

Public Attributes

bool _doall
 
MonitorElementhPullAlpha
 
MonitorElementhPullAlphaVsEta
 
MonitorElementhPullAlphaVsPhi
 
MonitorElementhPullBeta
 
MonitorElementhPullBetaRZ
 
MonitorElementhPullBetaVsEta
 
MonitorElementhPullBetaVsEtaRZ
 
MonitorElementhPullBetaVsPhi
 
MonitorElementhPullBetaVsPhiRZ
 
MonitorElementhPullX
 
MonitorElementhPullXVsEta
 
MonitorElementhPullXVsPhi
 
MonitorElementhPullY
 
MonitorElementhPullYRZ
 
MonitorElementhPullYVsEta
 
MonitorElementhPullYVsEtaRZ
 
MonitorElementhPullYVsPhi
 
MonitorElementhPullYVsPhiRZ
 
MonitorElementhRecAlpha
 
MonitorElementhRecBeta
 
MonitorElementhRecBetaRZ
 
MonitorElementhRecVsSimAlpha
 
MonitorElementhRecVsSimBeta
 
MonitorElementhRecVsSimBetaRZ
 
MonitorElementhResAlpha
 
MonitorElementhResAlphaVsEta
 
MonitorElementhResAlphaVsPhi
 
MonitorElementhResAlphaVsResBeta
 
MonitorElementhResAlphaVsResX
 
MonitorElementhResAlphaVsResY
 
MonitorElementhResBeta
 
MonitorElementhResBetaRZ
 
MonitorElementhResBetaVsEta
 
MonitorElementhResBetaVsEtaRZ
 
MonitorElementhResBetaVsPhi
 
MonitorElementhResBetaVsPhiRZ
 
MonitorElementhResX
 
MonitorElementhResXVsEta
 
MonitorElementhResXVsPhi
 
MonitorElementhResXVsResY
 
MonitorElementhResY
 
MonitorElementhResYRZ
 
MonitorElementhResYVsEta
 
MonitorElementhResYVsEtaRZ
 
MonitorElementhResYVsPhi
 
MonitorElementhResYVsPhiRZ
 
MonitorElementhSimAlpha
 
MonitorElementhSimBeta
 
MonitorElementhSimBetaRZ
 
TString name
 

Detailed Description

Definition at line 669 of file Histograms.h.

Constructor & Destructor Documentation

HRes4DHit::HRes4DHit ( std::string  name_,
DQMStore dbe_,
bool  doall = true,
bool  local = true 
)
inline

Definition at line 671 of file Histograms.h.

References _doall, DQMStore::book1D(), DQMStore::book2D(), 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, DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.

671  {
672  std::string pre ="4D_";
673  pre += name_;
674  _doall = doall;
675 
676  if(local) dbe_->setCurrentFolder("DT/4DSegments/");
677  else dbe_->setCurrentFolder("DT/4DSegments/Res/");
678  if(doall){
679  hRecAlpha=0;hRecAlpha = dbe_->book1D (pre+"_hRecAlpha", "4D RecHit alpha (RPhi) distribution;#alpha^{x} (rad)", 100, -3.5, 3.5);
680  hRecBeta=0;hRecBeta = dbe_->book1D (pre+"_hRecBeta", "4D RecHit beta distribution:#alpha^{y} (rad)", 100, -3.5, 3.5);
681 
682  hSimAlpha=0;hSimAlpha = dbe_->book1D(pre+"_hSimAlpha", "4D segment from SimHit alpha (RPhi) distribution;i#alpha^{x} (rad)",
683  100, -3.5, 3.5);
684  hSimBeta=0;hSimBeta = dbe_->book1D(pre+"_hSimBeta", "4D segment from SimHit beta distribution;#alpha^{y} (rad)",
685  100, -3.5, 3.5);
686  hRecVsSimAlpha=0;hRecVsSimAlpha = dbe_->book2D(pre+"_hRecVsSimAlpha", "4D segment rec alpha {v}s sim alpha (RPhi);#alpha^{x} (rad)",
687  100, -3.5, 3.5, 100, -3.5, 3.5);
688  hRecVsSimBeta=0;hRecVsSimBeta = dbe_->book2D(pre+"_hRecVsSimBeta", "4D segment rec beta vs sim beta (RZ);#alpha^{y} (rad)",
689  100, -3.5, 3.5, 100, -3.5, 3.5);
690 
691  hResAlphaVsEta=0;hResAlphaVsEta = dbe_->book2D (pre+"_hResAlphaVsEta",
692  "4D RecHit residual on #alpha_x direction vs eta;#eta;#alpha^{x}_{rec}-#alpha^{x}_{sim} (rad)",
693  100, -2.5, 2.5, 100, -0.025, 0.025);
694  hResAlphaVsPhi=0;hResAlphaVsPhi = dbe_->book2D (pre+"_hResAlphaVsPhi",
695  "4D RecHit residual on #alpha_x direction vs phi (rad);#phi (rad);#alpha^{x}_{rec}-#alpha^{x}_{sim} (rad)",
696  100, -3.2, 3.2, 100, -0.025, 0.025);
697  hResBetaVsEta=0;hResBetaVsEta = dbe_->book2D (pre+"_hResBetaVsEta",
698  "4D RecHit residual on beta direction vs eta;#eta;#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
699  100, -2.5, 2.5, 200, -0.2, 0.2);
700  hResBetaVsPhi=0;hResBetaVsPhi = dbe_->book2D (pre+"_hResBetaVsPhi",
701  "4D RecHit residual on beta direction vs phi;#phi (rad);#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
702  100, -3.2, 3.2, 200, -0.2, 0.2);
703 
704  hResXVsEta=0;hResXVsEta = dbe_->book2D (pre+"_hResXVsEta", "4D RecHit residual on position (x) in chamber vs eta;#eta;x_{rec}-x_{sim} (cm)",
705  100, -2.5, 2.5, 150, -0.3, 0.3);
706  hResXVsPhi=0;hResXVsPhi= dbe_->book2D (pre+"_hResXVsPhi", "4D RecHit residual on position (x) in chamber vs phi;#phi (rad);x_{rec}-x_{sim} (cm)",
707  100, -3.2, 3.2, 150, -0.3, 0.3);
708 
709  hResYVsEta=0;hResYVsEta = dbe_->book2D (pre+"_hResYVsEta", "4D RecHit residual on position (y) in chamber vs eta;#eta;y_{rec}-y_{sim} (cm)",
710  100, -2.5, 2.5, 150, -0.6, 0.6);
711  hResYVsPhi=0;hResYVsPhi = dbe_->book2D (pre+"_hResYVsPhi", "4D RecHit residual on position (y) in chamber vs phi;#phi (rad);y_{rec}-y_{sim} (cm)",
712  100, -3.2, 3.2, 150, -0.6, 0.6);
713 
714  hResAlphaVsResBeta=0;hResAlphaVsResBeta = dbe_->book2D(pre+"_hResAlphaVsResBeta", "4D RecHit residual on alpha vs residual on beta",
715  200, -0.3, 0.3, 500, -0.15, 0.15);
716  hResXVsResY=0;hResXVsResY= dbe_->book2D(pre+"_hResXVsResY", "4D RecHit residual on X vs residual on Y",
717  150, -0.6, 0.6, 50, -0.3, 0.3);
718  hResAlphaVsResX=0;hResAlphaVsResX = dbe_->book2D(pre+"_hResAlphaVsResX", "4D RecHit residual on alpha vs residual on x",
719  150, -0.3, 0.3, 500, -0.15, 0.15);
720 
721  hResAlphaVsResY=0;hResAlphaVsResY = dbe_->book2D(pre+"_hResAlphaVsResY", "4D RecHit residual on alpha vs residual on y",
722  150, -0.6, 0.6, 500, -0.15, 0.15);
723 
724  hRecBetaRZ=0;hRecBetaRZ = dbe_->book1D (pre+"_hRecBetaRZ", "4D RecHit beta distribution:#alpha^{y} (rad)", 100, -3.5, 3.5);
725 
726  hSimBetaRZ=0;hSimBetaRZ = dbe_->book1D(pre+"_hSimBetaRZ", "4D segment from SimHit beta distribution in RZ SL;#alpha^{y} (rad)",
727  100, -3.5, 3.5);
728  hRecVsSimBetaRZ=0;hRecVsSimBetaRZ = dbe_->book2D(pre+"_hRecVsSimBetaRZ", "4D segment rec beta vs sim beta (RZ) in RZ SL;#alpha^{y} (rad)",
729  100, -3.5, 3.5, 100, -3.5, 3.5);
730 
731  hResBetaVsEtaRZ=0;hResBetaVsEtaRZ = dbe_->book2D (pre+"_hResBetaVsEtaRZ",
732  "4D RecHit residual on beta direction vs eta;#eta in RZ SL;#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
733  100, -2.5, 2.5, 200, -0.2, 0.2);
734  hResBetaVsPhiRZ=0;hResBetaVsPhiRZ = dbe_->book2D (pre+"_hResBetaVsPhiRZ",
735  "4D RecHit residual on beta direction vs phi in RZ SL;#phi (rad);#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
736  100, -3.2, 3.2, 200, -0.2, 0.2);
737  hResYVsEtaRZ=0;hResYVsEtaRZ = dbe_->book2D (pre+"_hResYVsEtaRZ",
738  "4D RecHit residual on position (y) in chamber vs eta in RZ SL;#eta;y_{rec}-y_{sim} (cm)",
739  100, -2.5, 2.5, 150, -0.6, 0.6);
740  hResYVsPhiRZ=0;hResYVsPhiRZ = dbe_->book2D (pre+"_hResYVsPhiRZ",
741  "4D RecHit residual on position (y) in chamber vs phi in RZ SL;#phi (rad);y_{rec}-y_{sim} (cm)",
742  100, -3.2, 3.2, 150, -0.6, 0.6);
743  if(!local) dbe_->setCurrentFolder("DT/4DSegments/Pull/");
744  hPullAlphaVsEta=0;hPullAlphaVsEta = dbe_->book2D (pre+"_hPullAlphaVsEta",
745  "4D RecHit pull on #alpha_x direction vs eta;#eta;(#alpha^{x}_{rec}-#alpha^{x}_{sim})/#sigma",
746  100, -2.5, 2.5, 100, -5, 5);
747  hPullAlphaVsPhi=0;hPullAlphaVsPhi = dbe_->book2D (pre+"_hPullAlphaVsPhi",
748  "4D RecHit pull on #alpha_x direction vs phi (rad);#phi (rad);(#alpha^{x}_{rec}-#alpha^{x}_{sim})/#sigma",
749  100, -3.2, 3.2, 100, -5, 5);
750  hPullBetaVsEta=0;hPullBetaVsEta = dbe_->book2D (pre+"_hPullBetaVsEta",
751  "4D RecHit pull on beta direction vs eta;#eta;(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
752  100, -2.5, 2.5, 200, -5, 5);
753  hPullBetaVsPhi=0;hPullBetaVsPhi = dbe_->book2D (pre+"_hPullBetaVsPhi",
754  "4D RecHit pull on beta direction vs phi;#phi (rad);(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
755  100, -3.2, 3.2, 200, -5, 5);
756  hPullXVsEta=0;hPullXVsEta = dbe_->book2D (pre+"_hPullXVsEta",
757  "4D RecHit pull on position (x) in chamber vs eta;#eta;(x_{rec}-x_{sim})#sigma",
758  100, -2.5, 2.5, 150, -5, 5);
759  hPullXVsPhi=0;hPullXVsPhi = dbe_->book2D (pre+"_hPullXVsPhi",
760  "4D RecHit pull on position (x) in chamber vs phi;#phi (rad);(x_{rec}-x_{sim})/#sigma",
761  100, -3.2, 3.2, 150, -5, 5);
762  hPullYVsEta=0;hPullYVsEta = dbe_->book2D (pre+"_hPullYVsEta",
763  "4D RecHit pull on position (y) in chamber vs eta;#eta;(y_{rec}-y_{sim})/#sigma",
764  100, -2.5, 2.5, 150, -5, 5);
765  hPullYVsPhi=0;hPullYVsPhi = dbe_->book2D (pre+"_hPullYVsPhi",
766  "4D RecHit pull on position (y) in chamber vs phi;#phi (rad);(y_{rec}-y_{sim})/#sigma",
767  100, -3.2, 3.2, 150, -5, 5);
768  hPullBetaVsEtaRZ=0;hPullBetaVsEtaRZ = dbe_->book2D (pre+"_hPullBetaVsEtaRZ",
769  "4D RecHit pull on beta direction vs eta;#eta in RZ SL;(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
770  100, -2.5, 2.5, 200, -5, 5);
771  hPullBetaVsPhiRZ=0;hPullBetaVsPhiRZ = dbe_->book2D (pre+"_hPullBetaVsPhiRZ",
772  "4D RecHit pull on beta direction vs phi in RZ SL;#phi (rad);(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
773  100, -3.2, 3.2, 200, -5, 5);
774  hPullYVsEtaRZ=0;hPullYVsEtaRZ = dbe_->book2D (pre+"_hPullYVsEtaRZ",
775  "4D RecHit pull on position (y) in chamber vs eta in RZ SL;#eta;(y_{rec}-y_{sim})/#sigma",
776  100, -2.5, 2.5, 150, -5, 5);
777  hPullYVsPhiRZ=0;hPullYVsPhiRZ = dbe_->book2D (pre+"_hPullYVsPhiRZ",
778  "4D RecHit pull on position (y) in chamber vs phi in RZ SL;#phi (rad);(y_{rec}-y_{sim})/#sigma",
779  100, -3.2, 3.2, 150, -5, 5);
780 
781  }
782  if(!local) dbe_->setCurrentFolder("DT/4DSegments/Res/");
783  hResAlpha=0;hResAlpha = dbe_->book1D (pre+"_hResAlpha",
784  "4D RecHit residual on #alpha_x direction;#alpha^{x}_{rec}-#alpha^{x}_{sim} (rad)",
785  200, -0.015, 0.015);
786 
787  hResBeta=0;hResBeta = dbe_->book1D (pre+"_hResBeta",
788  "4D RecHit residual on beta direction;#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
789  200, -0.1, 0.1);
790  hResX=0;hResX = dbe_->book1D (pre+"_hResX", "4D RecHit residual on position (x) in chamber;x_{rec}-x_{sim} (cm)",
791  150, -0.15, 0.15);
792  hResY=0;hResY = dbe_->book1D (pre+"_hResY", "4D RecHit residual on position (y) in chamber;y_{rec}-y_{sim} (cm)", 150, -0.6, 0.6);
793 
794  // histo in rz SL reference frame.
795 
796  hResBetaRZ=0;hResBetaRZ = dbe_->book1D (pre+"_hResBetaRZ",
797  "4D RecHit residual on beta direction in RZ SL;#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
798  200, -0.1, 0.1);
799 
800  hResYRZ=0;hResYRZ = dbe_->book1D (pre+"_hResYRZ",
801  "4D RecHit residual on position (y) in chamber in RZ SL;y_{rec}-y_{sim} (cm)",
802  150, -0.15, 0.15);
803 
804  // Pulls
805  // Pulls
806  if(!local) dbe_->setCurrentFolder("DT/4DSegments/Pull/");
807 
808  hPullAlpha=0;hPullAlpha = dbe_->book1D (pre+"_hPullAlpha",
809  "4D RecHit pull on #alpha_x direction;(#alpha^{x}_{rec}-#alpha^{x}_{sim})/#sigma",
810  200, -5, 5);
811  hPullBeta=0;hPullBeta = dbe_->book1D (pre+"_hPullBeta",
812  "4D RecHit pull on beta direction;(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
813  200, -5, 5);
814 
815  hPullX=0;hPullX = dbe_->book1D (pre+"_hPullX",
816  "4D RecHit pull on position (x) in chamber;(x_{rec}-x_{sim})#sigma",
817  150, -5, 5);
818 
819  hPullY=0;hPullY = dbe_->book1D (pre+"_hPullY",
820  "4D RecHit pull on position (y) in chamber;(y_{rec}-y_{sim})/#sigma", 150, -5, 5);
821 
822  hPullBetaRZ=0;hPullBetaRZ = dbe_->book1D (pre+"_hPullBetaRZ",
823  "4D RecHit pull on beta direction in RZ SL;(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
824  200, -5, 5);
825 
826  hPullYRZ=0;hPullYRZ = dbe_->book1D (pre+"_hPullYRZ",
827  "4D RecHit pull on position (y) in chamber in RZ SL;(y_{rec}-y_{sim})/#sigma",
828  150, -5, 5);
829  }
MonitorElement * hPullAlpha
Definition: Histograms.h:1076
MonitorElement * hSimAlpha
Definition: Histograms.h:1049
MonitorElement * hResBetaVsPhi
Definition: Histograms.h:1061
MonitorElement * hResYVsEta
Definition: Histograms.h:1068
MonitorElement * hResYRZ
Definition: Histograms.h:1103
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:722
MonitorElement * hResX
Definition: Histograms.h:1063
MonitorElement * hRecVsSimBeta
Definition: Histograms.h:1053
MonitorElement * hResY
Definition: Histograms.h:1067
MonitorElement * hResBeta
Definition: Histograms.h:1059
MonitorElement * hResAlphaVsResX
Definition: Histograms.h:1073
MonitorElement * hPullXVsEta
Definition: Histograms.h:1085
MonitorElement * hResXVsEta
Definition: Histograms.h:1064
MonitorElement * hResAlphaVsEta
Definition: Histograms.h:1056
MonitorElement * hSimBetaRZ
Definition: Histograms.h:1095
MonitorElement * hPullBeta
Definition: Histograms.h:1080
MonitorElement * hResAlphaVsPhi
Definition: Histograms.h:1057
MonitorElement * hResBetaVsEtaRZ
Definition: Histograms.h:1100
MonitorElement * hPullBetaVsEtaRZ
Definition: Histograms.h:1108
MonitorElement * hPullYVsPhi
Definition: Histograms.h:1090
MonitorElement * hResBetaVsEta
Definition: Histograms.h:1060
MonitorElement * hRecAlpha
Definition: Histograms.h:1046
MonitorElement * hResBetaRZ
Definition: Histograms.h:1099
MonitorElement * hResYVsPhi
Definition: Histograms.h:1069
MonitorElement * hResBetaVsPhiRZ
Definition: Histograms.h:1101
MonitorElement * hRecVsSimBetaRZ
Definition: Histograms.h:1097
MonitorElement * hResAlphaVsResBeta
Definition: Histograms.h:1071
MonitorElement * hPullBetaVsPhiRZ
Definition: Histograms.h:1109
MonitorElement * hRecBeta
Definition: Histograms.h:1047
MonitorElement * hRecVsSimAlpha
Definition: Histograms.h:1052
MonitorElement * hSimBeta
Definition: Histograms.h:1050
MonitorElement * hPullAlphaVsPhi
Definition: Histograms.h:1078
MonitorElement * hResYVsPhiRZ
Definition: Histograms.h:1105
MonitorElement * hRecBetaRZ
Definition: Histograms.h:1093
MonitorElement * hPullYVsPhiRZ
Definition: Histograms.h:1113
MonitorElement * hPullBetaVsPhi
Definition: Histograms.h:1082
MonitorElement * hPullYVsEta
Definition: Histograms.h:1089
MonitorElement * hPullYRZ
Definition: Histograms.h:1111
MonitorElement * hPullAlphaVsEta
Definition: Histograms.h:1077
MonitorElement * hPullYVsEtaRZ
Definition: Histograms.h:1112
MonitorElement * hPullBetaRZ
Definition: Histograms.h:1107
MonitorElement * hResAlpha
Definition: Histograms.h:1055
MonitorElement * hResXVsResY
Definition: Histograms.h:1072
MonitorElement * hResYVsEtaRZ
Definition: Histograms.h:1104
MonitorElement * hResXVsPhi
Definition: Histograms.h:1065
MonitorElement * hPullY
Definition: Histograms.h:1088
bool _doall
Definition: Histograms.h:1114
MonitorElement * hPullXVsPhi
Definition: Histograms.h:1086
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:850
MonitorElement * hResAlphaVsResY
Definition: Histograms.h:1074
MonitorElement * hPullBetaVsEta
Definition: Histograms.h:1081
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:434
MonitorElement * hPullX
Definition: Histograms.h:1084

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 
)
inline

Definition at line 907 of file Histograms.h.

References _doall, MonitorElement::Fill(), 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, and hSimBetaRZ.

Referenced by DTSegment4DQuality::analyze().

927  {
928  float resAlpha = recDirectionAlpha - simDirectionAlpha;
929  hResAlpha->Fill(resAlpha);
930  hPullAlpha->Fill(resAlpha/sigmaAlpha);
931  float resBeta = recDirectionBeta - simDirectionBeta;
932  hResBeta->Fill(resBeta);
933  hPullBeta->Fill(resBeta/sigmaBeta);
934  float resX = recX - simX;
935  hResX->Fill(resX);
936  hPullX->Fill(resX/sigmaX);
937  float resY = recY - simY;
938  hResY->Fill(resY);
939  hPullY->Fill(resY/sigmaY);
940 
941 
942  float resBetaRZ = recBetaRZ - simBetaRZ;
943  hResBetaRZ->Fill(resBetaRZ);
944  hPullBetaRZ->Fill(resBetaRZ/sigmaBetaRZ);
945  float resYRZ = recYRZ - simYRZ;
946  hResYRZ->Fill(resYRZ);
947  hPullYRZ->Fill(resYRZ/sigmaYRZ);
948  if(_doall){
949  hRecAlpha->Fill(recDirectionAlpha);
950  hRecBeta->Fill(recDirectionBeta);
951  hSimAlpha->Fill(simDirectionAlpha);
952  hSimBeta->Fill(simDirectionBeta);
953  hRecVsSimAlpha->Fill(simDirectionAlpha, recDirectionAlpha);
954  hRecVsSimBeta->Fill(simDirectionBeta, recDirectionBeta);
955  hResAlphaVsEta->Fill(simEta, resAlpha);
956  hResAlphaVsPhi->Fill(simPhi, resAlpha);
957  hPullAlphaVsEta->Fill(simEta, resAlpha/sigmaAlpha);
958  hPullAlphaVsPhi->Fill(simPhi, resAlpha/sigmaAlpha);
959  hResBetaVsEta->Fill(simEta, resBeta);
960  hResBetaVsPhi->Fill(simPhi, resBeta);
961  hPullBetaVsEta->Fill(simEta, resBeta/sigmaBeta);
962  hPullBetaVsPhi->Fill(simPhi, resBeta/sigmaBeta);
963  hResXVsEta->Fill(simEta, resX);
964  hResXVsPhi->Fill(simPhi, resX);
965  hPullXVsEta->Fill(simEta, resX/sigmaX);
966  hPullXVsPhi->Fill(simPhi, resX/sigmaX);
967  hResYVsEta->Fill(simEta, resY);
968  hResYVsPhi->Fill(simPhi, resY);
969  hPullYVsEta->Fill(simEta, resY/sigmaY);
970  hPullYVsPhi->Fill(simPhi, resY/sigmaY);
971  hResAlphaVsResBeta->Fill(resBeta, resAlpha);
972  hResXVsResY->Fill(resY, resX);
973  hResAlphaVsResX->Fill(resX, resAlpha);
974  hResAlphaVsResY->Fill(resY, resAlpha);
975  // RZ SuperLayer
976  hRecBetaRZ->Fill(recBetaRZ);
977  hSimBetaRZ->Fill(simBetaRZ);
978  hRecVsSimBetaRZ->Fill(simBetaRZ, recBetaRZ);
979  hResBetaVsEtaRZ->Fill(simEta, resBetaRZ);
980  hResBetaVsPhiRZ->Fill(simPhi, resBetaRZ);
981  hPullBetaVsEtaRZ->Fill(simEta, resBetaRZ/sigmaBetaRZ);
982  hPullBetaVsPhiRZ->Fill(simPhi, resBetaRZ/sigmaBetaRZ);
983  hResYVsEtaRZ->Fill(simEta, resYRZ);
984  hResYVsPhiRZ->Fill(simPhi, resYRZ);
985  hPullYVsEtaRZ->Fill(simEta, resYRZ/sigmaYRZ);
986  hPullYVsPhiRZ->Fill(simPhi, resYRZ/sigmaYRZ);
987  }
988  }
MonitorElement * hPullAlpha
Definition: Histograms.h:1076
MonitorElement * hSimAlpha
Definition: Histograms.h:1049
MonitorElement * hResBetaVsPhi
Definition: Histograms.h:1061
MonitorElement * hResYVsEta
Definition: Histograms.h:1068
MonitorElement * hResYRZ
Definition: Histograms.h:1103
MonitorElement * hResX
Definition: Histograms.h:1063
MonitorElement * hRecVsSimBeta
Definition: Histograms.h:1053
MonitorElement * hResY
Definition: Histograms.h:1067
MonitorElement * hResBeta
Definition: Histograms.h:1059
MonitorElement * hResAlphaVsResX
Definition: Histograms.h:1073
MonitorElement * hPullXVsEta
Definition: Histograms.h:1085
MonitorElement * hResXVsEta
Definition: Histograms.h:1064
MonitorElement * hResAlphaVsEta
Definition: Histograms.h:1056
MonitorElement * hSimBetaRZ
Definition: Histograms.h:1095
MonitorElement * hPullBeta
Definition: Histograms.h:1080
MonitorElement * hResAlphaVsPhi
Definition: Histograms.h:1057
void Fill(long long x)
MonitorElement * hResBetaVsEtaRZ
Definition: Histograms.h:1100
MonitorElement * hPullBetaVsEtaRZ
Definition: Histograms.h:1108
MonitorElement * hPullYVsPhi
Definition: Histograms.h:1090
MonitorElement * hResBetaVsEta
Definition: Histograms.h:1060
MonitorElement * hRecAlpha
Definition: Histograms.h:1046
MonitorElement * hResBetaRZ
Definition: Histograms.h:1099
MonitorElement * hResYVsPhi
Definition: Histograms.h:1069
MonitorElement * hResBetaVsPhiRZ
Definition: Histograms.h:1101
MonitorElement * hRecVsSimBetaRZ
Definition: Histograms.h:1097
MonitorElement * hResAlphaVsResBeta
Definition: Histograms.h:1071
MonitorElement * hPullBetaVsPhiRZ
Definition: Histograms.h:1109
MonitorElement * hRecBeta
Definition: Histograms.h:1047
MonitorElement * hRecVsSimAlpha
Definition: Histograms.h:1052
MonitorElement * hSimBeta
Definition: Histograms.h:1050
MonitorElement * hPullAlphaVsPhi
Definition: Histograms.h:1078
MonitorElement * hResYVsPhiRZ
Definition: Histograms.h:1105
MonitorElement * hRecBetaRZ
Definition: Histograms.h:1093
MonitorElement * hPullYVsPhiRZ
Definition: Histograms.h:1113
MonitorElement * hPullBetaVsPhi
Definition: Histograms.h:1082
MonitorElement * hPullYVsEta
Definition: Histograms.h:1089
MonitorElement * hPullYRZ
Definition: Histograms.h:1111
MonitorElement * hPullAlphaVsEta
Definition: Histograms.h:1077
MonitorElement * hPullYVsEtaRZ
Definition: Histograms.h:1112
MonitorElement * hPullBetaRZ
Definition: Histograms.h:1107
MonitorElement * hResAlpha
Definition: Histograms.h:1055
MonitorElement * hResXVsResY
Definition: Histograms.h:1072
MonitorElement * hResYVsEtaRZ
Definition: Histograms.h:1104
MonitorElement * hResXVsPhi
Definition: Histograms.h:1065
MonitorElement * hPullY
Definition: Histograms.h:1088
bool _doall
Definition: Histograms.h:1114
MonitorElement * hPullXVsPhi
Definition: Histograms.h:1086
MonitorElement * hResAlphaVsResY
Definition: Histograms.h:1074
MonitorElement * hPullBetaVsEta
Definition: Histograms.h:1081
MonitorElement * hPullX
Definition: Histograms.h:1084

Member Data Documentation

bool HRes4DHit::_doall

Definition at line 1114 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullAlpha

Definition at line 1076 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullAlphaVsEta

Definition at line 1077 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullAlphaVsPhi

Definition at line 1078 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullBeta

Definition at line 1080 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullBetaRZ

Definition at line 1107 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullBetaVsEta

Definition at line 1081 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullBetaVsEtaRZ

Definition at line 1108 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullBetaVsPhi

Definition at line 1082 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullBetaVsPhiRZ

Definition at line 1109 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullX

Definition at line 1084 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullXVsEta

Definition at line 1085 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullXVsPhi

Definition at line 1086 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullY

Definition at line 1088 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullYRZ

Definition at line 1111 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullYVsEta

Definition at line 1089 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullYVsEtaRZ

Definition at line 1112 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullYVsPhi

Definition at line 1090 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullYVsPhiRZ

Definition at line 1113 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hRecAlpha

Definition at line 1046 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hRecBeta

Definition at line 1047 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hRecBetaRZ

Definition at line 1093 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hRecVsSimAlpha

Definition at line 1052 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hRecVsSimBeta

Definition at line 1053 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hRecVsSimBetaRZ

Definition at line 1097 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResAlpha

Definition at line 1055 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResAlphaVsEta

Definition at line 1056 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResAlphaVsPhi

Definition at line 1057 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResAlphaVsResBeta

Definition at line 1071 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResAlphaVsResX

Definition at line 1073 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResAlphaVsResY

Definition at line 1074 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResBeta

Definition at line 1059 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResBetaRZ

Definition at line 1099 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResBetaVsEta

Definition at line 1060 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResBetaVsEtaRZ

Definition at line 1100 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResBetaVsPhi

Definition at line 1061 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResBetaVsPhiRZ

Definition at line 1101 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResX

Definition at line 1063 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResXVsEta

Definition at line 1064 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResXVsPhi

Definition at line 1065 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResXVsResY

Definition at line 1072 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResY

Definition at line 1067 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResYRZ

Definition at line 1103 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResYVsEta

Definition at line 1068 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResYVsEtaRZ

Definition at line 1104 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResYVsPhi

Definition at line 1069 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResYVsPhiRZ

Definition at line 1105 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hSimAlpha

Definition at line 1049 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hSimBeta

Definition at line 1050 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hSimBetaRZ

Definition at line 1095 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

TString HRes4DHit::name