Changeset 8362 for trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc
- Timestamp:
- 03/04/07 13:25:16 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc
r8358 r8362 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MExtractTimeAndCharge.cc,v 1.6 3 2007-03-03 22:46:10tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MExtractTimeAndCharge.cc,v 1.64 2007-03-04 13:25:07 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 59 59 // - Byte_t fMaxBinContent; 60 60 // 61 // Class Version 4: 62 // ---------------- 63 // - Byte_t fLoGainSwitch 64 // + UInt_t fLoGainSwitch 65 // 61 66 // 62 67 // Input Containers: … … 100 105 101 106 const Float_t MExtractTimeAndCharge::fgLoGainStartShift = -2.5; 102 const Byte_t MExtractTimeAndCharge::fgLoGainSwitch = 120;107 const UInt_t MExtractTimeAndCharge::fgLoGainSwitch = 120; 103 108 104 109 // -------------------------------------------------------------------------- … … 226 231 Int_t sathi1 = fHiGainLast; // Last slice to extract and last saturating slice 227 232 228 Int_t maxcont;233 UInt_t maxcont; 229 234 Int_t maxposhi = fSignal->GetMax(pixidx, sathi0, sathi1, maxcont); 230 235 // Would it be better to take lastsat-firstsat? … … 334 339 335 340 // Would it be better to take lastsat-firstsat? 336 Int_t maxlo;341 UInt_t maxlo; 337 342 Int_t maxposlo = fSignal->GetMax(pixidx, satlo0, satlo1, maxlo); 338 343 numsatlo = fSignal->GetSaturation(pixidx, fSaturationLimit, satlo0, satlo1); … … 420 425 if (IsEnvDefined(env, prefix, "LoGainSwitch", print)) 421 426 { 422 fLoGainSwitch = GetEnvValue(env, prefix, "LoGainSwitch", fLoGainSwitch);427 fLoGainSwitch = GetEnvValue(env, prefix, "LoGainSwitch", (Int_t)fLoGainSwitch); 423 428 rc = kTRUE; 424 429 } … … 435 440 *fLog << dec; 436 441 *fLog << " LoGainStartShift: " << fLoGainStartShift << endl; 437 *fLog << " LoGainSwitch: " << (Int_t)fLoGainSwitch << endl;442 *fLog << " LoGainSwitch: " << fLoGainSwitch << endl; 438 443 } 439 444 }
Note:
See TracChangeset
for help on using the changeset viewer.