Ignore:
Timestamp:
12/06/05 16:08:41 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcamera/MCameraTH.cc

    r7444 r7445  
    6767// Return the discriminator thresholds
    6868//
    69 Byte_t MCameraTH::GetMin() const
     69UShort_t MCameraTH::GetMin() const
    7070{
    71     Byte_t val = 0xff;
     71    UShort_t val = (UShort_t)-1;
    7272    for (int i=0; i<fTH.GetSize(); i++)
    7373        val = TMath::Min(val, fTH[i]);
     
    7979// Return the discriminator thresholds
    8080//
    81 Byte_t MCameraTH::GetMax() const
     81UShort_t MCameraTH::GetMax() const
    8282{
    83     Byte_t val = 0;
     83    UShort_t val = 0;
    8484    for (int i=0; i<fTH.GetSize(); i++)
    8585        val = TMath::Max(val, fTH[i]);
Note: See TracChangeset for help on using the changeset viewer.