Changeset 4289 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
06/14/04 10:58:10 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r4288 r4289  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21
     22 2004/06/12: Markus Gaug
     23
     24  * msignal/MExtractFixedWindow.cc
     25    - output the number and exact range of extraction to *fLog in the
     26      ReInit(), like it is done by MPedCalcPedRun
    2027
    2128
  • trunk/MagicSoft/Mars/msignal/MExtractFixedWindow.cc

    r4047 r4289  
    2828//  MExtractFixedWindow
    2929//
    30 //  Extracts the signal from a fixed window in a given range.
     30//  Extracts the signal from a fixed window in a given range by summing up the
     31//  slice contents.
    3132//
    3233//  Call: SetRange(fHiGainFirst, fHiGainLast, fLoGainFirst, fLoGainLast)
     
    6263//
    6364// Default constructor.
     65//
     66// Calls:
     67// - SetRange(fgHiGainFirst, fgHiGainLast, fgLoGainFirst, fgLoGainLast)
    6468//
    6569MExtractFixedWindow::MExtractFixedWindow(const char *name, const char *title)
     
    158162                              fLoGainFirst, fLoGainLast, fNumLoGainSamples);
    159163
     164
     165  *fLog << endl;
     166  *fLog << inf << GetDescriptor() << ": Taking " << (int)fNumHiGainSamples
     167        << " HiGain FADC samples from slice: " << (int)fHiGainFirst
     168        << " to (including) slice: " << (int)fHiGainLast+(int)fHiLoLast << endl;
     169  *fLog << inf << GetDescriptor() << ": Taking " << (int)fNumLoGainSamples
     170        << " LoGain FADC samples from slice: " << (int)fLoGainFirst << endl;
     171        << " to (including) slice: " << (int)fLoGainLast << endl;
    160172  return kTRUE;
    161173 
     
    170182// - If *ptr is greater than fSaturationLimit, raise sat by 1
    171183//
     184// - If fHiLoLast is not 0, loop also from logain to (logain+fHiLoLast)
     185// - Sum up contents of logain
     186// - If *logain is greater than fSaturationLimit, raise sat by 1
     187//
    172188void MExtractFixedWindow::FindSignalHiGain(Byte_t *ptr, Byte_t *logain, Int_t &sum, Byte_t &sat) const
    173189{
     
    193209        sat++;
    194210    }
    195 
    196211}
    197212
Note: See TracChangeset for help on using the changeset viewer.