Changeset 2240 for trunk


Ignore:
Timestamp:
06/26/03 20:48:39 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2239 r2240  
    22
    33 2003/06/26: Abelardo Moralejo
     4
     5  * mhistmc/MHMcEnergyMigration.cc
     6    - exchanged axes of E_est and E_MC in the 3-d histograms.
    47
    58  * mfileio/MCT1ReadAscii.cc, MCT1ReadPreProc.cc
  • 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.