Changeset 3860 for trunk


Ignore:
Timestamp:
04/28/04 10:10:25 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3858 r3860  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20 2004/04/28: Markus Gaug
     21 
     22   * macros/calibrate_data.C
     23     - fixed a bug in loop 3 taking the default QE Cam instead of the
     24       one filled by MJCalibration
     25
     26
    2027 2004/04/27: Raquel de los Reyes
    2128
  • trunk/MagicSoft/Mars/macros/calibrate_data.C

    r3832 r3860  
    2424\* ======================================================================== */
    2525
    26 const TString defpath = "/mnt/Data/rootdata/CrabNebula/2004_01_27/";
     26const TString defpath = "/home/rootdata/Calib/2004_04_16/";
    2727const TString defrout = "output_test.root";
    2828
    29 const Int_t defpedr [] = {12461};
    30 const Int_t defcalr [] = {12526,12527,12528,12529};
    31 const Int_t defdatar[] = {12517,12518};
     29const Int_t defpedr [] = {22265};
     30const Int_t defcalr [] = {22300};
     31const Int_t defdatar[] = {22300};
    3232
    3333void calibrate_data(const TString inpath=defpath,
    3434                    const Int_t psize=1, const Int_t pedruns[]=defpedr,
    35                     const Int_t csize=4, const Int_t calruns[]=defcalr,
    36                     const Int_t dsize=2, const Int_t dataruns[]=defdatar,
     35                    const Int_t csize=1, const Int_t calruns[]=defcalr,
     36                    const Int_t dsize=1, const Int_t dataruns[]=defdatar,
    3737                    const TString resname=defrout)
    3838
     
    118118  // ---------------------------------------------------
    119119  //
    120   MCalibrationQECam qecam;
    121120  MJCalibration     calloop;
    122121  calloop.SetInput(&cruns);
     
    129128  // Set the corr. cams:
    130129  //
    131   calloop.SetQECam(qecam);
    132130  calloop.SetBadPixels(badcam);
    133131  //
     
    160158  MCalibrationChargeCam  &calcam  = calloop.GetCalibrationCam();
    161159  MCalibrationRelTimeCam &timecam = calloop.GetRelTimeCam();
     160  MCalibrationQECam      &qecam   = calloop.GetQECam();
    162161
    163162  badbad.Print();
Note: See TracChangeset for help on using the changeset viewer.