Ignore:
Timestamp:
04/28/04 11:15:08 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/macros
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/bootcampstandardanalysis.C

    r3832 r3862  
    6060{
    6161
     62  MExtractSlidingWindow extractor;
     63
    6264  MRunIter pruns;
    6365  MRunIter cruns;
     
    118120  MJCalibration     calloop;
    119121  calloop.SetInput(&cruns);
    120   //
    121   // Use as signal extractor MExtractSignal:
    122   //
    123   calloop.SetExtractorLevel(1);
     122  calloop.SetExtractor(&extractor);
    124123  //
    125124  // Set the corr. cams:
     
    186185  static_cast<MRead&>(read3).AddFiles(pruns); 
    187186
    188   MExtractSignal   extsig;
    189187  MCalibrate       photcalc;
    190188  photcalc.SetCalibrationMode(MCalibrate::kFfactor);
     
    193191  tlist3.AddToList(&read3);
    194192  tlist3.AddToList(&geomapl);
    195   tlist3.AddToList(&extsig);
     193  tlist3.AddToList(&extractor);
    196194  tlist3.AddToList(&photcalc);
    197195  //    tlist3.AddToList(&photrmscalc);
     
    252250  tlist4.AddToList(&read4);
    253251  tlist4.AddToList(&geomapl);
    254   tlist4.AddToList(&extsig);
     252  tlist4.AddToList(&extractor);
    255253  tlist4.AddToList(&timecalc);
    256254  tlist4.AddToList(&photcalc);
     
    264262
    265263  if (!evtloop4.PreProcess())
    266 
    267264    return;
    268265 
  • trunk/MagicSoft/Mars/macros/calibration.C

    r3855 r3862  
    6363{
    6464
     65  MExtractFixedWindowPeakSearch extractor;
    6566 
    6667  MRunIter pruns;
     
    120121  //
    121122  //  calloop.SetRelTimeCalibration();
     123  calloop.SetExtractor(&extractor);
    122124  calloop.SetInput(&cruns);
    123125  calloop.SetDisplay(display);
     
    134136  MJExtractCalibTest testloop;
    135137
     138  testloop.SetExtractor(&extractor);
    136139  testloop.SetInput(&cruns);
    137140  testloop.SetDisplay(display);
  • trunk/MagicSoft/Mars/macros/pedphotcalc.C

    r3832 r3862  
    6565#include "MCalibrationQEPix.h"
    6666#include "MExtractedSignalCam.h"
    67 #include "MExtractSignal.h"
     67#include "MExtractSlidingWindow.h"
     68#include "MExtractFixedWindow.h"
    6869#include "MCerPhotEvt.h"
    6970#include "MCalibrate.h"
     
    210211                 )
    211212{
     213
     214  MExtractFixedWindow extractor;
    212215 
    213216  MRunIter pruns;
     
    266269  // Use as signal extractor MExtractSignal:
    267270  //
    268   calloop.SetExtractorLevel(1);
     271  calloop.SetExtractor(&extractor);
    269272  //
    270273  // The next two commands are for the display:
     
    313316  static_cast<MRead&>(read3).AddFiles(pruns); 
    314317
    315   MExtractSignal  sigcalc;
    316318  MCalibrate      photcalc;
    317319  photcalc.SetCalibrationMode(MCalibrate::kFfactor);
     
    320322  tlist3.AddToList(&read3);
    321323  tlist3.AddToList(&geomapl);
    322   tlist3.AddToList(&sigcalc);
     324  tlist3.AddToList(&extractor);
    323325  tlist3.AddToList(&photcalc);
    324326  tlist3.AddToList(&pedphotcalc);
Note: See TracChangeset for help on using the changeset viewer.