CMS 3D CMS Logo

Public Member Functions | Public Attributes

HRes4DHit Class Reference

#include <Histograms.h>

List of all members.

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_)
 HRes4DHit (TString name_, TFile *file)
void Write ()
 ~HRes4DHit ()

Public Attributes

TH1F * hPullAlpha
TH2F * hPullAlphaVsEta
TH2F * hPullAlphaVsPhi
TH1F * hPullBeta
TH1F * hPullBetaRZ
TH2F * hPullBetaVsEta
TH2F * hPullBetaVsEtaRZ
TH2F * hPullBetaVsPhi
TH2F * hPullBetaVsPhiRZ
TH1F * hPullX
TH2F * hPullXVsEta
TH2F * hPullXVsPhi
TH1F * hPullY
TH1F * hPullYRZ
TH2F * hPullYVsEta
TH2F * hPullYVsEtaRZ
TH2F * hPullYVsPhi
TH2F * hPullYVsPhiRZ
TH1F * hRecAlpha
TH1F * hRecBeta
TH1F * hRecBetaRZ
TH2F * hRecVsSimAlpha
TH2F * hRecVsSimBeta
TH2F * hRecVsSimBetaRZ
TH1F * hResAlpha
TH2F * hResAlphaVsEta
TH2F * hResAlphaVsPhi
TH2F * hResAlphaVsResBeta
TH2F * hResAlphaVsResX
TH2F * hResAlphaVsResY
TH1F * hResBeta
TH1F * hResBetaRZ
TH2F * hResBetaVsEta
TH2F * hResBetaVsEtaRZ
TH2F * hResBetaVsPhi
TH2F * hResBetaVsPhiRZ
TH1F * hResX
TH2F * hResXVsEta
TH2F * hResXVsPhi
TH2F * hResXVsResY
TH1F * hResY
TH1F * hResYRZ
TH2F * hResYVsEta
TH2F * hResYVsEtaRZ
TH2F * hResYVsPhi
TH2F * hResYVsPhiRZ
TH1F * hSimAlpha
TH1F * hSimBeta
TH1F * hSimBetaRZ
TString name

Detailed Description

Definition at line 631 of file Histograms.h.


Constructor & Destructor Documentation

HRes4DHit::HRes4DHit ( std::string  name_) [inline]

Definition at line 633 of file Histograms.h.

References 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, MultiGaussianStateTransform::N, and name.

                              {
      TString N = name_.c_str();
      name=N;

      hRecAlpha       = new TH1F ("4D_"+N+"_hRecAlpha", "4D RecHit alpha (RPhi) distribution;#alpha^{x} (rad)", 100, -3.5, 3.5);
      hRecBeta        = new TH1F ("4D_"+N+"_hRecBeta", "4D RecHit beta distribution:#alpha^{y} (rad)", 100, -3.5, 3.5);

      hSimAlpha       = new TH1F("4D_"+N+"_hSimAlpha", "4D segment from SimHit alpha (RPhi) distribution;i#alpha^{x} (rad)",
                                 100, -3.5, 3.5);
      hSimBeta        = new TH1F("4D_"+N+"_hSimBeta", "4D segment from SimHit beta distribution;#alpha^{y} (rad)",
                                 100, -3.5, 3.5);
      hRecVsSimAlpha  = new TH2F("4D_"+N+"_hRecVsSimAlpha", "4D segment rec alpha {v}s sim alpha (RPhi);#alpha^{x} (rad)",
                                 100, -3.5, 3.5, 100, -3.5, 3.5);
      hRecVsSimBeta   = new TH2F("4D_"+N+"_hRecVsSimBeta", "4D segment rec beta vs sim beta (RZ);#alpha^{y} (rad)",
                                 100, -3.5, 3.5, 100, -3.5, 3.5);

      hResAlpha       = new TH1F ("4D_"+N+"_hResAlpha", 
                                  "4D RecHit residual on #alpha_x direction;#alpha^{x}_{rec}-#alpha^{x}_{sim} (rad)",
                                  200, -0.015, 0.015);
      hResAlphaVsEta  = new TH2F ("4D_"+N+"_hResAlphaVsEta",
                                  "4D RecHit residual on #alpha_x direction vs eta;#eta;#alpha^{x}_{rec}-#alpha^{x}_{sim} (rad)",
                                  100, -2.5, 2.5, 100, -0.025, 0.025);
      hResAlphaVsPhi  = new TH2F ("4D_"+N+"_hResAlphaVsPhi",
                                  "4D RecHit residual on #alpha_x direction vs phi (rad);#phi (rad);#alpha^{x}_{rec}-#alpha^{x}_{sim} (rad)",
                                  100, -3.2, 3.2, 100, -0.025, 0.025);

      hResBeta        = new TH1F ("4D_"+N+"_hResBeta",
                                  "4D RecHit residual on beta direction;#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
                                  200, -0.1, 0.1);
      hResBetaVsEta   = new TH2F ("4D_"+N+"_hResBetaVsEta",
                                  "4D RecHit residual on beta direction vs eta;#eta;#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
                                  100, -2.5, 2.5, 200, -0.2, 0.2);
      hResBetaVsPhi   = new TH2F ("4D_"+N+"_hResBetaVsPhi",
                                  "4D RecHit residual on beta direction vs phi;#phi (rad);#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
                                  100, -3.2, 3.2, 200, -0.2, 0.2);

      hResX           = new TH1F ("4D_"+N+"_hResX", "4D RecHit residual on position (x) in chamber;x_{rec}-x_{sim} (cm)",
                                  150, -0.15, 0.15);
      hResXVsEta      = new TH2F ("4D_"+N+"_hResXVsEta", "4D RecHit residual on position (x) in chamber vs eta;#eta;x_{rec}-x_{sim} (cm)",
                                  100, -2.5, 2.5, 150, -0.3, 0.3);
      hResXVsPhi      = new TH2F ("4D_"+N+"_hResXVsPhi", "4D RecHit residual on position (x) in chamber vs phi;#phi (rad);x_{rec}-x_{sim} (cm)",
                                  100, -3.2, 3.2, 150, -0.3, 0.3);

      hResY           = new TH1F ("4D_"+N+"_hResY", "4D RecHit residual on position (y) in chamber;y_{rec}-y_{sim} (cm)", 150, -0.6, 0.6);
      hResYVsEta      = new TH2F ("4D_"+N+"_hResYVsEta", "4D RecHit residual on position (y) in chamber vs eta;#eta;y_{rec}-y_{sim} (cm)",
                                  100, -2.5, 2.5, 150, -0.6, 0.6);
      hResYVsPhi      = new TH2F ("4D_"+N+"_hResYVsPhi", "4D RecHit residual on position (y) in chamber vs phi;#phi (rad);y_{rec}-y_{sim} (cm)",
                                  100, -3.2, 3.2, 150, -0.6, 0.6);

      hResAlphaVsResBeta = new TH2F("4D_"+N+"_hResAlphaVsResBeta", "4D RecHit residual on alpha vs residual on beta",
                                    200, -0.3, 0.3, 500, -0.15, 0.15);
      hResXVsResY = new TH2F("4D_"+N+"_hResXVsResY", "4D RecHit residual on X vs residual on Y",
                             150, -0.6, 0.6, 50, -0.3, 0.3);
      hResAlphaVsResX = new TH2F("4D_"+N+"_hResAlphaVsResX", "4D RecHit residual on alpha vs residual on x",
                                 150, -0.3, 0.3, 500, -0.15, 0.15);

      hResAlphaVsResY = new TH2F("4D_"+N+"_hResAlphaVsResY", "4D RecHit residual on alpha vs residual on y",
                                 150, -0.6, 0.6, 500, -0.15, 0.15);

      // Pulls

      hPullAlpha       = new TH1F ("4D_"+N+"_hPullAlpha", 
                                   "4D RecHit pull on #alpha_x direction;(#alpha^{x}_{rec}-#alpha^{x}_{sim})/#sigma",
                                   200, -5, 5);
      hPullAlphaVsEta  = new TH2F ("4D_"+N+"_hPullAlphaVsEta",
                                   "4D RecHit pull on #alpha_x direction vs eta;#eta;(#alpha^{x}_{rec}-#alpha^{x}_{sim})/#sigma",
                                   100, -2.5, 2.5, 100, -5, 5);
      hPullAlphaVsPhi  = new TH2F ("4D_"+N+"_hPullAlphaVsPhi",
                                   "4D RecHit pull on #alpha_x direction vs phi (rad);#phi (rad);(#alpha^{x}_{rec}-#alpha^{x}_{sim})/#sigma",
                                   100, -3.2, 3.2, 100, -5, 5);

      hPullBeta        = new TH1F ("4D_"+N+"_hPullBeta",
                                   "4D RecHit pull on beta direction;(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
                                   200, -5, 5);
      hPullBetaVsEta   = new TH2F ("4D_"+N+"_hPullBetaVsEta",
                                   "4D RecHit pull on beta direction vs eta;#eta;(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
                                   100, -2.5, 2.5, 200, -5, 5);
      hPullBetaVsPhi   = new TH2F ("4D_"+N+"_hPullBetaVsPhi",
                                   "4D RecHit pull on beta direction vs phi;#phi (rad);(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
                                   100, -3.2, 3.2, 200, -5, 5);

      hPullX           = new TH1F ("4D_"+N+"_hPullX",
                                   "4D RecHit pull on position (x) in chamber;(x_{rec}-x_{sim})#sigma",
                                   150, -5, 5);
      hPullXVsEta      = new TH2F ("4D_"+N+"_hPullXVsEta",
                                   "4D RecHit pull on position (x) in chamber vs eta;#eta;(x_{rec}-x_{sim})#sigma",
                                   100, -2.5, 2.5, 150, -5, 5);
      hPullXVsPhi      = new TH2F ("4D_"+N+"_hPullXVsPhi", 
                                   "4D RecHit pull on position (x) in chamber vs phi;#phi (rad);(x_{rec}-x_{sim})/#sigma",
                                   100, -3.2, 3.2, 150, -5, 5);

      hPullY           = new TH1F ("4D_"+N+"_hPullY", 
                                   "4D RecHit pull on position (y) in chamber;(y_{rec}-y_{sim})/#sigma", 150, -5, 5);
      hPullYVsEta      = new TH2F ("4D_"+N+"_hPullYVsEta", 
                                   "4D RecHit pull on position (y) in chamber vs eta;#eta;(y_{rec}-y_{sim})/#sigma",
                                   100, -2.5, 2.5, 150, -5, 5);
      hPullYVsPhi      = new TH2F ("4D_"+N+"_hPullYVsPhi", 
                                   "4D RecHit pull on position (y) in chamber vs phi;#phi (rad);(y_{rec}-y_{sim})/#sigma",
                                   100, -3.2, 3.2, 150, -5, 5);

      // histo in rz SL reference frame.

      hRecBetaRZ        = new TH1F ("4D_"+N+"_hRecBetaRZ", "4D RecHit beta distribution:#alpha^{y} (rad)", 100, -3.5, 3.5);

      hSimBetaRZ      = new TH1F("4D_"+N+"_hSimBetaRZ", "4D segment from SimHit beta distribution in RZ SL;#alpha^{y} (rad)",
                                 100, -3.5, 3.5);
      hRecVsSimBetaRZ = new TH2F("4D_"+N+"_hRecVsSimBetaRZ", "4D segment rec beta vs sim beta (RZ) in RZ SL;#alpha^{y} (rad)",
                                 100, -3.5, 3.5, 100, -3.5, 3.5);

      hResBetaRZ      = new TH1F ("4D_"+N+"_hResBetaRZ",
                                  "4D RecHit residual on beta direction in RZ SL;#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
                                  200, -0.1, 0.1);
      hResBetaVsEtaRZ = new TH2F ("4D_"+N+"_hResBetaVsEtaRZ",
                                  "4D RecHit residual on beta direction vs eta;#eta in RZ SL;#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
                                  100, -2.5, 2.5, 200, -0.2, 0.2);
      hResBetaVsPhiRZ = new TH2F ("4D_"+N+"_hResBetaVsPhiRZ",
                                  "4D RecHit residual on beta direction vs phi in RZ SL;#phi (rad);#alpha^{y}_{rec}-#alpha^{y}_{sim} (rad)",
                                  100, -3.2, 3.2, 200, -0.2, 0.2);

      hResYRZ         = new TH1F ("4D_"+N+"_hResYRZ",
                                  "4D RecHit residual on position (y) in chamber in RZ SL;y_{rec}-y_{sim} (cm)",
                                  150, -0.15, 0.15);
      hResYVsEtaRZ    = new TH2F ("4D_"+N+"_hResYVsEtaRZ",
                                  "4D RecHit residual on position (y) in chamber vs eta in RZ SL;#eta;y_{rec}-y_{sim} (cm)",
                                  100, -2.5, 2.5, 150, -0.6, 0.6);
      hResYVsPhiRZ    = new TH2F ("4D_"+N+"_hResYVsPhiRZ",
                                  "4D RecHit residual on position (y) in chamber vs phi in RZ SL;#phi (rad);y_{rec}-y_{sim} (cm)",
                                  100, -3.2, 3.2, 150, -0.6, 0.6);

      // Pulls
      hPullBetaRZ      = new TH1F ("4D_"+N+"_hPullBetaRZ",
                                   "4D RecHit pull on beta direction in RZ SL;(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
                                   200, -5, 5);
      hPullBetaVsEtaRZ = new TH2F ("4D_"+N+"_hPullBetaVsEtaRZ",
                                   "4D RecHit pull on beta direction vs eta;#eta in RZ SL;(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
                                   100, -2.5, 2.5, 200, -5, 5);
      hPullBetaVsPhiRZ = new TH2F ("4D_"+N+"_hPullBetaVsPhiRZ",
                                   "4D RecHit pull on beta direction vs phi in RZ SL;#phi (rad);(#alpha^{y}_{rec}-#alpha^{y}_{sim})/#sigma",
                                   100, -3.2, 3.2, 200, -5, 5);

      hPullYRZ         = new TH1F ("4D_"+N+"_hPullYRZ",
                                   "4D RecHit pull on position (y) in chamber in RZ SL;(y_{rec}-y_{sim})/#sigma",
                                   150, -5, 5);
      hPullYVsEtaRZ    = new TH2F ("4D_"+N+"_hPullYVsEtaRZ",
                                   "4D RecHit pull on position (y) in chamber vs eta in RZ SL;#eta;(y_{rec}-y_{sim})/#sigma",
                                   100, -2.5, 2.5, 150, -5, 5);
      hPullYVsPhiRZ    = new TH2F ("4D_"+N+"_hPullYVsPhiRZ",
                                   "4D RecHit pull on position (y) in chamber vs phi in RZ SL;#phi (rad);(y_{rec}-y_{sim})/#sigma",
                                   100, -3.2, 3.2, 150, -5, 5);
    }
HRes4DHit::HRes4DHit ( TString  name_,
TFile *  file 
) [inline]

Definition at line 784 of file Histograms.h.

References 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 name.

                                          {
      name=name_;

      hRecAlpha = (TH1F *) file->Get("4D_"+name+"_hRecAlpha");
      hRecBeta = (TH1F *) file->Get("4D_"+name+"_hRecBeta");

      hSimAlpha = (TH1F *) file->Get("4D_"+name+"_hSimAlpha");
      hSimBeta = (TH1F *) file->Get("4D_"+name+"_hSimBeta");

      hRecVsSimAlpha = (TH2F *) file->Get("4D_"+name+"_hRecVsSimAlpha");
      hRecVsSimBeta = (TH2F *) file->Get("4D_"+name+"_hRecVsSimBeta");

      hResAlpha = (TH1F *) file->Get("4D_"+name+"_hResAlpha");
      hResAlphaVsEta = (TH2F *) file->Get("4D_"+name+"_hResAlphaVsEta");
      hResAlphaVsPhi = (TH2F *) file->Get("4D_"+name+"_hResAlphaVsPhi");

      hResBeta = (TH1F *) file->Get("4D_"+name+"_hResBeta");
      hResBetaVsEta = (TH2F *) file->Get("4D_"+name+"_hResBetaVsEta");
      hResBetaVsPhi = (TH2F *) file->Get("4D_"+name+"_hResBetaVsPhi");

      hResX = (TH1F *) file->Get("4D_"+name+"_hResX");
      hResXVsEta = (TH2F *) file->Get("4D_"+name+"_hResXVsEta");
      hResXVsPhi = (TH2F *) file->Get("4D_"+name+"_hResXVsPhi");

      hResY = (TH1F *) file->Get("4D_"+name+"_hResY");
      hResYVsEta = (TH2F *) file->Get("4D_"+name+"_hResYVsEta");
      hResYVsPhi = (TH2F *) file->Get("4D_"+name+"_hResYVsPhi");

      hResAlphaVsResBeta = (TH2F *) file->Get("4D_"+name+"_hResAlphaVsResBeta");
      hResXVsResY = (TH2F *) file->Get("4D_"+name+"_hResXVsResY");
      hResAlphaVsResX = (TH2F *) file->Get("4D_"+name+"_hResAlphaVsResX");
      hResAlphaVsResY = (TH2F *) file->Get("4D_"+name+"_hResAlphaVsResY"); 

      hPullAlpha = (TH1F *) file->Get("4D_"+name+"_hPullAlpha");
      hPullAlphaVsEta = (TH2F *) file->Get("4D_"+name+"_hPullAlphaVsEta");
      hPullAlphaVsPhi = (TH2F *) file->Get("4D_"+name+"_hPullAlphaVsPhi");

      hPullBeta = (TH1F *) file->Get("4D_"+name+"_hPullBeta");
      hPullBetaVsEta = (TH2F *) file->Get("4D_"+name+"_hPullBetaVsEta");
      hPullBetaVsPhi = (TH2F *) file->Get("4D_"+name+"_hPullBetaVsPhi");

      hPullX = (TH1F *) file->Get("4D_"+name+"_hPullX");
      hPullXVsEta = (TH2F *) file->Get("4D_"+name+"_hPullXVsEta");
      hPullXVsPhi = (TH2F *) file->Get("4D_"+name+"_hPullXVsPhi");

      hPullY = (TH1F *) file->Get("4D_"+name+"_hPullY");
      hPullYVsEta = (TH2F *) file->Get("4D_"+name+"_hPullYVsEta");
      hPullYVsPhi = (TH2F *) file->Get("4D_"+name+"_hPullYVsPhi");

      // RX SL frame
      hRecBetaRZ = (TH1F *) file->Get("4D_"+name+"_hRecBetaRZ");

      hSimBetaRZ = (TH1F *) file->Get("4D_"+name+"_hSimBetaRZ");

      hRecVsSimBetaRZ = (TH2F *) file->Get("4D_"+name+"_hRecVsSimBetaRZ");

      hResBetaRZ = (TH1F *) file->Get("4D_"+name+"_hResBetaRZ");
      hResBetaVsEtaRZ = (TH2F *) file->Get("4D_"+name+"_hResBetaVsEtaRZ");
      hResBetaVsPhiRZ = (TH2F *) file->Get("4D_"+name+"_hResBetaVsPhiRZ");

      hResYRZ = (TH1F *) file->Get("4D_"+name+"_hResYRZ");
      hResYVsEtaRZ = (TH2F *) file->Get("4D_"+name+"_hResYVsEtaRZ");
      hResYVsPhiRZ = (TH2F *) file->Get("4D_"+name+"_hResYVsPhiRZ");

      hPullBetaRZ = (TH1F *) file->Get("4D_"+name+"_hPullBetaRZ");
      hPullBetaVsEtaRZ = (TH2F *) file->Get("4D_"+name+"_hPullBetaVsEtaRZ");
      hPullBetaVsPhiRZ = (TH2F *) file->Get("4D_"+name+"_hPullBetaVsPhiRZ");

      hPullYRZ = (TH1F *) file->Get("4D_"+name+"_hPullYRZ");
      hPullYVsEtaRZ = (TH2F *) file->Get("4D_"+name+"_hPullYVsEtaRZ");
      hPullYVsPhiRZ = (TH2F *) file->Get("4D_"+name+"_hPullYVsPhiRZ");
    }
HRes4DHit::~HRes4DHit ( ) [inline]

Definition at line 857 of file Histograms.h.

                {
    }

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

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

               {

      hRecAlpha->Fill(recDirectionAlpha);
      hRecBeta->Fill(recDirectionBeta);
      hSimAlpha->Fill(simDirectionAlpha);
      hSimBeta->Fill(simDirectionBeta);

      hRecVsSimAlpha->Fill(simDirectionAlpha, recDirectionAlpha);
      hRecVsSimBeta->Fill(simDirectionBeta, recDirectionBeta);

      float resAlpha = recDirectionAlpha - simDirectionAlpha;
      hResAlpha->Fill(resAlpha);
      hResAlphaVsEta->Fill(simEta, resAlpha);
      hResAlphaVsPhi->Fill(simPhi, resAlpha);
      hPullAlpha->Fill(resAlpha/sigmaAlpha);
      hPullAlphaVsEta->Fill(simEta, resAlpha/sigmaAlpha);
      hPullAlphaVsPhi->Fill(simPhi, resAlpha/sigmaAlpha);
      float resBeta = recDirectionBeta - simDirectionBeta;
      hResBeta->Fill(resBeta);
      hResBetaVsEta->Fill(simEta, resBeta);
      hResBetaVsPhi->Fill(simPhi, resBeta);
      hPullBeta->Fill(resBeta/sigmaBeta);
      hPullBetaVsEta->Fill(simEta, resBeta/sigmaBeta);
      hPullBetaVsPhi->Fill(simPhi, resBeta/sigmaBeta);
      float resX = recX - simX;
      hResX->Fill(resX);
      hResXVsEta->Fill(simEta, resX);
      hResXVsPhi->Fill(simPhi, resX);
      hPullX->Fill(resX/sigmaX);
      hPullXVsEta->Fill(simEta, resX/sigmaX);
      hPullXVsPhi->Fill(simPhi, resX/sigmaX);
      float resY = recY - simY;
      hResY->Fill(resY);
      hResYVsEta->Fill(simEta, resY);
      hResYVsPhi->Fill(simPhi, resY);
      hPullY->Fill(resY/sigmaY);
      hPullYVsEta->Fill(simEta, resY/sigmaY);
      hPullYVsPhi->Fill(simPhi, resY/sigmaY);

      hResAlphaVsResBeta->Fill(resBeta, resAlpha);   
      hResXVsResY->Fill(resY, resX);          
      hResAlphaVsResX->Fill(resX, resAlpha);      
      hResAlphaVsResY->Fill(resY, resAlpha);      

      // RZ SuperLayer
      hRecBetaRZ->Fill(recBetaRZ);
      hSimBetaRZ->Fill(simBetaRZ);

      hRecVsSimBetaRZ->Fill(simBetaRZ, recBetaRZ);

      float resBetaRZ = recBetaRZ - simBetaRZ;
      hResBetaRZ->Fill(resBetaRZ);
      hResBetaVsEtaRZ->Fill(simEta, resBetaRZ);
      hResBetaVsPhiRZ->Fill(simPhi, resBetaRZ);
      hPullBetaRZ->Fill(resBetaRZ/sigmaBetaRZ);
      hPullBetaVsEtaRZ->Fill(simEta, resBetaRZ/sigmaBetaRZ);
      hPullBetaVsPhiRZ->Fill(simPhi, resBetaRZ/sigmaBetaRZ);
      float resYRZ = recYRZ - simYRZ;
      hResYRZ->Fill(resYRZ);
      hResYVsEtaRZ->Fill(simEta, resYRZ);
      hResYVsPhiRZ->Fill(simPhi, resYRZ);
      hPullYRZ->Fill(resYRZ/sigmaYRZ);
      hPullYVsEtaRZ->Fill(simEta, resYRZ/sigmaYRZ);
      hPullYVsPhiRZ->Fill(simPhi, resYRZ/sigmaYRZ);
    }
void HRes4DHit::Write ( ) [inline]

Definition at line 946 of file Histograms.h.

References 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.

                 {
      hRecAlpha->Write();
      hRecBeta->Write();
      hSimAlpha->Write();
      hSimBeta->Write();
      hRecVsSimAlpha->Write();
      hRecVsSimBeta->Write();
      hResAlpha->Write();
      hResAlphaVsEta->Write();
      hResAlphaVsPhi->Write();
      hResBeta->Write();
      hResBetaVsEta->Write();
      hResBetaVsPhi->Write();
      hResX->Write();
      hResXVsEta->Write();
      hResXVsPhi->Write();
      hResY->Write();
      hResYVsEta->Write();
      hResYVsPhi->Write();
      hResAlphaVsResBeta->Write();   
      hResXVsResY->Write();
      hResAlphaVsResX->Write();
      hResAlphaVsResY->Write();
      hPullAlpha->Write();
      hPullAlphaVsEta->Write();
      hPullAlphaVsPhi->Write();
      hPullBeta->Write();
      hPullBetaVsEta->Write();
      hPullBetaVsPhi->Write();
      hPullX->Write();
      hPullXVsEta->Write();
      hPullXVsPhi->Write();
      hPullY->Write();
      hPullYVsEta->Write();
      hPullYVsPhi->Write();


      hRecBetaRZ->Write();
      hSimBetaRZ->Write();
      hRecVsSimBetaRZ->Write();
      hResBetaRZ->Write();
      hResBetaVsEtaRZ->Write();
      hResBetaVsPhiRZ->Write();
      hResYRZ->Write();
      hResYVsEtaRZ->Write();
      hResYVsPhiRZ->Write();
      hPullBetaRZ->Write();
      hPullBetaVsEtaRZ->Write();
      hPullBetaVsPhiRZ->Write();
      hPullYRZ->Write();
      hPullYVsEtaRZ->Write();
      hPullYVsPhiRZ->Write();
    }

Member Data Documentation

Definition at line 1032 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1033 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1034 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1036 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1063 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1037 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1064 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1038 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1065 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1040 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1041 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1042 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1044 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1067 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1045 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1068 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1046 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1069 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1002 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1003 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1049 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1008 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1009 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1053 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1011 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1012 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1013 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1027 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1029 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1030 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1015 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1055 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1016 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1056 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1017 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1057 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1019 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1020 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1021 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1028 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1023 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1059 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1024 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1060 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1025 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1061 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1005 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1006 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

Definition at line 1051 of file Histograms.h.

Referenced by Fill(), HRes4DHit(), and Write().

TString HRes4DHit::name

Definition at line 1071 of file Histograms.h.

Referenced by HRes4DHit().