Ignore:
Timestamp:
05/13/04 17:42:46 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJExtractCalibTest.cc

    r4066 r4068  
    6060#include "MExtractTime.h"
    6161#include "MExtractTimeFastSpline.h"
     62#include "MFCosmics.h"
     63#include "MContinue.h"
    6264#include "MFillH.h"
    6365#include "MCalibrate.h"
     
    263265  fillcam.SetNameTab("Test");
    264266
    265 
     267  MFCosmics cosmics;
     268  MContinue cont(&cosmics);
     269 
    266270  tlist.AddToList(&read);
    267271  tlist.AddToList(&apply);
     
    269273  if (fExtractor)
    270274    tlist.AddToList(fExtractor);
    271     else
    272     {
     275  else
     276  {
    273277      *fLog << warn << GetDescriptor()
    274278            << ": No extractor has been chosen, take default MExtractSlidingWindow " << endl;
    275279      tlist.AddToList(&extract2);
    276     }
     280  }
    277281
    278282  //  if (TestBit(kEnableGraphicalOutput))
     283  tlist.AddToList(&cont);
    279284  tlist.AddToList(&fill);
    280285  tlist.AddToList(&photcalc);
     
    337342  *fLog << endl;
    338343 
    339   MArrivalTime  arrtime;
     344  MArrivalTime     arrtime;
    340345
    341346  // Setup Lists
     
    357362  MGeomApply             apply; // Only necessary to craete geometry
    358363  MExtractTimeFastSpline extract;
     364  MExtractSlidingWindow  extcharge; // Only for the cosmics filter
    359365  MCalibrateRelTimes     timecalc;
     366  MFCosmics              cosmics;
     367  MContinue              cont(&cosmics);
    360368
    361369  MHCamEvent evt("ExtTimes");
     
    371379  if (fTimeExtractor)
    372380    tlist.AddToList(fTimeExtractor);
    373     else
    374     {
     381  else
     382  {
    375383      *fLog << warn << GetDescriptor()
    376384            << ": No extractor has been chosen, take default MExtractTimeFastSpline " << endl;
    377385      tlist.AddToList(&extract);
    378     }
    379 
    380   //  if (TestBit(kEnableGraphicalOutput))
     386  }
     387
     388  tlist.AddToList(&extcharge);
     389  tlist.AddToList(&cont);
    381390  tlist.AddToList(&fill);
    382391  tlist.AddToList(&timecalc);
Note: See TracChangeset for help on using the changeset viewer.