Changeset 735 for trunk/MagicSoft


Ignore:
Timestamp:
04/09/01 15:44:48 (24 years ago)
Author:
magicsol
Message:
The routine to get the size of the class has been changed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/include-MC/MCCphoton.hxx

    r302 r735  
    5050
    5151#define SIZE_OF_FLAGS  13
     52#define SIZE_OF_MCCPHOTON    8   /* floats */
    5253
    5354// @endcode
     
    125126  }
    126127
    127   inline int mysize(void) { return ( sizeof(*this) ); }
     128  inline int mysize(void) { return ( SIZE_OF_MCCPHOTON*sizeof(float) ); }
    128129
    129130};
Note: See TracChangeset for help on using the changeset viewer.