Changeset 9338 for trunk/MagicSoft/Mars/mfilter
- Timestamp:
- 02/15/09 15:09:12 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mfilter
- Files:
-
- 2 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 -
trunk/MagicSoft/Mars/mfilter/MFMagicCuts.h
r8890 r9338 12 12 class MParList; 13 13 14 class MGeomCam; 14 15 class MHillas; 15 16 class MHillasSrc; … … 49 50 }; 50 51 52 MGeomCam *fGeom; //! Conversion factor from mm to deg 51 53 MHillas *fHil; //! Pointer to MHillas container 52 54 MHillasSrc *fHilSrc; //! Pointer to MHillasSrc container … … 59 61 MParameterD *fHadronness; //! Pointer to MParameterD container called Hadronness 60 62 61 Float_t fMm2Deg; //! Conversion factor from mm to deg, from MGeomCam62 63 Bool_t fResult; //! Result of the filter evaluation 63 64
Note:
See TracChangeset
for help on using the changeset viewer.