Ignore:
Timestamp:
09/02/04 15:18:09 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mimage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mimage/MHNewImagePar.cc

    r3682 r4833  
    200200}
    201201
     202void MHNewImagePar::Paint(Option_t *)
     203{
     204    TVirtualPad *savepad = gPad;
     205    if (fHistLeakage1.GetEntries()>0 && fHistLeakage2.GetEntries()>0)
     206    {
     207        fHistLeakage1.SetMinimum(-1111);
     208        fHistLeakage2.SetMinimum(-1111);
     209        gPad->cd(1);
     210        gPad->SetLogy();
     211    }
     212    gPad = savepad;
     213}
     214
    202215// --------------------------------------------------------------------------
    203216//
  • trunk/MagicSoft/Mars/mimage/MHNewImagePar.h

    r3682 r4833  
    4646    TH1F &GetHistConc1()     { return fHistConc1; }
    4747
    48     void Draw(Option_t *opt=NULL);
     48    void Draw(Option_t *opt="");
     49    void Paint(Option_t *opt="");
    4950
    5051    ClassDef(MHNewImagePar, 1) // Histograms of new image parameters
Note: See TracChangeset for help on using the changeset viewer.