G4PhysicsVectorCache Class Reference

#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


Detailed Description

Definition at line 50 of file G4PhysicsVectorCache.hh.


Constructor & Destructor Documentation

G4PhysicsVectorCache::G4PhysicsVectorCache (  ) 

Definition at line 42 of file G4PhysicsVectorCache.cc.

00043  : lastEnergy(-DBL_MAX), lastValue(0.), lastBin(0)
00044 {
00045 }

G4PhysicsVectorCache::~G4PhysicsVectorCache (  ) 

Definition at line 47 of file G4PhysicsVectorCache.cc.

00048 {
00049 }


Member Function Documentation

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 }


Field Documentation

size_t G4PhysicsVectorCache::lastBin

Definition at line 65 of file G4PhysicsVectorCache.hh.

Referenced by G4PhysicsVector::CopyData(), G4PhysicsVector::GetLastBin(), and G4PhysicsVector::Retrieve().

G4double G4PhysicsVectorCache::lastEnergy

Definition at line 63 of file G4PhysicsVectorCache.hh.

Referenced by G4PhysicsVector::CopyData(), G4PhysicsVector::GetLastEnergy(), G4PhysicsVector::Retrieve(), G4PhysicsVector::ScaleVector(), and G4PhysicsVector::Value().

G4double G4PhysicsVectorCache::lastValue

Definition at line 64 of file G4PhysicsVectorCache.hh.

Referenced by G4PhysicsVector::CopyData(), G4PhysicsVector::GetLastValue(), G4PhysicsVector::Retrieve(), G4PhysicsVector::ScaleVector(), and G4PhysicsVector::Value().


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:54 2013 for Geant4 by  doxygen 1.4.7