Changeset 8369 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 03/05/07 09:44:55 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalib.cc
r7125 r8369 49 49 // 50 50 MJCalib::MJCalib() : fDataFlag(kIsUseRawData), fStorage(0), 51 fIsPixelCheck(kFALSE), fIsPulsePosCheck(kFALSE) ,52 fIsHiLoCalibration(kFALSE) 51 fIsPixelCheck(kFALSE), fIsPulsePosCheck(kFALSE)/*, 52 fIsHiLoCalibration(kFALSE)*/ 53 53 { 54 54 SetUseBlindPixel(kFALSE); … … 63 63 SetPulsePosCheck(GetEnv("PulsePosCheck", fIsPulsePosCheck)); 64 64 SetCheckedPixId(GetEnv("CheckedPixId",fCheckedPixId)); 65 SetHiLoCalibration(GetEnv("HiLoCalibration", fIsHiLoCalibration));65 //SetHiLoCalibration(GetEnv("HiLoCalibration", fIsHiLoCalibration)); 66 66 67 67 if (HasEnv("StorageType")) -
trunk/MagicSoft/Mars/mjobs/MJCalib.h
r6985 r8369 46 46 47 47 Bool_t fIsPulsePosCheck; // Check pulse position? 48 Bool_t fIsHiLoCalibration; // Choose to calibrate the high-gain vs. low-gains48 //Bool_t fIsHiLoCalibration; // Choose to calibrate the high-gain vs. low-gains 49 49 50 50 Bool_t CheckEnvLocal(); … … 76 76 void SetHistsStorage ( const Bool_t b=kTRUE ) { b ? SETBIT(fStorage,kHistsStorage) : CLRBIT(fStorage,kHistsStorage); } 77 77 78 void SetHiLoCalibration( const Bool_t b=kTRUE ) { fIsHiLoCalibration = b; }78 //void SetHiLoCalibration( const Bool_t b=kTRUE ) { fIsHiLoCalibration = b; } 79 79 void SetPixelCheck ( const Bool_t b=kTRUE ) { fIsPixelCheck = b; } 80 80 void SetPulsePosCheck ( const Bool_t b=kTRUE ) { fIsPulsePosCheck = b; } -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r8363 r8369 856 856 void MJCalibrateSignal::DisplayResult(MParList &plist) 857 857 { 858 /* 858 859 if (!fDisplay || !fIsHiLoCalibration) 859 860 return; 860 /* 861 861 862 MCalibrationHiLoCam *hcam = (MCalibrationHiLoCam*)plist.FindObject("MCalibrationHiLoCam"); 862 863 MGeomCam *geom = (MGeomCam*)plist.FindObject("MGeomCam"); -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r8301 r8369 207 207 fTitle = title ? title : "Tool to create the calibration constants for one calibration run"; 208 208 209 SetHiLoCalibration();209 //SetHiLoCalibration(); 210 210 SetRelTimeCalibration(); 211 211 SetDebug(kFALSE); … … 1471 1471 Bool_t MJCalibration::ReadHiLoCalibFile() 1472 1472 { 1473 if ( !fIsHiLoCalibration)1473 if (fExtractor && !fExtractor->HasLoGain()) 1474 1474 return kTRUE; 1475 1476 // if (!fIsHiLoCalibration) 1477 // return kTRUE; 1475 1478 1476 1479 // We use the night time stamp to determine the period -
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r8361 r8369 1141 1141 ftp2.SetDefault(kTRUE); 1142 1142 ftp2.DenyCalibration(); 1143 //ftp2.RequirePedestal();1144 1145 if (!IsUseMC() )1143 ftp2.RequirePedestal(); 1144 1145 if (!IsUseMC() && (!fExtractor || !fExtractor->HasLoGain())) 1146 1146 { 1147 1147 taskenv.SetFilter(&ftp2);
Note:
See TracChangeset
for help on using the changeset viewer.