Ignore:
Timestamp:
02/15/09 15:09:12 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 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
Note: See TracChangeset for help on using the changeset viewer.