Ignore:
Timestamp:
12/06/05 14:24:59 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7430 r7444  
    2626/////////////////////////////////////////////////////////////////////////////
    2727//
    28 // MCameraTD (PRELIMINARY)
     28// MCameraTD
    2929//
    3030/////////////////////////////////////////////////////////////////////////////
     
    5353// --------------------------------------------------------------------------
    5454//
    55 // Print the dc currents
     55// Print the discrimintaor delays
    5656//
    5757void MCameraTD::Print(Option_t *) const
     
    5959    *fLog << all << underline << GetDescriptor() << endl;
    6060    for (int i=0; i<fTD.GetSize(); i++)
    61         *fLog << " " << GetDelay(i);
     61        *fLog << " " << (int)fTD[i];
    6262    *fLog << endl;
    6363}
     
    6565// --------------------------------------------------------------------------
    6666//
    67 // Return the minimum discriminator delays
     67// Return the discrimintaor delays
    6868//
    69 Float_t MCameraTD::GetMin() const
     69Byte_t MCameraTD::GetMin() const
    7070{
    71     Float_t val = (UInt_t)-1;
     71    Byte_t val = 0xff;
    7272    for (int i=0; i<fTD.GetSize(); i++)
    73         val = TMath::Min(val, GetDelay(i));
     73        val = TMath::Min(val, fTD[i]);
    7474    return val;
    7575}
     
    7777// --------------------------------------------------------------------------
    7878//
    79 // Return the maximum discriminator delays
     79// Return the discrimintaor delays
    8080//
    81 Float_t MCameraTD::GetMax() const
     81Byte_t MCameraTD::GetMax() const
    8282{
    83     Float_t val = 0;
     83    Byte_t val = 0;
    8484    for (int i=0; i<fTD.GetSize(); i++)
    85         val = TMath::Max(val, GetDelay(i));
     85        val = TMath::Max(val, fTD[i]);
    8686    return val;
    8787}
Note: See TracChangeset for help on using the changeset viewer.