Changeset 8426 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
04/20/07 14:13:31 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7887 r8426  
    1818!   Author(s): Thomas Bretz, 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de>
    1919!
    20 !   Copyright: MAGIC Software Development, 2000-2003
     20!   Copyright: MAGIC Software Development, 2000-2007
    2121!
    2222!
     
    109109#include "MStatusDisplay.h"
    110110
     111#undef DEBUG_PROCESS
     112//#define DEBUG_PROCESS
     113
    111114ClassImp(MTask);
    112115
     
    126129}
    127130
     131// --------------------------------------------------------------------------
     132//
     133// Destructor. Delete fStopwatch and fListOfBranches
     134//
    128135MTask::~MTask()
    129136{
     
    132139}
    133140
     141// --------------------------------------------------------------------------
     142//
     143// Initialize fFilter with filter and if not null add the result of
     144// GetDataMember from the filter to the branch list.
     145//
    134146void MTask::SetFilter(MFilter *filter)
    135147{
     
    194206// --------------------------------------------------------------------------
    195207//
    196 // Copy constructor.
     208// Copy constructor. Reset MInputStreamID, copy pointer to fFilter and
     209// copy the contents of fListOfBranches
    197210//
    198211MTask::MTask(MTask &t) : MInputStreamID()
     
    265278    fNumExecutions++;
    266279
     280#ifdef DEBUG_PROCESS
     281    *fLog << all << flush << GetName() << "..." << flush;
     282#endif
     283
    267284    const Int_t rc = Process();
     285
     286#ifdef DEBUG_PROCESS
     287    *fLog << all << flush << "done." << endl;
     288#endif
    268289
    269290    if (!HasAccelerator(kAccDontTime))
Note: See TracChangeset for help on using the changeset viewer.