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/mhflux/MHEffectiveOnTime.cc

    r7818 r8695  
    866866        if ((h = (TH1D*)gPad->FindObject("ProjDeltaT"/*fNameProjDeltaT*/)))
    867867        {
    868             h = fH2DeltaT.ProjectionX("ProjDeltaT"/*fNameProjDeltaT*/, -1, 9999, "E");
     868            h = fH2DeltaT.ProjectionX("ProjDeltaT"/*fNameProjDeltaT*/, -1, -1, "E");
    869869            if (h->GetEntries()>0)
    870870                gPad->SetLogy();
     
    873873        pad->GetPad(2)->cd(1);
    874874        if ((h = (TH1D*)gPad->FindObject("ProjTheta"/*fNameProjTheta*/)))
    875             fH2DeltaT.ProjectionY("ProjTheta"/*fNameProjTheta*/, -1, 9999, "E");
     875            fH2DeltaT.ProjectionY("ProjTheta"/*fNameProjTheta*/, -1, -1, "E");
    876876
    877877        if (!fIsFinalized)
     
    963963    pad->GetPad(1)->cd(1);
    964964    gPad->SetBorderMode(0);
    965     h = fH2DeltaT.ProjectionX("ProjDeltaT"/*fNameProjDeltaT*/, -1, 9999, "E");
     965    h = fH2DeltaT.ProjectionX("ProjDeltaT"/*fNameProjDeltaT*/, -1, -1, "E");
    966966    h->SetTitle("Distribution of \\Delta t [s]");
    967967    h->SetXTitle("\\Delta t [s]");
     
    993993    pad->GetPad(2)->cd(1);
    994994    gPad->SetBorderMode(0);
    995     h = fH2DeltaT.ProjectionY("ProjTheta"/*fNameProjTheta*/, -1, 9999, "E");
     995    h = fH2DeltaT.ProjectionY("ProjTheta"/*fNameProjTheta*/, -1, -1, "E");
    996996    h->SetTitle("Distribution of  \\Theta [\\circ]");
    997997    h->SetXTitle("\\Theta [\\circ]");
Note: See TracChangeset for help on using the changeset viewer.