Changeset 14916 for trunk


Ignore:
Timestamp:
02/13/13 10:48:49 (12 years ago)
Author:
tbretz
Message:
Reverting to last revision.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mmuon/MMuonSearchParCalc.cc

    r14896 r14916  
    7676Int_t MMuonSearchParCalc::PreProcess(MParList *pList)
    7777{
    78     fHillas = 0;
    79     if (!fUseFactAlgorithm)
     78    fHillas = (MHillas*)pList->FindObject("MHillas");
     79    if (!fHillas)
    8080    {
    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;
    8783    }
    8884
     
    112108Int_t MMuonSearchParCalc::Process()
    113109{
    114     if (fUseFactAlgorithm)
    115         fMuonPar->CalcFact(*fGeomCam, *fSignalCam);
    116     else
    117         fMuonPar->Calc(*fGeomCam, *fSignalCam, *fHillas);
    118 
     110    fMuonPar->Calc(*fGeomCam, *fSignalCam, *fHillas);
    119111    return kTRUE;
    120112}
Note: See TracChangeset for help on using the changeset viewer.