Changeset 6828 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 03/16/05 13:27:32 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r6821 r6828 122 122 // - fIsRelTimesUpdate to kFALSE 123 123 // - fIsHiLoCalibration to kFALSE 124 // - fIsModifiedExtractWin to kTRUE125 124 // - fPulsePosCheck to kTRUE 126 125 // 127 126 MJCalibrateSignal::MJCalibrateSignal(const char *name, const char *title) 128 : fExtractor(0), fIsInterlaced(kTRUE), fIsRelTimesUpdate(kFALSE), 129 fIsModifiedExtractWin(kTRUE) 127 : fExtractor(0), fIsInterlaced(kTRUE), fIsRelTimesUpdate(kFALSE) 130 128 { 131 129 fName = name ? name : "MJCalibrateSignal"; … … 272 270 Bool_t MJCalibrateSignal::CheckEnvLocal() 273 271 { 274 275 272 SetInterlaced(GetEnv("Interlaced", fIsInterlaced)); 276 273 SetRelTimesUpdate(GetEnv("RelTimesUpdate", fIsRelTimesUpdate)); 277 SetModifiedExtractWin(GetEnv("ModifiedExtractWin", fIsModifiedExtractWin));278 274 279 275 return MJCalib::CheckEnvLocal(); -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.h
r6821 r6828 22 22 MExtractor *fExtractor; 23 23 24 // MRunIter *fCruns; // Calibration run iter25 24 Bool_t fIsInterlaced; // Distinguish interlaced from other calibration 26 25 Bool_t fIsRelTimesUpdate; // Choose to update relative times from interlaced 27 Bool_t fIsModifiedExtractWin; // Choose to use the modified extraction window from pulse position28 26 29 27 Bool_t CheckEnvLocal(); … … 48 46 void SetInterlaced ( const Bool_t b=kTRUE ) { fIsInterlaced = b; } 49 47 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; }53 48 54 49 void SetExtractor(const MExtractor &ext); -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r6820 r6828 197 197 fTitle = title ? title : "Tool to create the calibration constants for one calibration run"; 198 198 199 SetUseBlindPixel( );200 SetUsePINDiode( );199 SetUseBlindPixel(kFALSE); 200 SetUsePINDiode(kFALSE); 201 201 202 202 SetHiLoCalibration(); … … 1527 1527 cpix.SetConversionHiLoErr(sigma); 1528 1528 } 1529 1529 1530 return kTRUE; 1530 1531 } … … 1794 1795 MHCalibrationChargeBlindCam blindcam; 1795 1796 plist.AddToList(&chargecam); 1796 plist.AddToList(&blindcam); 1797 1798 if (IsUseBlindPixel()) 1799 plist.AddToList(&blindcam); 1797 1800 if (IsRelTimes()) 1798 1801 plist.AddToList(&reltimecam); 1799 1802 // 1800 1803 // Data Reading tasks … … 1907 1910 1908 1911 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); 1911 1917 1912 1918 MTaskEnv taskenv2("ExtractTime");
Note:
See TracChangeset
for help on using the changeset viewer.