Ignore:
Timestamp:
05/08/03 18:00:03 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r2062 r2098  
    242242Bool_t MHHillas::Fill(const MParContainer *par, const Stat_t w)
    243243{
     244    if (!par)
     245    {
     246        *fLog << err << "MHHillas::Fill: Pointer (!=NULL) expected." << endl;
     247        return kFALSE;
     248    }
     249
    244250    const MHillas &h = *(MHillas*)par;
    245251
     
    247253    const Double_t scale = fUseMmScale ? 1 : fMm2Deg;
    248254
    249     fLength ->Fill(scale*h.GetLength(), w);
    250     fWidth  ->Fill(scale*h.GetWidth(), w);
    251     fDistC  ->Fill(scale*d, w);
    252     fCenter ->Fill(scale*h.GetMeanX(), scale*h.GetMeanY(), w);
    253     fDelta  ->Fill(kRad2Deg*h.GetDelta(), w);
    254     fSize   ->Fill(h.GetSize(), w);
     255    fLength->Fill(scale*h.GetLength(), w);
     256    fWidth ->Fill(scale*h.GetWidth(), w);
     257    fDistC ->Fill(scale*d, w);
     258    fCenter->Fill(scale*h.GetMeanX(), scale*h.GetMeanY(), w);
     259    fDelta ->Fill(kRad2Deg*h.GetDelta(), w);
     260    fSize  ->Fill(h.GetSize(), w);
    255261
    256262    return kTRUE;
Note: See TracChangeset for help on using the changeset viewer.