Ignore:
Timestamp:
11/08/01 10:49:49 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r1048 r1051  
    55#include <TClonesArray.h>
    66#endif
    7 #ifndef MARS_MParContainer
    8 #include "MParContainer.h"
     7#ifndef MARS_MCerPhotPix
     8#include "MCerPhotPix.h"
    99#endif
    1010
     
    2424    void   InitSize(UInt_t num) { fPixels->Expand(num); }
    2525
    26     void   AddPixel(Int_t id, Float_t nph, Float_t err);
     26    void   AddPixel(Int_t id, Float_t nph, Float_t err)
     27    {
     28        new ((*fPixels)[fNumPixels++]) MCerPhotPix(id, nph, err);
     29    }
     30
    2731
    2832    Bool_t  IsPixelExisting(Int_t id) const;
Note: See TracChangeset for help on using the changeset viewer.