Changeset 5399 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 11/12/04 13:52:41 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mraw
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawEvtData.cc
r5398 r5399 139 139 // return the number of hi gain samples per pixel 140 140 // 141 Byte_t MRawEvtData::GetNumHiGainSamples() const141 UShort_t MRawEvtData::GetNumHiGainSamples() const 142 142 { 143 143 return fHiGainPixId->GetSize() ? fHiGainFadcSamples->GetSize()/fHiGainPixId->GetSize() : 0; … … 148 148 // return the number of lo gain samples per pixel 149 149 // 150 Byte_t MRawEvtData::GetNumLoGainSamples() const150 UShort_t MRawEvtData::GetNumLoGainSamples() const 151 151 { 152 152 return fLoGainPixId->GetSize() ? fLoGainFadcSamples->GetSize()/fLoGainPixId->GetSize() : 0; … … 177 177 // - DEC: Print values decimal instead of hexadecimal (default) 178 178 // 179 const Byte_t nHiSamp = GetNumHiGainSamples();180 const Byte_t nLoSamp = GetNumLoGainSamples();179 const UShort_t nHiSamp = GetNumHiGainSamples(); 180 const UShort_t nLoSamp = GetNumLoGainSamples(); 181 181 182 182 const UShort_t nHiPix = fHiGainPixId->GetSize();; … … 427 427 // if there are no samples already stored: this is the new number of samples 428 428 // 429 const Byte_t ns = data->GetSize();430 const Byte_t nSamp = lflag ? GetNumLoGainSamples() : GetNumHiGainSamples();429 const UShort_t ns = data->GetSize(); 430 const UShort_t nSamp = lflag ? GetNumLoGainSamples() : GetNumHiGainSamples(); 431 431 if (nSamp && ns!=nSamp) 432 432 { -
trunk/MagicSoft/Mars/mraw/MRawEvtData.h
r4738 r5399 63 63 void AddPixel(UShort_t nOfPixel, TArrayC *data, Bool_t lflag=kFALSE); 64 64 65 Byte_tGetNumHiGainSamples() const;66 Byte_tGetNumLoGainSamples() const;65 UShort_t GetNumHiGainSamples() const; 66 UShort_t GetNumLoGainSamples() const; 67 67 UShort_t GetNumPixels() const; 68 68
Note:
See TracChangeset
for help on using the changeset viewer.