Ignore:
Timestamp:
01/25/09 14:39:15 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/msimreflector
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msimreflector/MReflector.cc

    r9252 r9262  
    120120Bool_t MReflector::ReadFile(TString fname)
    121121{
     122    SetTitle(fname);
     123
    122124    gSystem->ExpandPathName(fname);
    123125
     
    265267}
    266268
     269// --------------------------------------------------------------------------
     270//
     271// FileName: reflector.txt
     272//
     273Int_t MReflector::ReadEnv(const TEnv &env, TString prefix, Bool_t print)
     274{
     275    Bool_t rc = kFALSE;
     276    if (IsEnvDefined(env, prefix, "FileName", print))
     277    {
     278        rc = kTRUE;
     279        if (!ReadFile(GetEnvValue(env, prefix, "FileName", "")))
     280            return kERROR;
     281    }
     282
     283    return rc;
     284}
  • trunk/MagicSoft/Mars/msimreflector/MReflector.h

    r9236 r9262  
    2828    void InitMaxR();
    2929
     30    Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
     31
    3032public:
    3133    MReflector(const char *name=NULL, const char *title=NULL);
Note: See TracChangeset for help on using the changeset viewer.