Changeset 8364 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 03/04/07 14:01:14 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mraw
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawEvtData.cc
r8353 r8364 550 550 const UShort_t nhi = fRunHeader->GetNumSamplesHiGain(); 551 551 const UShort_t npic = fRunHeader->GetNumPixInCrate(); 552 553 return (nhi+nlo)*npic; 552 const UShort_t nbps = fRunHeader->GetNumBytesPerSample(); 553 554 return (nhi+nlo)*npic*nbps; 554 555 } 555 556 … … 566 567 Bool_t MRawEvtData::GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type) const 567 568 { 569 *fLog << warn << "WARNING - The use of MRawEvtData::GetPixelContent is deprecated!" << endl; 570 571 /* 568 572 MRawEvtPixelIter Next(const_cast<MRawEvtData*>(this)); 569 573 if (!Next.Jump(idx)) … … 592 596 return val >= 0; 593 597 } 594 598 */ 595 599 return kTRUE; 596 600 } -
trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.cc
r8348 r8364 164 164 } 165 165 166 /* 166 167 // -------------------------------------------------------------------------- 167 168 // 168 169 // Returns the index of the FADC slice the maximum signal in. If the highest 169 // slices have the same value the last one is returned.170 // slices have the same value the first one is returned. 170 171 // 171 172 Byte_t MRawEvtPixelIter::GetIdxMaxHiGainSample(const Byte_t hifirst, const Byte_t hilast) const … … 188 189 // 189 190 // Returns the index of the FADC slice the maximum signal in. If no lo-gains 190 // are available -1 is returned. If the highest slices have the same value the191 // last one is returned.191 // are available -1 is returned. If the highest slices have the same value 192 // the first one is returned. 192 193 // 193 194 Short_t MRawEvtPixelIter::GetIdxMaxLoGainSample(const Byte_t lofirst, const Byte_t lolast) const … … 294 295 // If no lo-gains are existing and the hi-gains have saturating values 295 296 // a negative value (-1) is returned. 296 // 297 // 297 298 Short_t MRawEvtPixelIter::GetIdxMaxHiLoGainSample() const 298 299 { … … 371 372 return sum; 372 373 } 374 */ -
trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.h
r8348 r8364 91 91 */ 92 92 93 Byte_t GetNumHiGainSamples() const { return fNumHiGainSamples ; }// Use is deprecated!94 Byte_t GetNumLoGainSamples() const { return fNumLoGainSamples ; }// Use is deprecated!93 // Byte_t GetNumHiGainSamples() const { return fNumHiGainSamples ; }// Use is deprecated! 94 // Byte_t GetNumLoGainSamples() const { return fNumLoGainSamples ; }// Use is deprecated! 95 95 Byte_t GetNumSamples() const { return fNumHiGainSamples+fNumLoGainSamples; } 96 96 97 Byte_t GetIdxMaxHiGainSample(const Byte_t hifirst=0, const Byte_t hilast=0xff) const;98 Short_t GetIdxMaxLoGainSample(const Byte_t lofirst=0, const Byte_t lolast=0xff) const;97 // Byte_t GetIdxMaxHiGainSample(const Byte_t hifirst=0, const Byte_t hilast=0xff) const; 98 // Short_t GetIdxMaxLoGainSample(const Byte_t lofirst=0, const Byte_t lolast=0xff) const; 99 99 100 Byte_t GetMaxHiGainSample(const Byte_t hifirst=0, const Byte_t hilast=0xff) const;100 // Byte_t GetMaxHiGainSample(const Byte_t hifirst=0, const Byte_t hilast=0xff) const; 101 101 102 ULong_t GetSumHiGainSamples() const;103 ULong_t GetSumSqrHiGainSamples() const;104 Float_t GetVarHiGainSamples() const;102 // ULong_t GetSumHiGainSamples() const; 103 // ULong_t GetSumSqrHiGainSamples() const; 104 // Float_t GetVarHiGainSamples() const; 105 105 106 Byte_t GetMaxLoGainSample() const;107 Short_t GetIdxMaxHiLoGainSample() const;106 // Byte_t GetMaxLoGainSample() const; 107 // Short_t GetIdxMaxHiLoGainSample() const; 108 108 109 ULong_t GetSumLoGainSamples() const;110 ULong_t GetSumSqrLoGainSamples() const;109 // ULong_t GetSumLoGainSamples() const; 110 // ULong_t GetSumSqrLoGainSamples() const; 111 111 112 112 Bool_t HasLoGain() const { return fNumLoGainSamples>0; }
Note:
See TracChangeset
for help on using the changeset viewer.