Changeset 1863 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
03/24/03 14:05:46 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

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

    r1794 r1863  
    3939// of one eventloop to where you want..                                     //
    4040//                                                                          //
     41// The MLog stream has the advantage, that it can be used like the common   //
     42// C++ streams (for example cout). It can redirect the stream to different  //
     43// outputs (console, file, GUI) if necessary at the same time.              //
     44//                                                                          //
     45// It supports different debug levels. The debug level of the current       //
     46// stream contents is set by SetDebugLevel, the output level of the         //
     47// current stream can be set by SetOutputLevel.                             //
     48//                                                                          //
     49// The header file MLogManip.h contains so called manipulators (like flush  //
     50// or setw from iomanip.h) which can manipulate these levels from within    //
     51// stream, for example:                                                     //
     52//    gLog << debug(3) << "Hallo World " << endl;                           //
     53// sets the debug level of the following stream to 3                        //
     54//                                                                          //
     55// edev(), ddev() can be used to enable/disable an output device from       //
     56// within the stream. The enumerations are defined in MLog::_flags          //
     57//                                                                          //
     58// Commonly used abbreviations are also defined:                            //
     59//    dbginf  Prints source file name and line number. Used for output      //
     60//            which people may like to look up in the code                  //
     61//    all     Is streamed to the output in any case. Used for outputs       //
     62//            which are requested by the user (eg TObject::Print)           //
     63//    err     Should be used for fatal errors which stops the current       //
     64//            processing, eg:                                               //
     65//              gLog << err << "ERROR: TObject::Copy - Stopped" << endl;    //
     66//    warn    Warning means an error occured, but it is not clear whether   //
     67//            this results further procesing or not.                        //
     68//    inf     Informs the user about what's going on. Mostly usefull for    //
     69//            debugging, but in general not necessary at all.               //
     70//                                                                          //
     71// gLog is a global stream defined like cout or cerr                        //
     72//                                                                          //
    4173//////////////////////////////////////////////////////////////////////////////
    4274
  • trunk/MagicSoft/Mars/mfilter/MF.cc

    r1846 r1863  
    6969//
    7070//
     71//  If you intend to use Data Chains in filters enclose the chains in
     72//  this {}-parenthesis, eg.
     73//
     74//   "{MHillas.fSize*MHillas.fWidth}<0.5"
     75//
    7176// FIXME: The possibility to use also complete filters is missing.
    7277//        Maybe we can use gInterpreter->Calc("") for this.
Note: See TracChangeset for help on using the changeset viewer.