Changeset 4428


Ignore:
Timestamp:
07/28/04 10:56:38 (20 years ago)
Author:
aliu
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mtemp/mifae
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/mifae/Changelog

    r4423 r4428  
    1919                                                 -*-*- END OF LINE -*-*-
    2020
     21  2004/07/28 Ester Aliu Fuste
     22    * programa/makeHillas.cc
     23     - Add a flag for the time calibration
     24 
    2125  2004/07/26 Ester Aliu Fuste
    2226    * library/MIslandCalc.cc
  • trunk/MagicSoft/Mars/mtemp/mifae/programs/makeHillas.cc

    r4425 r4428  
    8484ULong_t  nmaxevents= 999999999;
    8585Short_t  calflag   = 1;
     86Bool_t  caltimeflag   = kFALSE;
    8687Short_t  cleanflag   = 1;
    8788UShort_t  lrings     = 1;
     
    135136{
    136137  // Set the general tasks/containers
    137   MExtractFixedWindow    extractor;
     138  //MExtractFixedWindow    extractor;
     139  //extractor.SetRange(hifirst,hilast,lofirst,lolast);
     140 
     141  MExtractSlidingWindow    extractor;
    138142  extractor.SetRange(hifirst,hilast,lofirst,lolast);
    139  
    140   //  MExtractSlidingWindow    extractor;
    141   //  extractor.SetRange(hifirst,hilast,lofirst,lolast);
    142   //  extractor.SetWindowSize(4,4);
     143  extractor.SetWindowSize(4,4);
    143144 
    144145  MGeomCamMagic       geomcam;
     
    169170  MJCalibration calloop;
    170171
     172  calloop.SetRelTimeCalibration(caltimeflag);
    171173  calloop.SetExtractor(&extractor);
    172174  calloop.SetInput(&caliter);
     
    507509        ifun >> calflag;
    508510
     511      // calibration flag
     512      if(strcmp(word.Data(),"CALTIME")==0)
     513        ifun >> caltimeflag;
    509514
    510515      // cleaning level
  • trunk/MagicSoft/Mars/mtemp/mifae/programs/makehillas.datacard

    r4413 r4428  
    4949CALFLAG 0
    5050
     51// calibration time:
     52//   0: kFALSE (no time calibration)
     53//   1: kTRUE  (time calibration)
     54//CALTIME 1
     55
     56
    5157// Cleaning level (tail cut, boundary cut, number of rings, cleaning method - 1=standard, 2=democratic)
    5258CLEANLEVEL 3.0 1.5 1 1
    5359
    5460//Island calculations
    55 // 0  nothing about islands
    56 // 1  islands w/o cleaning
     61// 0  nothing about islands    1:normal algorithm
     62// 1  islands w/o cleaning     2:alternative algorithm
    5763// 2  islands  w  cleaning
    58 ISLFLAG 0
     64ISLFLAG 0 1
    5965
    6066// island cleaning:
Note: See TracChangeset for help on using the changeset viewer.