CMS 3D CMS Logo

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

Public Attributes

bool _doall
 
MonitorElementhHitMult
 
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
 
MonitorElementht0
 
bool isLocal
 
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 HRes1DHit::_doall, DQMStore::book1D(), DQMStore::book2D(), DTRecHitQuality_cfi::doall, DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.

668  : isLocal(local){
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, -1.5, 1.5);
676  hRecBeta=0;hRecBeta = dbe_->book1D (pre+"_hRecBeta", "4D RecHit beta distribution:#alpha^{y} (rad)", 100, -1.5, 1.5);
677 
678  hSimAlpha=0;hSimAlpha = dbe_->book1D(pre+"_hSimAlpha", "4D segment from SimHit alpha (RPhi) distribution;i#alpha^{x} (rad)",
679  100, -1.5, 1.5);
680  hSimBeta=0;hSimBeta = dbe_->book1D(pre+"_hSimBeta", "4D segment from SimHit beta distribution;#alpha^{y} (rad)",
681  100, -1.5, 1.5);
682  hRecVsSimAlpha=0;hRecVsSimAlpha = dbe_->book2D(pre+"_hRecVsSimAlpha", "4D segment rec alpha {v}s sim alpha (RPhi);#alpha^{x} (rad)",
683  100, -1.5, 1.5, 100, -1.5, 1.5);
684  hRecVsSimBeta=0;hRecVsSimBeta = dbe_->book2D(pre+"_hRecVsSimBeta", "4D segment rec beta vs sim beta (RZ);#alpha^{y} (rad)",
685  100, -1.5, 1.5, 100, -1.5, 1.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, -1.5, 1.5);
721 
722  hSimBetaRZ=0;hSimBetaRZ = dbe_->book1D(pre+"_hSimBetaRZ", "4D segment from SimHit beta distribution in RZ SL;#alpha^{y} (rad)",
723  100, -1.5, 1.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, -1.5, 1.5, 100, -1.5, 1.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  dbe_->setCurrentFolder("DT/4DSegments/Pull/");
802 
803  hPullAlpha=0;hPullAlpha = dbe_->book1D (pre+"_hPullAlpha",
804  "4D RecHit pull on #alpha_x direction;(#alpha^{x}_{rec}-#alpha^{x}_{sim})/#sigma",
805  200, -5, 5);
806  hPullBeta=0;hPullBeta = dbe_->book1D (pre+"_hPullBeta",
807  "4D RecHit pull on beta direction;(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
808  200, -5, 5);
809 
810  hPullX=0;hPullX = dbe_->book1D (pre+"_hPullX",
811  "4D RecHit pull on position (x) in chamber;(x_{rec}-x_{sim})#sigma",
812  150, -5, 5);
813 
814  hPullY=0;hPullY = dbe_->book1D (pre+"_hPullY",
815  "4D RecHit pull on position (y) in chamber;(y_{rec}-y_{sim})/#sigma", 150, -5, 5);
816 
817  hPullBetaRZ=0;hPullBetaRZ = dbe_->book1D (pre+"_hPullBetaRZ",
818  "4D RecHit pull on beta direction in RZ SL;(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
819  200, -5, 5);
820 
821  hPullYRZ=0;hPullYRZ = dbe_->book1D (pre+"_hPullYRZ",
822  "4D RecHit pull on position (y) in chamber in RZ SL;(y_{rec}-y_{sim})/#sigma",
823  150, -5, 5);
824 
825  // NHits, t0
826  if (isLocal) {
827  dbe_->setCurrentFolder("DT/4DSegments/");
828  hHitMult = dbe_->book2D(pre+"_hNHits", "NHits", 12,0,12, 6,0,6);
829  ht0 = dbe_->book2D(pre+"_ht0", "t0", 200,-25,25,200,-25,25);
830  }
831 
832  }
MonitorElement * hPullAlpha
Definition: Histograms.h:957
MonitorElement * hSimAlpha
Definition: Histograms.h:930
MonitorElement * hResBetaVsPhi
Definition: Histograms.h:942
MonitorElement * hResYVsEta
Definition: Histograms.h:949
MonitorElement * hResYRZ
Definition: Histograms.h:984
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:1034
MonitorElement * hResX
Definition: Histograms.h:944
MonitorElement * hRecVsSimBeta
Definition: Histograms.h:934
MonitorElement * hResY
Definition: Histograms.h:948
MonitorElement * hResBeta
Definition: Histograms.h:940
MonitorElement * hResAlphaVsResX
Definition: Histograms.h:954
MonitorElement * hPullXVsEta
Definition: Histograms.h:966
MonitorElement * hHitMult
Definition: Histograms.h:996
MonitorElement * hResXVsEta
Definition: Histograms.h:945
MonitorElement * hResAlphaVsEta
Definition: Histograms.h:937
MonitorElement * hSimBetaRZ
Definition: Histograms.h:976
MonitorElement * hPullBeta
Definition: Histograms.h:961
MonitorElement * hResAlphaVsPhi
Definition: Histograms.h:938
MonitorElement * hResBetaVsEtaRZ
Definition: Histograms.h:981
MonitorElement * hPullBetaVsEtaRZ
Definition: Histograms.h:989
MonitorElement * hPullYVsPhi
Definition: Histograms.h:971
MonitorElement * hResBetaVsEta
Definition: Histograms.h:941
MonitorElement * hRecAlpha
Definition: Histograms.h:927
MonitorElement * hResBetaRZ
Definition: Histograms.h:980
MonitorElement * hResYVsPhi
Definition: Histograms.h:950
MonitorElement * hResBetaVsPhiRZ
Definition: Histograms.h:982
MonitorElement * hRecVsSimBetaRZ
Definition: Histograms.h:978
MonitorElement * hResAlphaVsResBeta
Definition: Histograms.h:952
MonitorElement * hPullBetaVsPhiRZ
Definition: Histograms.h:990
MonitorElement * hRecBeta
Definition: Histograms.h:928
MonitorElement * hRecVsSimAlpha
Definition: Histograms.h:933
MonitorElement * hSimBeta
Definition: Histograms.h:931
MonitorElement * hPullAlphaVsPhi
Definition: Histograms.h:959
MonitorElement * hResYVsPhiRZ
Definition: Histograms.h:986
MonitorElement * hRecBetaRZ
Definition: Histograms.h:974
MonitorElement * hPullYVsPhiRZ
Definition: Histograms.h:994
MonitorElement * hPullBetaVsPhi
Definition: Histograms.h:963
MonitorElement * hPullYVsEta
Definition: Histograms.h:970
MonitorElement * hPullYRZ
Definition: Histograms.h:992
MonitorElement * ht0
Definition: Histograms.h:997
MonitorElement * hPullAlphaVsEta
Definition: Histograms.h:958
MonitorElement * hPullYVsEtaRZ
Definition: Histograms.h:993
bool isLocal
Definition: Histograms.h:1000
MonitorElement * hPullBetaRZ
Definition: Histograms.h:988
MonitorElement * hResAlpha
Definition: Histograms.h:936
MonitorElement * hResXVsResY
Definition: Histograms.h:953
MonitorElement * hResYVsEtaRZ
Definition: Histograms.h:985
MonitorElement * hResXVsPhi
Definition: Histograms.h:946
MonitorElement * hPullY
Definition: Histograms.h:969
bool _doall
Definition: Histograms.h:999
MonitorElement * hPullXVsPhi
Definition: Histograms.h:967
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:1162
MonitorElement * hResAlphaVsResY
Definition: Histograms.h:955
MonitorElement * hPullBetaVsEta
Definition: Histograms.h:962
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:740
MonitorElement * hPullX
Definition: Histograms.h:965

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

References HRes1DHit::_doall.

Referenced by DTSegment4DQuality::analyze().

858  {
859  float resAlpha = recDirectionAlpha - simDirectionAlpha;
860  hResAlpha->Fill(resAlpha);
861  hPullAlpha->Fill(resAlpha/sigmaAlpha);
862  float resBeta = recDirectionBeta - simDirectionBeta;
863  hResBeta->Fill(resBeta);
864  hPullBeta->Fill(resBeta/sigmaBeta);
865  float resX = recX - simX;
866  hResX->Fill(resX);
867  hPullX->Fill(resX/sigmaX);
868  float resY = recY - simY;
869  hResY->Fill(resY);
870  hPullY->Fill(resY/sigmaY);
871 
872 
873  float resBetaRZ = recBetaRZ - simBetaRZ;
874  hResBetaRZ->Fill(resBetaRZ);
875  hPullBetaRZ->Fill(resBetaRZ/sigmaBetaRZ);
876  float resYRZ = recYRZ - simYRZ;
877  hResYRZ->Fill(resYRZ);
878  hPullYRZ->Fill(resYRZ/sigmaYRZ);
879  if(_doall){
880  hRecAlpha->Fill(recDirectionAlpha);
881  hRecBeta->Fill(recDirectionBeta);
882  hSimAlpha->Fill(simDirectionAlpha);
883  hSimBeta->Fill(simDirectionBeta);
884  hRecVsSimAlpha->Fill(simDirectionAlpha, recDirectionAlpha);
885  hRecVsSimBeta->Fill(simDirectionBeta, recDirectionBeta);
886  hResAlphaVsEta->Fill(simEta, resAlpha);
887  hResAlphaVsPhi->Fill(simPhi, resAlpha);
888  hPullAlphaVsEta->Fill(simEta, resAlpha/sigmaAlpha);
889  hPullAlphaVsPhi->Fill(simPhi, resAlpha/sigmaAlpha);
890  hResBetaVsEta->Fill(simEta, resBeta);
891  hResBetaVsPhi->Fill(simPhi, resBeta);
892  hPullBetaVsEta->Fill(simEta, resBeta/sigmaBeta);
893  hPullBetaVsPhi->Fill(simPhi, resBeta/sigmaBeta);
894  hResXVsEta->Fill(simEta, resX);
895  hResXVsPhi->Fill(simPhi, resX);
896  hPullXVsEta->Fill(simEta, resX/sigmaX);
897  hPullXVsPhi->Fill(simPhi, resX/sigmaX);
898  hResYVsEta->Fill(simEta, resY);
899  hResYVsPhi->Fill(simPhi, resY);
900  hPullYVsEta->Fill(simEta, resY/sigmaY);
901  hPullYVsPhi->Fill(simPhi, resY/sigmaY);
902  hResAlphaVsResBeta->Fill(resBeta, resAlpha);
903  hResXVsResY->Fill(resY, resX);
904  hResAlphaVsResX->Fill(resX, resAlpha);
905  hResAlphaVsResY->Fill(resY, resAlpha);
906  // RZ SuperLayer
907  hRecBetaRZ->Fill(recBetaRZ);
908  hSimBetaRZ->Fill(simBetaRZ);
909  hRecVsSimBetaRZ->Fill(simBetaRZ, recBetaRZ);
910  hResBetaVsEtaRZ->Fill(simEta, resBetaRZ);
911  hResBetaVsPhiRZ->Fill(simPhi, resBetaRZ);
912  hPullBetaVsEtaRZ->Fill(simEta, resBetaRZ/sigmaBetaRZ);
913  hPullBetaVsPhiRZ->Fill(simPhi, resBetaRZ/sigmaBetaRZ);
914  hResYVsEtaRZ->Fill(simEta, resYRZ);
915  hResYVsPhiRZ->Fill(simPhi, resYRZ);
916  hPullYVsEtaRZ->Fill(simEta, resYRZ/sigmaYRZ);
917  hPullYVsPhiRZ->Fill(simPhi, resYRZ/sigmaYRZ);
918  }
919  if (isLocal){
920  hHitMult->Fill(nHitsPhi, nHitsTheta);
921  ht0->Fill(t0Phi,t0Theta);
922  }
923  }
MonitorElement * hPullAlpha
Definition: Histograms.h:957
MonitorElement * hSimAlpha
Definition: Histograms.h:930
MonitorElement * hResBetaVsPhi
Definition: Histograms.h:942
MonitorElement * hResYVsEta
Definition: Histograms.h:949
MonitorElement * hResYRZ
Definition: Histograms.h:984
MonitorElement * hResX
Definition: Histograms.h:944
MonitorElement * hRecVsSimBeta
Definition: Histograms.h:934
MonitorElement * hResY
Definition: Histograms.h:948
MonitorElement * hResBeta
Definition: Histograms.h:940
MonitorElement * hResAlphaVsResX
Definition: Histograms.h:954
MonitorElement * hPullXVsEta
Definition: Histograms.h:966
MonitorElement * hHitMult
Definition: Histograms.h:996
MonitorElement * hResXVsEta
Definition: Histograms.h:945
MonitorElement * hResAlphaVsEta
Definition: Histograms.h:937
MonitorElement * hSimBetaRZ
Definition: Histograms.h:976
MonitorElement * hPullBeta
Definition: Histograms.h:961
MonitorElement * hResAlphaVsPhi
Definition: Histograms.h:938
void Fill(long long x)
MonitorElement * hResBetaVsEtaRZ
Definition: Histograms.h:981
MonitorElement * hPullBetaVsEtaRZ
Definition: Histograms.h:989
MonitorElement * hPullYVsPhi
Definition: Histograms.h:971
MonitorElement * hResBetaVsEta
Definition: Histograms.h:941
MonitorElement * hRecAlpha
Definition: Histograms.h:927
MonitorElement * hResBetaRZ
Definition: Histograms.h:980
MonitorElement * hResYVsPhi
Definition: Histograms.h:950
MonitorElement * hResBetaVsPhiRZ
Definition: Histograms.h:982
MonitorElement * hRecVsSimBetaRZ
Definition: Histograms.h:978
MonitorElement * hResAlphaVsResBeta
Definition: Histograms.h:952
MonitorElement * hPullBetaVsPhiRZ
Definition: Histograms.h:990
MonitorElement * hRecBeta
Definition: Histograms.h:928
MonitorElement * hRecVsSimAlpha
Definition: Histograms.h:933
MonitorElement * hSimBeta
Definition: Histograms.h:931
MonitorElement * hPullAlphaVsPhi
Definition: Histograms.h:959
MonitorElement * hResYVsPhiRZ
Definition: Histograms.h:986
MonitorElement * hRecBetaRZ
Definition: Histograms.h:974
MonitorElement * hPullYVsPhiRZ
Definition: Histograms.h:994
MonitorElement * hPullBetaVsPhi
Definition: Histograms.h:963
MonitorElement * hPullYVsEta
Definition: Histograms.h:970
MonitorElement * hPullYRZ
Definition: Histograms.h:992
MonitorElement * ht0
Definition: Histograms.h:997
MonitorElement * hPullAlphaVsEta
Definition: Histograms.h:958
MonitorElement * hPullYVsEtaRZ
Definition: Histograms.h:993
bool isLocal
Definition: Histograms.h:1000
MonitorElement * hPullBetaRZ
Definition: Histograms.h:988
MonitorElement * hResAlpha
Definition: Histograms.h:936
MonitorElement * hResXVsResY
Definition: Histograms.h:953
MonitorElement * hResYVsEtaRZ
Definition: Histograms.h:985
MonitorElement * hResXVsPhi
Definition: Histograms.h:946
MonitorElement * hPullY
Definition: Histograms.h:969
bool _doall
Definition: Histograms.h:999
MonitorElement * hPullXVsPhi
Definition: Histograms.h:967
MonitorElement * hResAlphaVsResY
Definition: Histograms.h:955
MonitorElement * hPullBetaVsEta
Definition: Histograms.h:962
MonitorElement * hPullX
Definition: Histograms.h:965

Member Data Documentation

bool HRes4DHit::_doall

Definition at line 999 of file Histograms.h.

MonitorElement* HRes4DHit::hHitMult

Definition at line 996 of file Histograms.h.

MonitorElement* HRes4DHit::hPullAlpha

Definition at line 957 of file Histograms.h.

MonitorElement* HRes4DHit::hPullAlphaVsEta

Definition at line 958 of file Histograms.h.

MonitorElement* HRes4DHit::hPullAlphaVsPhi

Definition at line 959 of file Histograms.h.

MonitorElement* HRes4DHit::hPullBeta

Definition at line 961 of file Histograms.h.

MonitorElement* HRes4DHit::hPullBetaRZ

Definition at line 988 of file Histograms.h.

MonitorElement* HRes4DHit::hPullBetaVsEta

Definition at line 962 of file Histograms.h.

MonitorElement* HRes4DHit::hPullBetaVsEtaRZ

Definition at line 989 of file Histograms.h.

MonitorElement* HRes4DHit::hPullBetaVsPhi

Definition at line 963 of file Histograms.h.

MonitorElement* HRes4DHit::hPullBetaVsPhiRZ

Definition at line 990 of file Histograms.h.

MonitorElement* HRes4DHit::hPullX

Definition at line 965 of file Histograms.h.

MonitorElement* HRes4DHit::hPullXVsEta

Definition at line 966 of file Histograms.h.

MonitorElement* HRes4DHit::hPullXVsPhi

Definition at line 967 of file Histograms.h.

MonitorElement* HRes4DHit::hPullY

Definition at line 969 of file Histograms.h.

MonitorElement* HRes4DHit::hPullYRZ

Definition at line 992 of file Histograms.h.

MonitorElement* HRes4DHit::hPullYVsEta

Definition at line 970 of file Histograms.h.

MonitorElement* HRes4DHit::hPullYVsEtaRZ

Definition at line 993 of file Histograms.h.

MonitorElement* HRes4DHit::hPullYVsPhi

Definition at line 971 of file Histograms.h.

MonitorElement* HRes4DHit::hPullYVsPhiRZ

Definition at line 994 of file Histograms.h.

MonitorElement* HRes4DHit::hRecAlpha

Definition at line 927 of file Histograms.h.

MonitorElement* HRes4DHit::hRecBeta

Definition at line 928 of file Histograms.h.

MonitorElement* HRes4DHit::hRecBetaRZ

Definition at line 974 of file Histograms.h.

MonitorElement* HRes4DHit::hRecVsSimAlpha

Definition at line 933 of file Histograms.h.

MonitorElement* HRes4DHit::hRecVsSimBeta

Definition at line 934 of file Histograms.h.

MonitorElement* HRes4DHit::hRecVsSimBetaRZ

Definition at line 978 of file Histograms.h.

MonitorElement* HRes4DHit::hResAlpha

Definition at line 936 of file Histograms.h.

MonitorElement* HRes4DHit::hResAlphaVsEta

Definition at line 937 of file Histograms.h.

MonitorElement* HRes4DHit::hResAlphaVsPhi

Definition at line 938 of file Histograms.h.

MonitorElement* HRes4DHit::hResAlphaVsResBeta

Definition at line 952 of file Histograms.h.

MonitorElement* HRes4DHit::hResAlphaVsResX

Definition at line 954 of file Histograms.h.

MonitorElement* HRes4DHit::hResAlphaVsResY

Definition at line 955 of file Histograms.h.

MonitorElement* HRes4DHit::hResBeta

Definition at line 940 of file Histograms.h.

MonitorElement* HRes4DHit::hResBetaRZ

Definition at line 980 of file Histograms.h.

MonitorElement* HRes4DHit::hResBetaVsEta

Definition at line 941 of file Histograms.h.

MonitorElement* HRes4DHit::hResBetaVsEtaRZ

Definition at line 981 of file Histograms.h.

MonitorElement* HRes4DHit::hResBetaVsPhi

Definition at line 942 of file Histograms.h.

MonitorElement* HRes4DHit::hResBetaVsPhiRZ

Definition at line 982 of file Histograms.h.

MonitorElement* HRes4DHit::hResX

Definition at line 944 of file Histograms.h.

MonitorElement* HRes4DHit::hResXVsEta

Definition at line 945 of file Histograms.h.

MonitorElement* HRes4DHit::hResXVsPhi

Definition at line 946 of file Histograms.h.

MonitorElement* HRes4DHit::hResXVsResY

Definition at line 953 of file Histograms.h.

MonitorElement* HRes4DHit::hResY

Definition at line 948 of file Histograms.h.

MonitorElement* HRes4DHit::hResYRZ

Definition at line 984 of file Histograms.h.

MonitorElement* HRes4DHit::hResYVsEta

Definition at line 949 of file Histograms.h.

MonitorElement* HRes4DHit::hResYVsEtaRZ

Definition at line 985 of file Histograms.h.

MonitorElement* HRes4DHit::hResYVsPhi

Definition at line 950 of file Histograms.h.

MonitorElement* HRes4DHit::hResYVsPhiRZ

Definition at line 986 of file Histograms.h.

MonitorElement* HRes4DHit::hSimAlpha

Definition at line 930 of file Histograms.h.

MonitorElement* HRes4DHit::hSimBeta

Definition at line 931 of file Histograms.h.

MonitorElement* HRes4DHit::hSimBetaRZ

Definition at line 976 of file Histograms.h.

MonitorElement* HRes4DHit::ht0

Definition at line 997 of file Histograms.h.

bool HRes4DHit::isLocal

Definition at line 1000 of file Histograms.h.

TString HRes4DHit::name