Changeset 6502 for trunk/MagicSoft


Ignore:
Timestamp:
02/15/05 18:59:34 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6500 r6502  
    105105   * mjobs/MJStar.cc:
    106106     - copy tree 'MonteCarlo' from old into new files
     107
     108   * mjobs/MJPedestal.cc:
     109     - removed wrong use of MFEventSelector
     110
     111   * mpedestal/MExtractPedestal.cc:
     112     - made sure that fExtractor is correctly pre- and
     113       postprocessed.
     114
     115   * mbase/MTask.cc:
     116     - don't preprocess a task if it has been preprocessed already
    107117
    108118
  • trunk/MagicSoft/Mars/mbase/MTask.cc

    r6500 r6502  
    207207// Sets the preprocessed flag dependend on the return value of PreProcess.
    208208// Resets number of executions and cpu consumtion timer.
     209// If task has already been preprocessed return kTRUE.
    209210//
    210211Int_t MTask::CallPreProcess(MParList *plist)
    211212{
     213    if (fIsPreprocessed)
     214        return kTRUE;
     215
    212216    // This does not reset the counter!
    213217    fStopwatch->Reset();
  • trunk/MagicSoft/Mars/mjobs/MJPedestal.cc

    r6340 r6502  
    6262// Other basic classes
    6363#include "MExtractTimeAndCharge.h"
    64 #include "MFEventSelector.h"
    6564
    6665// parameter containers
     
    981980    }
    982981
    983     MFEventSelector sel;
    984     sel.SetNumSelectEvts(0);
    985    
    986     if (fExtractionType!=kFundamental)
    987       {
    988         fExtractor->SetFilter(&sel);
    989         tlist.AddToList(&sel);
    990         tlist.AddToList(fExtractor);
    991       }
    992 
    993982    // ----------------------------------------------------------------------
    994983    //   Now we make sure, that in all cases the ranges are setup correctly
  • trunk/MagicSoft/Mars/mpedestal/MExtractPedestal.cc

    r6393 r6502  
    366366  Print();
    367367
    368   // FIMXE: MUST call fExtractor->PreProcess()???
    369   return kTRUE;
     368  return fExtractor ? fExtractor->CallPreProcess(pList) : kTRUE;
    370369}
    371370
     
    455454{
    456455  fPedestalsIn = NULL;
    457   return kTRUE;
     456  return fExtractor ? fExtractor->CallPostProcess() : kTRUE;
    458457}
    459458
Note: See TracChangeset for help on using the changeset viewer.