Ignore:
Timestamp:
03/04/07 13:25:16 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc

    r8358 r8362  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MExtractTimeAndCharge.cc,v 1.63 2007-03-03 22:46:10 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MExtractTimeAndCharge.cc,v 1.64 2007-03-04 13:25:07 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    5959//   - Byte_t fMaxBinContent;
    6060//
     61// Class Version 4:
     62// ----------------
     63//   - Byte_t fLoGainSwitch
     64//   + UInt_t fLoGainSwitch
     65//
    6166//
    6267// Input Containers:
     
    100105
    101106const Float_t MExtractTimeAndCharge::fgLoGainStartShift = -2.5;
    102 const Byte_t  MExtractTimeAndCharge::fgLoGainSwitch     =  120;
     107const UInt_t  MExtractTimeAndCharge::fgLoGainSwitch     =  120;
    103108
    104109// --------------------------------------------------------------------------
     
    226231        Int_t sathi1 = fHiGainLast;   // Last  slice to extract and last saturating slice
    227232
    228         Int_t maxcont;
     233        UInt_t maxcont;
    229234        Int_t maxposhi = fSignal->GetMax(pixidx, sathi0, sathi1, maxcont);
    230235        // Would it be better to take lastsat-firstsat?
     
    334339
    335340            // Would it be better to take lastsat-firstsat?
    336             Int_t maxlo;
     341            UInt_t maxlo;
    337342            Int_t maxposlo = fSignal->GetMax(pixidx, satlo0, satlo1, maxlo);
    338343            numsatlo = fSignal->GetSaturation(pixidx, fSaturationLimit, satlo0, satlo1);
     
    420425    if (IsEnvDefined(env, prefix, "LoGainSwitch", print))
    421426    {
    422         fLoGainSwitch = GetEnvValue(env, prefix, "LoGainSwitch", fLoGainSwitch);
     427        fLoGainSwitch = GetEnvValue(env, prefix, "LoGainSwitch", (Int_t)fLoGainSwitch);
    423428        rc = kTRUE;
    424429    }
     
    435440        *fLog << dec;
    436441        *fLog << " LoGainStartShift:   " << fLoGainStartShift << endl;
    437         *fLog << " LoGainSwitch:       " << (Int_t)fLoGainSwitch << endl;
     442        *fLog << " LoGainSwitch:       " << fLoGainSwitch << endl;
    438443    }
    439444}
Note: See TracChangeset for help on using the changeset viewer.