Changeset 1048 for trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.cc
- Timestamp:
- 11/07/01 11:50:28 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.cc
r1032 r1048 47 47 fTitle = title ? title : "(Number of Photon)-Event Information"; 48 48 49 fPixels = new TClonesArray ("MCerPhotPix", 577); 50 51 // 52 // FIXME: is this really necessary? 53 // 54 Reset(); 49 fPixels = new TClonesArray ("MCerPhotPix", 0); 55 50 } 56 51 … … 82 77 // TClonesArray -> 'operator new with placement' should be used 83 78 84 fPixels->ExpandCreate(fNumPixels);79 // fPixels->ExpandCreate(fNumPixels); 85 80 new ((*fPixels)[fNumPixels++]) MCerPhotPix(id, nph, err); 86 81 } … … 93 88 { 94 89 fNumPixels = 0; 95 //fPixels->Delete();90 fPixels->Delete(); 96 91 } 97 92
Note:
See TracChangeset
for help on using the changeset viewer.