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.cc

    r1032 r1048  
    4747    fTitle = title ? title : "(Number of Photon)-Event Information";
    4848
    49     fPixels = new TClonesArray ("MCerPhotPix", 577);
    50 
    51     //
    52     // FIXME: is this really necessary?
    53     //
    54     Reset();
     49    fPixels = new TClonesArray ("MCerPhotPix", 0);
    5550}
    5651
     
    8277    // TClonesArray -> 'operator new with placement' should be used
    8378
    84     fPixels->ExpandCreate(fNumPixels);
     79    //    fPixels->ExpandCreate(fNumPixels);
    8580    new ((*fPixels)[fNumPixels++]) MCerPhotPix(id, nph, err);
    8681}
     
    9388{
    9489    fNumPixels = 0;
    95 //    fPixels->Delete();
     90    fPixels->Delete();
    9691}
    9792
Note: See TracChangeset for help on using the changeset viewer.