Ignore:
Timestamp:
04/30/04 17:11:54 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3906 r3913  
    5555//
    5656/////////////////////////////////////////////////////////////////////////////
    57 //static const TString inpath = "/home/rootdata/Calib/2004_04_16/";
    58 static const TString inpath = "/mnt/Data/rootdata/CrabNebula/2003_12_01/";
    59 static const Int_t pedrun  = 3340;
    60 static const Int_t calrun1 = 3341;
     57static const TString inpath = "/mnt/Data/rootdata/Miscellaneous/2004_03_03/";
     58static const Int_t pedrun  = 20123;
     59static const Int_t calrun1 = 20126;
    6160static const Int_t calrun2 = 0;
    62 /*
    63 static const Int_t pedrun  = 22265;
    64 static const Int_t calrun1 = 22300;
    65 static const Int_t calrun2 = 0;
    66 */
     61
    6762void calibration(const Int_t prun=pedrun, const Int_t crun1=calrun1, const Int_t crun2=calrun2)
    6863{
    6964
    7065  MExtractFixedWindowPeakSearch extractor;
    71   extractor.SetRange(0,6,0,6);
     66  //  extractor.SetRange(0,14,0,14);
    7267
    73   /*
    74   MExtractTimeSpline timeext;
    75   timeext.SetRange(0,14,6,14);
    76   */
     68  // MExtractSlidingWindow  extractor;   
     69  // MExtractFixedWindow    extractor;   
     70
     71  MExtractTimeHighestIntegral timeext;
     72
     73  // MExtractTimeSpline timeext;
     74  // timeext.SetRange(0,14,6,14);
    7775
    7876  MRunIter pruns;
     
    137135  calloop.SetRelTimeCalibration();
    138136  calloop.SetExtractor(&extractor);
    139   //  calloop.SetArrivalTimeLevel(1);
    140   //  calloop.SetTimeExtractor(&timeext);
     137  calloop.SetTimeExtractor(&timeext);
    141138  calloop.SetInput(&cruns);
    142139  calloop.SetDisplay(display);
Note: See TracChangeset for help on using the changeset viewer.