Changeset 9338 for trunk/MagicSoft/Mars/mfilter/MFMagicCuts.cc
- Timestamp:
- 02/15/09 15:09:12 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfilter/MFMagicCuts.cc
r8890 r9338 188 188 Int_t MFMagicCuts::PreProcess(MParList *pList) 189 189 { 190 MGeomCam *cam = (MGeomCam*)pList->FindObject("MGeomCam");191 if (! cam)190 fGeom = (MGeomCam*)pList->FindObject("MGeomCam"); 191 if (!fGeom) 192 192 { 193 193 *fLog << err << "MGeomCam not found... aborting." << endl; 194 194 return kFALSE; 195 195 } 196 197 // Geometry in SPONDE?198 199 fMm2Deg = cam->GetConvMm2Deg();200 196 201 197 fThetaSq = (MParameterD*)pList->FindCreateObj("MParameterD", "ThetaSquared"); … … 425 421 // For simplicity 426 422 const Double_t *c = fVariables.GetArray(); 423 424 const Float_t fMm2Deg = fGeom->GetConvMm2Deg(); 427 425 428 426 // Default if we return before the end
Note:
See TracChangeset
for help on using the changeset viewer.