Ignore:
Timestamp:
03/16/05 13:27:32 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mjobs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc

    r6821 r6828  
    122122// - fIsRelTimesUpdate to kFALSE
    123123// - fIsHiLoCalibration to kFALSE
    124 // - fIsModifiedExtractWin to kTRUE
    125124// - fPulsePosCheck to kTRUE
    126125//
    127126MJCalibrateSignal::MJCalibrateSignal(const char *name, const char *title)
    128     : fExtractor(0), fIsInterlaced(kTRUE), fIsRelTimesUpdate(kFALSE),
    129       fIsModifiedExtractWin(kTRUE)
     127    : fExtractor(0), fIsInterlaced(kTRUE), fIsRelTimesUpdate(kFALSE)
    130128{
    131129    fName  = name  ? name  : "MJCalibrateSignal";
     
    272270Bool_t MJCalibrateSignal::CheckEnvLocal()
    273271{
    274 
    275272    SetInterlaced(GetEnv("Interlaced", fIsInterlaced));
    276273    SetRelTimesUpdate(GetEnv("RelTimesUpdate", fIsRelTimesUpdate));
    277     SetModifiedExtractWin(GetEnv("ModifiedExtractWin", fIsModifiedExtractWin));
    278274
    279275    return MJCalib::CheckEnvLocal();
  • trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.h

    r6821 r6828  
    2222    MExtractor *fExtractor;
    2323
    24   //    MRunIter *fCruns;                   // Calibration run iter
    2524    Bool_t fIsInterlaced;               // Distinguish interlaced from other calibration
    2625    Bool_t fIsRelTimesUpdate;           // Choose to update relative times from interlaced
    27     Bool_t fIsModifiedExtractWin;       // Choose to use the modified extraction window from pulse position
    2826   
    2927    Bool_t CheckEnvLocal();
     
    4846    void SetInterlaced     ( const Bool_t b=kTRUE )  { fIsInterlaced      = b; }
    4947    void SetRelTimesUpdate ( const Bool_t b=kTRUE )  { fIsRelTimesUpdate  = b; }
    50     void SetModifiedExtractWin( const Bool_t b=kTRUE )  { fIsModifiedExtractWin = b; }
    51 
    52     //    void SetInputCal    ( MRunIter *iter       )  { fCruns = iter; }
    5348
    5449    void SetExtractor(const MExtractor &ext);
  • trunk/MagicSoft/Mars/mjobs/MJCalibration.cc

    r6820 r6828  
    197197  fTitle = title ? title : "Tool to create the calibration constants for one calibration run";
    198198 
    199   SetUseBlindPixel();
    200   SetUsePINDiode();
     199  SetUseBlindPixel(kFALSE);
     200  SetUsePINDiode(kFALSE);
    201201 
    202202  SetHiLoCalibration();
     
    15271527      cpix.SetConversionHiLoErr(sigma);     
    15281528    }
     1529
    15291530  return kTRUE;
    15301531}
     
    17941795    MHCalibrationChargeBlindCam blindcam;
    17951796    plist.AddToList(&chargecam);
    1796     plist.AddToList(&blindcam);
     1797
     1798    if (IsUseBlindPixel())
     1799      plist.AddToList(&blindcam);
    17971800    if (IsRelTimes())
    1798         plist.AddToList(&reltimecam);
     1801      plist.AddToList(&reltimecam);
    17991802    //
    18001803    // Data Reading tasks
     
    19071910
    19081911    tlist.AddToList(&taskenv);
    1909     tlist.AddToList(&pinext);
    1910     tlist.AddToList(&blindext);
     1912   
     1913    if (IsUsePINDiode())
     1914      tlist.AddToList(&pinext);
     1915    if (IsUseBlindPixel())
     1916      tlist.AddToList(&blindext);
    19111917
    19121918    MTaskEnv taskenv2("ExtractTime");
Note: See TracChangeset for help on using the changeset viewer.