Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -27,7 +27,7 @@
/// \brief Definition of the RE01TrackInformation class
//
//
// $Id$
// $Id: RE01TrackInformation.hh 75295 2013-10-30 09:32:52Z gcosmo $
//
#ifndef RE01TrackInformation_h
@@ -89,16 +89,18 @@ private:
};
extern G4Allocator<RE01TrackInformation> aTrackInformationAllocator;
extern G4ThreadLocal G4Allocator<RE01TrackInformation> * aTrackInformationAllocator;
//extern G4Allocator<RE01TrackInformation> aTrackInformationAllocator;
inline void* RE01TrackInformation::operator new(size_t)
{ void* aTrackInfo;
aTrackInfo = (void*)aTrackInformationAllocator.MallocSingle();
return aTrackInfo;
{
if(!aTrackInformationAllocator)
aTrackInformationAllocator = new G4Allocator<RE01TrackInformation>;
return (void*)aTrackInformationAllocator->MallocSingle();
}
inline void RE01TrackInformation::operator delete(void *aTrackInfo)
{ aTrackInformationAllocator.FreeSingle((RE01TrackInformation*)aTrackInfo);}
{ aTrackInformationAllocator->FreeSingle((RE01TrackInformation*)aTrackInfo);}
#endif