Ignore:
Timestamp:
06/30/04 17:55:26 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MEvtLoop.cc

    r3666 r4368  
    7272#include <fstream>          // ofstream, SavePrimitive
    7373
     74#include <TEnv.h>           // TEnv
    7475#include <TRint.h>          // gApplication, TRint::Class()
    7576#include <TTime.h>          // TTime
     
    956957// --------------------------------------------------------------------------
    957958//
     959// Calls 'ReadEnv' with a TEnv initialized with the given file name.
     960// If 'config=0' kTRUE is returned.
     961//
     962Bool_t MEvtLoop::ReadEnv(const char *config)
     963{
     964    return config ? ReadEnv(TEnv(config)) : kTRUE;
     965}
     966
     967// --------------------------------------------------------------------------
     968//
    958969// Write the contents/setup of a parameter container/task to a TEnv
    959970// instance (steering card/setup file).
  • trunk/MagicSoft/Mars/mbase/MEvtLoop.h

    r2728 r4368  
    8080    Bool_t WriteEnv(TEnv &env, TString prefix="", Bool_t print=kFALSE) const;
    8181
     82    Bool_t ReadEnv(const char *config);
     83
    8284    void RecursiveRemove(TObject *obj);
    8385
Note: See TracChangeset for help on using the changeset viewer.