Ignore:
Timestamp:
08/22/07 19:18:35 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mreflector/MHReflector.cc

    r8315 r8695  
    196196    pad->cd(2);
    197197    gPad->SetBorderMode(0);
    198     TH1 *h = fHistRad.ProjectionY("ProfRad", -1, 9999, "e");
     198    TH1 *h = fHistRad.ProjectionY("ProfRad", -1, -1, "e");
    199199    h->SetTitle("RadialProfile");
    200200    h->SetDirectory(NULL);
     
    209209    gPad->SetLogx();
    210210    gPad->SetLogy();
    211     h = fHistSize.ProjectionY("ProfSize", -1, 9999, "e");
     211    h = fHistSize.ProjectionY("ProfSize", -1, -1, "e");
    212212    h->SetTitle("Size distribution");
    213213    h->SetDirectory(NULL);
     
    279279    if (gPad->FindObject("ProfRad"))
    280280    {
    281         h = fHistRad.ProjectionY("ProfRad", -1, 9999, "e");
     281        h = fHistRad.ProjectionY("ProfRad", -1, -1, "e");
    282282        h->Scale(1./h->Integral());
    283283    }
     
    287287    if (gPad->FindObject("ProfSize"))
    288288    {
    289         h = fHistSize.ProjectionY("ProfSize", -1, 9999, "e");
     289        h = fHistSize.ProjectionY("ProfSize", -1, -1, "e");
    290290        h->Scale(1./h->Integral());
    291291    }
Note: See TracChangeset for help on using the changeset viewer.