Changeset 11488
- Timestamp:
- 07/20/11 18:00:12 (13 years ago)
- Location:
- trunk/Mars/mraw
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mraw/MRawEvtPixelIter.cc
r8571 r11488 61 61 using namespace std; 62 62 63 MRawEvtPixelIter::MRawEvtPixelIter(MRawEvtData *dat) : fABFlags(0), fData(dat) 63 MRawEvtPixelIter::MRawEvtPixelIter(MRawEvtData *dat) : 64 fABFlags(0), fStartCell(0), fData(dat) 64 65 { 65 66 fNumBytesHiGain = dat->GetNumHiGainSamples()*dat->GetNumBytesPerSample(); … … 104 105 fHiGainPos += fNumBytesHiGain+fNumBytesLoGain; 105 106 fLoGainPos = fHiGainPos + fNumBytesHiGain; 107 108 fStartCell++; 106 109 } 110 107 111 108 112 // … … 147 151 } 148 152 153 fStartCell = fData->fStartCells->GetSize() ? fData->GetStartCells()-1 : 0; 154 149 155 // 150 156 // In case fLoGainPixId.GetSize()=0 some root versions seems to … … 160 166 // 161 167 void MRawEvtPixelIter::Draw(Option_t *t) 162 { 168 { 163 169 fData->Draw(Form("%s%d", t, *fHiGainId)); 164 170 } -
trunk/Mars/mraw/MRawEvtPixelIter.h
r9219 r11488 27 27 28 28 Byte_t *fABFlags; //! pointer to AB flags 29 UShort_t *fStartCell; //! pointer to AB flags 29 30 30 31 UShort_t fNumEntry; … … 107 108 } 108 109 110 UShort_t GetStartCell() const 111 { 112 return fStartCell ? *fStartCell : 0; 113 } 114 109 115 void Reset(); 110 116
Note:
See TracChangeset
for help on using the changeset viewer.