Ignore:
Timestamp:
06/26/03 20:48:39 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.cc

    r2173 r2240  
    6666
    6767    fHist.SetDirectory(NULL);
    68     fHist.SetTitle("3D-plot   E_{TRUE} E_{EST} \\Theta");
    69     fHist.SetXTitle("E_{TRUE} [GeV]");
    70     fHist.SetYTitle("E_{EST} [GeV]");
     68    fHist.SetTitle("3D-plot  E_{EST}  E_{TRUE} \\Theta");
     69    fHist.SetXTitle("E_{EST} [GeV]");
     70    fHist.SetYTitle("E_{TRUE} [GeV]");
    7171    fHist.SetZTitle("\\Theta [\\circ]");
    7272
    7373    fHist2.SetDirectory(NULL);
    74     fHist2.SetTitle("3D-plot \\Delta E / E vs E_{TRUE} E_{EST}");
    75     fHist2.SetXTitle("E_{TRUE} [GeV]");
    76     fHist2.SetYTitle("E_{EST} [GeV]");
     74    fHist2.SetTitle("3D-plot \\Delta E / E  vs E_{EST} E_{TRUE}");
     75    fHist2.SetXTitle("E_{EST} [GeV]");
     76    fHist2.SetYTitle("E_{TRUE} [GeV]");
    7777    fHist2.SetZTitle("\\frac{E_{EST} - E_{TRUE}}{E_{TRUE}}");
    7878
     
    145145    gPad->SetBorderMode(0);
    146146    gPad->SetLogx();
    147     h = fHist.Project3D("ex_pro");
     147    h = fHist.Project3D("ey_pro");
    148148    h->SetTitle("Distribution of E_{TRUE}");
    149149    h->SetXTitle("E_{TRUE} [GeV]");
     
    155155    gPad->SetBorderMode(0);
    156156    gPad->SetLogx();
    157     h = fHist.Project3D("ey_pro");
     157    h = fHist.Project3D("ex_pro");
    158158    h->SetTitle("Distribution of E_{EST}");
    159159    h->SetXTitle("E_{est} [GeV]");
     
    200200    gPad->SetLogx();
    201201    gPad->SetLogy();
    202     h2 = (TH2D*) fHist.Project3D("xy");
     202    h2 = (TH2D*) fHist.Project3D("yx");
    203203
    204204    TProfile* h2pfx;
     
    227227    gPad->SetLogx();
    228228    gPad->SetLeftMargin(0.15);
    229     h2 = (TH2D*) fHist2.Project3D("zx");
     229    h2 = (TH2D*) fHist2.Project3D("zy");
    230230    h2->SetBit(kCanDelete);
    231231    h2pfx = h2->ProfileX("_pfx", 1, h2->GetNbinsY(),"S");
     
    250250    gPad->SetLogx();
    251251    gPad->SetLeftMargin(0.15);
    252     h2 = (TH2D*) fHist2.Project3D("zy");
     252    h2 = (TH2D*) fHist2.Project3D("zx");
    253253    h2->SetBit(kCanDelete);
    254254    h2pfx = h2->ProfileX("_pfx", 1, h2->GetNbinsY(),"S");
Note: See TracChangeset for help on using the changeset viewer.