Ignore:
Timestamp:
12/19/07 18:53:03 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mpedestal
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mpedestal/MExtractPedestal.cc

    r8788 r8795  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MExtractPedestal.cc,v 1.37 2007-12-14 09:56:03 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MExtractPedestal.cc,v 1.38 2007-12-19 18:53:02 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    749749        (*fPedestalsInter)[idx].Set(sum, 0, 0, fNumEventsUsed[idx]);
    750750
    751     const Float_t sqrsum = sum*sum;
     751    const Double_t sqrsum = sum*sum;
    752752
    753753    fSumx[idx]  += sum;
  • trunk/MagicSoft/Mars/mpedestal/MPedestalCam.h

    r8788 r8795  
    2424
    2525  UInt_t fNumSlices;  // Total number of slices
    26   UInt_t fNumEvents;  // Number of events used for pedestal calculation
     26  UInt_t fNumEvents;  // Number of events used for pedestal calculation (be careful, it has no predefined meaning!)
    2727
    2828  void PrintArr(const TCollection &list) const;
  • trunk/MagicSoft/Mars/mpedestal/MPedestalSubtract.cc

    r8633 r8795  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MPedestalSubtract.cc,v 1.8 2007-07-14 00:02:24 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MPedestalSubtract.cc,v 1.9 2007-12-19 18:53:03 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    132132{
    133133    if (fRawEvt->GetNumBytesPerSample()==2)
    134         memcpy((UShort_t*)dest, src, cnt*2);
     134        memcpy(dest, src, cnt*2);
    135135    else
    136136    {
     
    186186        {
    187187            while (beg<end)
    188                 *beg++ = *src;//Float_t(*src++)/scale;
     188                *beg++ = *src++;//Float_t(*src++)/scale;
    189189            continue;
    190190        }
Note: See TracChangeset for help on using the changeset viewer.