Changeset 5016 for trunk/MagicSoft


Ignore:
Timestamp:
09/14/04 20:42:05 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsIntensityCam.cc

    r5013 r5016  
    8787void MBadPixelsIntensityCam::AddToList( const char* name, const MGeomCam &geom)
    8888{
    89 
    90   const Int_t size = GetSize();
    91   fCams->Expand(size+1);
    92 
    93   (*fCams)[size] = new MBadPixelsCam;
    94 
     89  InitSize(GetSize()+1);
    9590  GetCam()->SetName(name);
    9691  GetCam()->Init(geom);
Note: See TracChangeset for help on using the changeset viewer.