Changeset 1048 for trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.h
- Timestamp:
- 11/07/01 11:50:28 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.h
r1032 r1048 22 22 23 23 UInt_t GetNumPixels() const { return fNumPixels; } 24 void InitSize(UInt_t num) { fPixels->Expand(num); } 25 24 26 void AddPixel(Int_t id, Float_t nph, Float_t err); 25 27 … … 31 33 Float_t GetNumPhotonsMax() const; 32 34 33 MCerPhotPix &operator[](int i) { return *(MCerPhotPix*)(fPixels-> At(i)); }34 MCerPhotPix &operator[](int i) const { return *(MCerPhotPix*)(fPixels-> At(i)); }35 MCerPhotPix &operator[](int i) { return *(MCerPhotPix*)(fPixels->UncheckedAt(i)); } 36 MCerPhotPix &operator[](int i) const { return *(MCerPhotPix*)(fPixels->UncheckedAt(i)); } 35 37 36 38 void Reset();
Note:
See TracChangeset
for help on using the changeset viewer.