Ignore:
Timestamp:
09/28/06 10:05:44 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mfilter/MFMagicCuts.cc

    r7978 r7979  
    3333//      lgsize       = log10(MHillas.fSize)
    3434//
     35//      leakage1     = log10(MNewImagePar.fLeakage1+1)
     36//
    3537//      alpha        = MHillasSrc.fAlpha
    3638//      dist         = MHillasSrc.fDist*fMm2Deg
    37 //      leakage1     = log10(MNewImagePar.fLeakage1+1)
    38 //
    3939//      m3long       = MHillasExt.fM3Long*sign(MHillasSrc.fCosDeltaAlpha)*fMm2Deg
     40//
     41//      antialpha    = MHillasSrcAnti.fAlpha
     42//      antidist     = MHillasSrcAnti.fDist*fMm2Deg
    4043//      antim3long   = MHillasExt.fM3Long*sign(MHillasSrcAnti.fCosDeltaAlpha)*fMm2Deg
    4144//
     
    5154//          antidisp    = TMath::Sign(disp, antim3long-c[5])
    5255//          thetasq     = disp^2 + dist^2 - 2*disp*dist*alpha
    53 //          antithetasq = antidisp^2 + dist^2 - 2*antidisp*dist*alpha
     56//          antithetasq = antidisp^2 + antidist^2 - 2*antidisp*antidist*antialpha
    5457//
    5558//    c[1]:
     
    140143    AddToBranchList("MHillas.fSize");
    141144    AddToBranchList("MHillasSrc.fAlpha");
     145    AddToBranchList("MHillasSrc.fDist");
     146    AddToBranchList("MHillasSrc.fCosDeltaAlpha");
    142147    AddToBranchList("MHillasSrcAnti.fAlpha");
    143     AddToBranchList("MHillasExt.fMaxDist");
     148    AddToBranchList("MHillasSrcAnti.fDist");
     149    AddToBranchList("MHillasSrcAnti.fCosDeltaAlpha");
    144150    AddToBranchList("MHillasExt.fM3Long");
    145151    AddToBranchList("MNewImagePar.fLeakage1");
     
    270276    fMatrix = mat;
    271277
     278    fMap[kEWdivL]   = fMatrix->AddColumn("MHillas.fWidth/MHillas.fLength");
    272279    fMap[kESize]    = fMatrix->AddColumn("log10(MHillas.fSize)");
    273280    fMap[kEArea]    = fMatrix->AddColumn("MHillas.GetArea*MGeomCam.fConvMm2Deg*MGeomCam.fConvMm2Deg");
    274     fMap[kEM3Trans] = fMatrix->AddColumn("abs(MHillasExt.fM3Trans)*MGeomCam.fConvMm2Deg");
    275     fMap[kEM3Long]  = fMatrix->AddColumn("MHillasExt.fM3Long*sign(MHillasSrc.fCosDeltaAlpha)*MGeomCam.fConvMm2Deg");
    276     fMap[kESrcSign] = fMatrix->AddColumn("sign(MHillasSrc.fCosDeltaAlpha)");
    277     fMap[kEWdivL]   = fMatrix->AddColumn("MHillas.fWidth/MHillas.fLength");
     281
     282    fMap[kELeakage] = fMatrix->AddColumn("log10(MNewImagePar.fLeakage1+1)");
    278283
    279284    fMap[kEAlpha]   = fMatrix->AddColumn("MHillasSrc.fAlpha");
    280285    fMap[kEDist]    = fMatrix->AddColumn("MHillasSrc.fDist*MGeomCam.fConvMm2Deg");
    281     fMap[kELeakage] = fMatrix->AddColumn("log10(MNewImagePar.fLeakage1+1)");
     286    fMap[kEM3Long]  = fMatrix->AddColumn("MHillasExt.fM3Long*sign(MHillasSrc.fCosDeltaAlpha)*MGeomCam.fConvMm2Deg");
     287
     288    fMap[kESrcSign] = fMatrix->AddColumn("sign(MHillasSrc.fCosDeltaAlpha)");
    282289
    283290    if (fThetaCut&kOff)
     
    285292        fMap[kEAlphaAnti]  = fMatrix->AddColumn("MHillasSrcAnti.fAlpha");
    286293        fMap[kEDistAnti]   = fMatrix->AddColumn("MHillasSrcAnti.fDist*MGeomCam.fConvMm2Deg");
     294        fMap[kEM3LongAnti] = fMatrix->AddColumn("MHillasExt.fM3Long*sign(MHillasSrcAnti.fCosDeltaAlpha)*MGeomCam.fConvMm2Deg");
    287295    }
    288296
Note: See TracChangeset for help on using the changeset viewer.