Changeset 4120 for trunk/MagicSoft


Ignore:
Timestamp:
05/22/04 04:53:38 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r4119 r4120  
    2020
    2121 2004/05/22: Abelardo Moralejo
     22
     23   * macros/calibrate_data.C
     24     - removed wrong call to MPedCalcPedRun::SetExtractor, which does
     25       not exist (should use MJPedestal like calibration.C, instead of
     26       a normal loop)
    2227
    2328   * msignal/MExtractFixedWindowPeakSearch.[h,cc]
  • trunk/MagicSoft/Mars/macros/calibrate_data.C

    r4039 r4120  
    2424\* ======================================================================== */
    2525
    26 const TString defpath = "/home/rootdata/Calib/2004_04_16/";
     26const TString defpath = "./";
    2727const TString defrout = "output_test.root";
    2828
    29 const Int_t defpedr [] = {22265};
    30 const Int_t defcalr [] = {22300};
    31 const Int_t defdatar[] = {22300};
     29const Int_t defpedr [] = {20122};
     30const Int_t defcalr [] = {20125};
     31const Int_t defdatar[] = {20122};
    3232
    3333void calibrate_data(const TString inpath=defpath,
     
    3939{
    4040
    41   MExtractSlidingWindow extractor;
     41//  MExtractSlidingWindow extractor;
     42
     43  MExtractFixedWindowPeakSearch extractor;
    4244  MExtractTimeFastSpline timeext;
    4345
     
    9496  MGeomApply     geomapl;
    9597  MPedCalcPedRun pedcalc;
    96   pedcalc.SetExtractor(&extractor);
    9798  MGeomCamMagic  geomcam;
    9899   
Note: See TracChangeset for help on using the changeset viewer.