- Timestamp:
- 08/27/04 15:10:41 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r4759 r4760 192 192 // return kFALSE; 193 193 194 if (GetEnv()) 195 CheckEnv(); 194 CheckEnv(); 196 195 197 196 // -------------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r4759 r4760 1248 1248 // For more details see the class description and the corresponding Getters 1249 1249 // 1250 Bool_t MJCalibration::CheckEnv ()1250 Bool_t MJCalibration::CheckEnvLocal() 1251 1251 { 1252 1252 TString col = GetEnv("Color", ""); … … 1269 1269 SetUsePINDiode(GetEnv("UsePINDiode", IsUsePINDiode())); 1270 1270 1271 return MJob::CheckEnv();1271 return kTRUE; 1272 1272 } 1273 1273 … … 1386 1386 } 1387 1387 1388 //if (!CheckEnv()) 1389 // return kFALSE; 1390 1391 if (GetEnv()) 1392 CheckEnv(); 1388 CheckEnv(); 1393 1389 1394 1390 // -------------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mjobs/MJCalibration.h
r4753 r4760 105 105 Bool_t WriteEventloop(MEvtLoop &evtloop) const; 106 106 Bool_t WriteTasks(MTask *t1, MTask *t2) const; 107 Bool_t CheckEnv ();107 Bool_t CheckEnvLocal(); 108 108 109 109 // WORKAROUNDS!!! -
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r4759 r4760 461 461 */ 462 462 463 Bool_t MJPedestal::CheckEnv ()463 Bool_t MJPedestal::CheckEnvLocal() 464 464 { 465 465 if (HasEnv("DataCheckDisplay")) … … 469 469 SetOverwrite(GetEnv("Overwrite", fOverwrite)); 470 470 471 return MJob::CheckEnv();471 return kTRUE; 472 472 } 473 473 … … 536 536 // return kFALSE; 537 537 538 if (GetEnv()) 539 CheckEnv(); 538 CheckEnv(); 540 539 541 540 // -------------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mjobs/MJPedestal.h
r4732 r4760 62 62 void FixDataCheckHist(TH1D *hist) const; 63 63 64 Bool_t CheckEnv ();64 Bool_t CheckEnvLocal(); 65 65 66 66 public: -
trunk/MagicSoft/Mars/mjobs/MJStar.cc
r4759 r4760 104 104 // return kFALSE; 105 105 106 if (GetEnv()) 107 CheckEnv(); 106 CheckEnv(); 108 107 109 108 // -------------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mjobs/MJob.cc
r4732 r4760 140 140 Bool_t MJob::CheckEnv() 141 141 { 142 if (!fEnv) 143 return kTRUE; 144 142 145 TString p; 143 146 p = GetEnv("PathOut", ""); … … 156 159 SetOverwrite(GetEnv("Overwrite", fOverwrite)); 157 160 158 return kTRUE;161 return CheckEnvLocal(); 159 162 } 160 163 -
trunk/MagicSoft/Mars/mjobs/MJob.h
r4732 r4760 35 35 36 36 Bool_t SetupEnv(MEvtLoop &loop) const; 37 virtual Bool_t CheckEnv(); 37 Bool_t CheckEnv(); 38 virtual Bool_t CheckEnvLocal() { return kTRUE; } 38 39 39 40 public:
Note:
See TracChangeset
for help on using the changeset viewer.