Ignore:
Timestamp:
02/15/09 15:09:12 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mfilter
Files:
2 edited

Legend:

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

    r8890 r9338  
    188188Int_t MFMagicCuts::PreProcess(MParList *pList)
    189189{
    190     MGeomCam *cam = (MGeomCam*)pList->FindObject("MGeomCam");
    191     if (!cam)
     190    fGeom = (MGeomCam*)pList->FindObject("MGeomCam");
     191    if (!fGeom)
    192192    {
    193193        *fLog << err << "MGeomCam not found... aborting." << endl;
    194194        return kFALSE;
    195195    }
    196 
    197     // Geometry in SPONDE?
    198 
    199     fMm2Deg = cam->GetConvMm2Deg();
    200196
    201197    fThetaSq = (MParameterD*)pList->FindCreateObj("MParameterD", "ThetaSquared");
     
    425421    // For simplicity
    426422    const Double_t *c = fVariables.GetArray();
     423
     424    const Float_t fMm2Deg = fGeom->GetConvMm2Deg();
    427425
    428426    // Default if we return before the end
  • trunk/MagicSoft/Mars/mfilter/MFMagicCuts.h

    r8890 r9338  
    1212class MParList;
    1313
     14class MGeomCam;
    1415class MHillas;
    1516class MHillasSrc;
     
    4950    };
    5051
     52    MGeomCam       *fGeom;              //! Conversion factor from mm to deg
    5153    MHillas        *fHil;               //! Pointer to MHillas container
    5254    MHillasSrc     *fHilSrc;            //! Pointer to MHillasSrc container
     
    5961    MParameterD    *fHadronness;        //! Pointer to MParameterD container called Hadronness
    6062
    61     Float_t         fMm2Deg;            //! Conversion factor from mm to deg, from MGeomCam
    6263    Bool_t          fResult;            //! Result of the filter evaluation
    6364
Note: See TracChangeset for help on using the changeset viewer.