Ignore:
Timestamp:
11/07/01 11:50:28 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.h

    r1032 r1048  
    2222
    2323    UInt_t GetNumPixels() const { return fNumPixels; }
     24    void   InitSize(UInt_t num) { fPixels->Expand(num); }
     25
    2426    void   AddPixel(Int_t id, Float_t nph, Float_t err);
    2527
     
    3133    Float_t GetNumPhotonsMax() const;
    3234
    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)); }
    3537
    3638    void Reset();
Note: See TracChangeset for help on using the changeset viewer.