Changeset 6845 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 03/17/05 12:04:06 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJPedestal.h
r6768 r6845 112 112 void SetExtractor(MExtractor* ext); 113 113 void SetUseData() { fExtractType = kUseData; } 114 void SetUseHists( ) { fIsUseHists = kTRUE; }114 void SetUseHists( const Bool_t b=kTRUE) { fIsUseHists = b; } 115 115 void SetUsePedRun() { fExtractType = kUsePedRun; } 116 116 void SetDataCheckDisplay() { fDisplayType = kDisplayDataCheck; } -
trunk/MagicSoft/Mars/mjobs/MSequence.cc
r6604 r6845 248 248 } 249 249 250 LightCondition_t MSequence::ReadLightCondition(TEnv &env) const 251 { 252 TString str = env.GetValue("LightCondition", "n/a"); 253 if (!str.CompareTo("n/a", TString::kIgnoreCase)) 254 return kNA; 255 if (!str.CompareTo("NoMoon", TString::kIgnoreCase)) 256 return kNoMoon; 257 if (!str.CompareTo("Twilight", TString::kIgnoreCase)) 258 return kTwilight; 259 if (!str.CompareTo("Moon", TString::kIgnoreCase)) 260 return kMoon; 261 262 gLog << warn << "MSequence: LightCondition-tag not n/a, nomoon, twilight or moon." << endl; 263 return kNA; 264 } 265 250 266 // -------------------------------------------------------------------------- 251 267 // … … 269 285 fNumEvents = env.GetValue("NumEvents", -1); 270 286 fPeriod = env.GetValue("Period", -1); 287 288 fLightCondition = ReadLightCondition(env); 271 289 272 290 str = env.GetValue("Start", "");
Note:
See TracChangeset
for help on using the changeset viewer.