Changeset 6281 for trunk/MagicSoft/Mars/mjobs/MJCalibTest.cc
- Timestamp:
- 02/07/05 15:18:01 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibTest.cc
r6234 r6281 91 91 92 92 using namespace std; 93 93 94 // -------------------------------------------------------------------------- 94 95 // … … 277 278 cont.Add(&cam); 278 279 return ReadContainer(cont); 279 }280 281 // --------------------------------------------------------------------------282 //283 // MJCalibration allows to setup several option by a resource file:284 // MJCalibrateSignal.RawData: yes,no285 //286 // For more details see the class description and the corresponding Getters287 //288 Bool_t MJCalibTest::CheckEnvLocal()289 {290 291 SetUseRootData();292 293 if (HasEnv("DataType"))294 {295 TString dat = GetEnv("DataType", "");296 dat = dat.Strip(TString::kBoth);297 if (dat.BeginsWith("raw", TString::kIgnoreCase))298 {299 fDataFlag = 0;300 SetUseRawData();301 }302 if (dat.BeginsWith("root", TString::kIgnoreCase))303 {304 fDataFlag = 0;305 SetUseRootData();306 }307 if (dat.BeginsWith("mc", TString::kIgnoreCase))308 {309 fDataFlag = 0;310 SetUseMC();311 }312 }313 return kTRUE;314 280 } 315 281
Note:
See TracChangeset
for help on using the changeset viewer.