Changeset 7718


Ignore:
Timestamp:
05/18/06 18:37:21 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7717 r7718  
    2727     - made fHillas data member protected
    2828     - increased size of fMap
     29     - made SetOffData virtual
    2930
    3031   * mhflux/MHThetaSq.[h,cc]:
  • trunk/MagicSoft/Mars/mhflux/MHThetaSqN.cc

    r7717 r7718  
    220220        const Double_t d   = (src-org).Mod2();
    221221
    222         // off: is in src region   on: is in off regions
    223         if ((bool)fOffData ^ (i==0) /*(!fOffData && i==0) || (fOffData && i!=0)*/)
     222        //   off: is in src region   on: is in off regions
     223        /// if (!fOffData && i==0) || (fOffData && i!=0)
     224        if ((bool)fOffData ^ (i==0) )
    224225        {
    225226            if (d<fFit.GetSignalIntegralMax() && fDoOffCut)
  • trunk/MagicSoft/Mars/mhflux/MHThetaSqN.h

    r7717 r7718  
    3232    Bool_t   GetParameter(const MParList &pl) { return kTRUE; }
    3333    Double_t GetVal() const;
     34    void SetOffData(const MHAlpha &h)
     35    {
     36        const MHThetaSqN &t = (MHThetaSqN&)h;
     37
     38        fDoOffCut        = t.fDoOffCut;
     39        fNumOffSourcePos = t.fNumOffSourcePos;
     40
     41        MHAlpha::SetOffData(h);
     42    }
    3443
    3544    // MH
Note: See TracChangeset for help on using the changeset viewer.