Changeset 8795 for trunk/MagicSoft/Mars/mpedestal
- Timestamp:
- 12/19/07 18:53:03 (17 years ago)
- Location:
- trunk/MagicSoft/Mars/mpedestal
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpedestal/MExtractPedestal.cc
r8788 r8795 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MExtractPedestal.cc,v 1.3 7 2007-12-14 09:56:03tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MExtractPedestal.cc,v 1.38 2007-12-19 18:53:02 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 749 749 (*fPedestalsInter)[idx].Set(sum, 0, 0, fNumEventsUsed[idx]); 750 750 751 const Float_t sqrsum = sum*sum;751 const Double_t sqrsum = sum*sum; 752 752 753 753 fSumx[idx] += sum; -
trunk/MagicSoft/Mars/mpedestal/MPedestalCam.h
r8788 r8795 24 24 25 25 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!) 27 27 28 28 void PrintArr(const TCollection &list) const; -
trunk/MagicSoft/Mars/mpedestal/MPedestalSubtract.cc
r8633 r8795 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MPedestalSubtract.cc,v 1. 8 2007-07-14 00:02:24tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MPedestalSubtract.cc,v 1.9 2007-12-19 18:53:03 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 132 132 { 133 133 if (fRawEvt->GetNumBytesPerSample()==2) 134 memcpy( (UShort_t*)dest, src, cnt*2);134 memcpy(dest, src, cnt*2); 135 135 else 136 136 { … … 186 186 { 187 187 while (beg<end) 188 *beg++ = *src ;//Float_t(*src++)/scale;188 *beg++ = *src++;//Float_t(*src++)/scale; 189 189 continue; 190 190 }
Note:
See TracChangeset
for help on using the changeset viewer.