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 666 of file Histograms.h.

Constructor & Destructor Documentation

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

Definition at line 668 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, and DQMStore::setCurrentFolder().

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

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 903 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().

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

Member Data Documentation

bool HRes4DHit::_doall

Definition at line 1110 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullAlpha

Definition at line 1072 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullAlphaVsEta

Definition at line 1073 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullAlphaVsPhi

Definition at line 1074 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullBeta

Definition at line 1076 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullBetaRZ

Definition at line 1103 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullBetaVsEta

Definition at line 1077 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullBetaVsEtaRZ

Definition at line 1104 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullBetaVsPhi

Definition at line 1078 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullBetaVsPhiRZ

Definition at line 1105 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullX

Definition at line 1080 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullXVsEta

Definition at line 1081 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullXVsPhi

Definition at line 1082 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullY

Definition at line 1084 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullYRZ

Definition at line 1107 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullYVsEta

Definition at line 1085 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullYVsEtaRZ

Definition at line 1108 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullYVsPhi

Definition at line 1086 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hPullYVsPhiRZ

Definition at line 1109 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hRecAlpha

Definition at line 1042 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hRecBeta

Definition at line 1043 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hRecBetaRZ

Definition at line 1089 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hRecVsSimAlpha

Definition at line 1048 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hRecVsSimBeta

Definition at line 1049 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hRecVsSimBetaRZ

Definition at line 1093 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResAlpha

Definition at line 1051 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResAlphaVsEta

Definition at line 1052 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResAlphaVsPhi

Definition at line 1053 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResAlphaVsResBeta

Definition at line 1067 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResAlphaVsResX

Definition at line 1069 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResAlphaVsResY

Definition at line 1070 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResBeta

Definition at line 1055 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResBetaRZ

Definition at line 1095 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResBetaVsEta

Definition at line 1056 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResBetaVsEtaRZ

Definition at line 1096 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResBetaVsPhi

Definition at line 1057 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResBetaVsPhiRZ

Definition at line 1097 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResX

Definition at line 1059 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResXVsEta

Definition at line 1060 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResXVsPhi

Definition at line 1061 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResXVsResY

Definition at line 1068 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResY

Definition at line 1063 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResYRZ

Definition at line 1099 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResYVsEta

Definition at line 1064 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResYVsEtaRZ

Definition at line 1100 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResYVsPhi

Definition at line 1065 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hResYVsPhiRZ

Definition at line 1101 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hSimAlpha

Definition at line 1045 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hSimBeta

Definition at line 1046 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

MonitorElement* HRes4DHit::hSimBetaRZ

Definition at line 1091 of file Histograms.h.

Referenced by Fill(), and HRes4DHit().

TString HRes4DHit::name