- Timestamp:
- 02/13/13 10:48:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mmuon/MMuonSearchParCalc.cc
r14896 r14916 76 76 Int_t MMuonSearchParCalc::PreProcess(MParList *pList) 77 77 { 78 fHillas = 0;79 if (!f UseFactAlgorithm)78 fHillas = (MHillas*)pList->FindObject("MHillas"); 79 if (!fHillas) 80 80 { 81 fHillas = (MHillas*)pList->FindObject("MHillas"); 82 if (!fHillas) 83 { 84 *fLog << err << "MHillas not found... aborting." << endl; 85 return kFALSE; 86 } 81 *fLog << err << "MHillas not found... aborting." << endl; 82 return kFALSE; 87 83 } 88 84 … … 112 108 Int_t MMuonSearchParCalc::Process() 113 109 { 114 if (fUseFactAlgorithm) 115 fMuonPar->CalcFact(*fGeomCam, *fSignalCam); 116 else 117 fMuonPar->Calc(*fGeomCam, *fSignalCam, *fHillas); 118 110 fMuonPar->Calc(*fGeomCam, *fSignalCam, *fHillas); 119 111 return kTRUE; 120 112 }
Note:
See TracChangeset
for help on using the changeset viewer.