Ignore:
Timestamp:
08/25/07 16:30:26 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MParameterCalc.cc

    r8315 r8709  
    1818!   Author(s): Thomas Bretz  6/2005 <mailto:tbretz@astro.uni-wuerzburg.de>
    1919!
    20 !   Copyright: MAGIC Software Development, 2000-2005
     20!   Copyright: MAGIC Software Development, 2000-2007
    2121!
    2222!
     
    3636//
    3737// Output:
    38 //   MEnergyEst
     38//   fNameParameter [MParameterD] <default=MParameterD>
    3939//
    4040/////////////////////////////////////////////////////////////////////////////
     
    110110        return kFALSE;
    111111
    112     *fLog << inf << "Rule: " << fData->GetRule() << endl;
     112    *fLog << inf << "Rule for " << fNameParameter << ": " << fData->GetRule() << endl;
    113113
    114114    if (!fData->PreProcess(plist))
     
    142142}
    143143
     144// --------------------------------------------------------------------------
     145//
     146// Print some execution statistics
     147//
    144148Int_t MParameterCalc::PostProcess()
    145149{
     
    180184//   test.rc:
    181185//     MyEstimator.Rule: {0} + {1}
     186//     MyEstimator.NameOutput: MParameterD
    182187//     MyEstimator.0: log10(MHillas.fSize)
    183188//     MyEstimator.1: 5.5
     
    206211    }
    207212
    208     return kTRUE;
    209 }
     213    if (IsEnvDefined(env, prefix, "NameOutput", print))
     214        fNameParameter = GetEnvValue(env, prefix, "NameOutput", fNameParameter);
     215
     216    return kTRUE;
     217}
Note: See TracChangeset for help on using the changeset viewer.