Changeset 6910


Ignore:
Timestamp:
04/05/05 11:47:55 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6909 r6910  
    3030     mjobs/hilocalib_sp1_mc.root:
    3131     - added
     32
     33   * mimage/MHillasCalc.[h,cc]:
     34     - implemented missing ReadEnv - DON'T KNOW WHERE IT WAS! argh...
    3235
    3336
  • trunk/MagicSoft/Mars/mimage/MHillasCalc.cc

    r6869 r6910  
    469469}
    470470
     471// --------------------------------------------------------------------------
     472//
     473// Read the setup from a TEnv, eg:
     474//   MHillasCalc.IdxIsland: -1
     475//
     476Int_t MHillasCalc::ReadEnv(const TEnv &env, TString prefix, Bool_t print)
     477{
     478    Bool_t rc = kFALSE;
     479    if (IsEnvDefined(env, prefix, "IdxIsland", print))
     480    {
     481        rc = kTRUE;
     482        SetIdxIsland(GetEnvValue(env, prefix, "IdxIsland", fIdxIsland));
     483    }
     484    return rc;
     485}
  • trunk/MagicSoft/Mars/mimage/MHillasCalc.h

    r6869 r6910  
    6969    // MParContainer
    7070    void StreamPrimitive(ofstream &out) const;
     71    Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
    7172
    7273    // MTask
Note: See TracChangeset for help on using the changeset viewer.