Ignore:
Timestamp:
03/05/07 09:44:55 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mjobs
Files:
5 edited

Legend:

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

    r7125 r8369  
    4949//
    5050MJCalib::MJCalib() : fDataFlag(kIsUseRawData), fStorage(0),
    51                      fIsPixelCheck(kFALSE), fIsPulsePosCheck(kFALSE),
    52                      fIsHiLoCalibration(kFALSE)
     51                     fIsPixelCheck(kFALSE), fIsPulsePosCheck(kFALSE)/*,
     52                     fIsHiLoCalibration(kFALSE)*/
    5353{
    5454  SetUseBlindPixel(kFALSE);
     
    6363    SetPulsePosCheck(GetEnv("PulsePosCheck", fIsPulsePosCheck));
    6464    SetCheckedPixId(GetEnv("CheckedPixId",fCheckedPixId));
    65     SetHiLoCalibration(GetEnv("HiLoCalibration", fIsHiLoCalibration));
     65    //SetHiLoCalibration(GetEnv("HiLoCalibration", fIsHiLoCalibration));
    6666
    6767    if (HasEnv("StorageType"))
  • trunk/MagicSoft/Mars/mjobs/MJCalib.h

    r6985 r8369  
    4646
    4747    Bool_t fIsPulsePosCheck;            // Check pulse position?
    48     Bool_t fIsHiLoCalibration;          // Choose to calibrate the high-gain vs. low-gains
     48    //Bool_t fIsHiLoCalibration;          // Choose to calibrate the high-gain vs. low-gains
    4949   
    5050    Bool_t CheckEnvLocal();
     
    7676    void SetHistsStorage ( const Bool_t b=kTRUE ) { b ? SETBIT(fStorage,kHistsStorage) : CLRBIT(fStorage,kHistsStorage); }
    7777
    78     void SetHiLoCalibration( const Bool_t b=kTRUE )  { fIsHiLoCalibration = b; }
     78    //void SetHiLoCalibration( const Bool_t b=kTRUE )  { fIsHiLoCalibration = b; }
    7979    void SetPixelCheck     ( const Bool_t b=kTRUE )  { fIsPixelCheck        = b; }
    8080    void SetPulsePosCheck  ( const Bool_t b=kTRUE )  { fIsPulsePosCheck     = b; }
  • trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc

    r8363 r8369  
    856856void MJCalibrateSignal::DisplayResult(MParList &plist)
    857857{
     858    /*
    858859    if (!fDisplay || !fIsHiLoCalibration)
    859860        return;
    860     /*
     861
    861862    MCalibrationHiLoCam *hcam = (MCalibrationHiLoCam*)plist.FindObject("MCalibrationHiLoCam");
    862863    MGeomCam            *geom = (MGeomCam*)plist.FindObject("MGeomCam");
  • trunk/MagicSoft/Mars/mjobs/MJCalibration.cc

    r8301 r8369  
    207207  fTitle = title ? title : "Tool to create the calibration constants for one calibration run";
    208208 
    209   SetHiLoCalibration();
     209  //SetHiLoCalibration();
    210210  SetRelTimeCalibration();
    211211  SetDebug(kFALSE);
     
    14711471Bool_t MJCalibration::ReadHiLoCalibFile()
    14721472{
    1473     if (!fIsHiLoCalibration)
     1473    if (fExtractor && !fExtractor->HasLoGain())
    14741474        return kTRUE;
     1475
     1476//    if (!fIsHiLoCalibration)
     1477//        return kTRUE;
    14751478
    14761479    // We use the night time stamp to determine the period
  • trunk/MagicSoft/Mars/mjobs/MJPedestal.cc

    r8361 r8369  
    11411141    ftp2.SetDefault(kTRUE);
    11421142    ftp2.DenyCalibration();
    1143 //    ftp2.RequirePedestal();
    1144 
    1145     if (!IsUseMC())
     1143    ftp2.RequirePedestal();
     1144
     1145    if (!IsUseMC() && (!fExtractor || !fExtractor->HasLoGain()))
    11461146    {
    11471147        taskenv.SetFilter(&ftp2);
Note: See TracChangeset for help on using the changeset viewer.