Changeset 12944 for trunk/Mars/mimage


Ignore:
Timestamp:
02/27/12 14:19:53 (13 years ago)
Author:
tbretz
Message:
Added additional plots for slope in case of 'same' option
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mimage/MHHillasExt.cc

    r9859 r12944  
    275275        fHSlopeL.SetName("SlopeLSame");
    276276
     277        fHSlopeSpreadW.SetName("SlopeSpreadWSame");
     278        fHSlopeSpread.SetName("SlopeSpreadSame");
     279        fHTimeSpread.SetName("TimeSpreadSame");
     280        fHTimeSpreadW.SetName("TimeSpreadWSame");
     281
    277282        fHAsym.SetDirectory(0);
    278283        fHM3Long.SetDirectory(0);
     
    280285        fHSlopeL.SetDirectory(0);
    281286
     287        fHSlopeSpreadW.SetDirectory(0);
     288        fHSlopeSpread.SetDirectory(0);
     289        fHTimeSpread.SetDirectory(0);
     290        fHTimeSpreadW.SetDirectory(0);
     291
    282292        fHM3Long.SetLineColor(kMagenta);
    283293        fHM3Trans.SetLineColor(kCyan);
    284294        fHAsym.SetLineColor(kBlue);
    285295        fHSlopeL.SetMarkerColor(kBlue);
     296
     297        fHSlopeSpreadW.SetLineColor(kMagenta);
     298        fHSlopeSpread.SetLineColor(kMagenta);
     299        fHTimeSpread.SetLineColor(kCyan);
     300        fHTimeSpreadW.SetLineColor(kCyan);
    286301    }
    287302
     
    330345    gPad->SetGridy();
    331346
    332     fHSlopeSpreadW.Draw();
     347    RemoveFromPad("SlopeSpreadSame");
     348    RemoveFromPad("SlopeSpreadWSame");
     349    RemoveFromPad("TimeSpreadSame");
     350    RemoveFromPad("TimeSpreadWSame");
     351
     352    fHSlopeSpreadW.Draw(same?"same":"");
    333353    fHSlopeSpread.Draw("same");
    334354    fHTimeSpread.Draw("same");
Note: See TracChangeset for help on using the changeset viewer.