Changeset 5817 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/13/05 13:46:14 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5816 r5817  
    2424   * mcalib/MCalibColorSet.cc
    2525     - fixed runs 45605-45609
     26
     27   * msignal/MExtractor.h
     28     - take out the variable fHiLoLast from the streamer. Will be
     29       initialized in the ReInit(), if needed
     30
     31   * msignal/MExtractor.cc
     32     - Initialized fHiLoLast to 0. Otherwise, a second eventloop with
     33       the same extractor may have that variable set to a certain
     34       value, even if not desired. The ReInit() fixes fHiLoLast, if
     35       different from 0.
    2636
    2737
  • trunk/MagicSoft/Mars/msignal/MExtractor.cc

    r5734 r5817  
    140140}
    141141
     142//-----------------------------------------------------------------------
     143//
     144// - Set the variable fHiLoLast to 0 (will be initialized later in ReInit()
     145// - Get the pointers to:
     146//     MRawEvtData
     147//     MRawRunHeader
     148//     MPedestalCam
     149//
    142150Int_t MExtractor::PreProcessStd(MParList *pList)
    143151{
     152
     153    fHiLoLast = 0;
     154
    144155    fRawEvt = (MRawEvtData*)pList->FindObject(AddSerialNumber("MRawEvtData"));
    145156    if (!fRawEvt)
  • trunk/MagicSoft/Mars/msignal/MExtractor.h

    r5768 r5817  
    4747  Byte_t   fLoGainLast;                    // Last FADC slice nr. to extract the Low Gain signal
    4848                                           
    49   Byte_t   fHiLoLast;                      // Number of slices in fLoGainSamples counted for the High-Gain signal
     49  Byte_t   fHiLoLast;                      //! Number of slices in fLoGainSamples counted for the High-Gain signal
    5050                                           
    5151  Float_t  fNumHiGainSamples;              // Number High Gain FADC slices used to extract the signal
Note: See TracChangeset for help on using the changeset viewer.