#include <G4PhysicsVectorCache.hh>
Public Member Functions | |
G4PhysicsVectorCache () | |
~G4PhysicsVectorCache () | |
void * | operator new (size_t) |
void | operator delete (void *) |
Data Fields | |
G4double | lastEnergy |
G4double | lastValue |
size_t | lastBin |
Definition at line 50 of file G4PhysicsVectorCache.hh.
G4PhysicsVectorCache::G4PhysicsVectorCache | ( | ) |
Definition at line 42 of file G4PhysicsVectorCache.cc.
00043 : lastEnergy(-DBL_MAX), lastValue(0.), lastBin(0) 00044 { 00045 }
G4PhysicsVectorCache::~G4PhysicsVectorCache | ( | ) |
void G4PhysicsVectorCache::operator delete | ( | void * | ) | [inline] |
Definition at line 81 of file G4PhysicsVectorCache.hh.
References aPVCacheAllocator.
00082 { 00083 aPVCacheAllocator.FreeSingle((G4PhysicsVectorCache*)aCache); 00084 }
void * G4PhysicsVectorCache::operator new | ( | size_t | ) | [inline] |
Definition at line 74 of file G4PhysicsVectorCache.hh.
References aPVCacheAllocator.
00075 { 00076 void* aCache; 00077 aCache = (void*)aPVCacheAllocator.MallocSingle(); 00078 return aCache; 00079 }
Definition at line 65 of file G4PhysicsVectorCache.hh.
Referenced by G4PhysicsVector::CopyData(), G4PhysicsVector::GetLastBin(), and G4PhysicsVector::Retrieve().
Definition at line 63 of file G4PhysicsVectorCache.hh.
Referenced by G4PhysicsVector::CopyData(), G4PhysicsVector::GetLastEnergy(), G4PhysicsVector::Retrieve(), G4PhysicsVector::ScaleVector(), and G4PhysicsVector::Value().
Definition at line 64 of file G4PhysicsVectorCache.hh.
Referenced by G4PhysicsVector::CopyData(), G4PhysicsVector::GetLastValue(), G4PhysicsVector::Retrieve(), G4PhysicsVector::ScaleVector(), and G4PhysicsVector::Value().