Changeset 6532 for trunk/MagicSoft/Mars
- Timestamp:
- 02/16/05 16:22:18 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6531 r6532 32 32 in newer root versions 33 33 34 * msignal/MExtractTimeAndCharge.cc 35 - initialize fLoGainStartShift correctly if read from conf. file 36 and modified fOffsetLoGain exists. 34 37 35 38 -
trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc
r6469 r6532 223 223 fLoGainFirst = logainstart > fLoGainFirstSave ? logainstart : fLoGainFirstSave; 224 224 225 // *fLog << err << (Int_t)fLoGainFirst << endl; 226 225 227 if ( fLoGainFirst < fLoGainLast ) 226 228 { … … 264 266 Int_t MExtractTimeAndCharge::ReadEnv(const TEnv &env, TString prefix, Bool_t print) 265 267 { 266 Bool_t rc = kFALSE; 268 269 Bool_t rc = MExtractTime::ReadEnv(env, prefix, print); 270 271 if (rc) 272 SetLoGainStartShift(); 267 273 268 274 if (IsEnvDefined(env, prefix, "LoGainStartShift", print)) 269 275 { 270 fLoGainStartShift = GetEnvValue(env, prefix, "LoGainStartShift", fLoGainStartShift); 276 fLoGainStartShift = GetEnvValue(env, prefix, "LoGainStartShift", fgLoGainStartShift); 277 SetLoGainStartShift(fLoGainStartShift); 271 278 rc = kTRUE; 272 279 } … … 278 285 } 279 286 280 return MExtractTime::ReadEnv(env, prefix, print) ? kTRUE :rc;287 return rc; 281 288 } 282 289
Note:
See TracChangeset
for help on using the changeset viewer.