Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4PhysicsVectorCache Class Reference

#include <G4PhysicsVectorCache.hh>

Public Member Functions

 G4PhysicsVectorCache ()
 
 ~G4PhysicsVectorCache ()
 
void * operator new (size_t)
 
void operator delete (void *)
 

Public Attributes

G4double lastEnergy
 
G4double lastValue
 
size_t lastBin
 

Detailed Description

Definition at line 50 of file G4PhysicsVectorCache.hh.

Constructor & Destructor Documentation

◆ G4PhysicsVectorCache()

G4PhysicsVectorCache::G4PhysicsVectorCache ( )

Definition at line 42 of file G4PhysicsVectorCache.cc.

◆ ~G4PhysicsVectorCache()

G4PhysicsVectorCache::~G4PhysicsVectorCache ( )

Definition at line 47 of file G4PhysicsVectorCache.cc.

48{
49}

Member Function Documentation

◆ operator delete()

void G4PhysicsVectorCache::operator delete ( void *  aCache)
inline

Definition at line 81 of file G4PhysicsVectorCache.hh.

82{
83 aPVCacheAllocator.FreeSingle((G4PhysicsVectorCache*)aCache);
84}
G4DLLIMPORT G4Allocator< G4PhysicsVectorCache > aPVCacheAllocator

◆ operator new()

void * G4PhysicsVectorCache::operator new ( size_t  )
inline

Definition at line 74 of file G4PhysicsVectorCache.hh.

75{
76 void* aCache;
77 aCache = (void*)aPVCacheAllocator.MallocSingle();
78 return aCache;
79}

Member Data Documentation

◆ lastBin

size_t G4PhysicsVectorCache::lastBin

Definition at line 65 of file G4PhysicsVectorCache.hh.

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

◆ lastEnergy

G4double G4PhysicsVectorCache::lastEnergy

◆ lastValue

G4double G4PhysicsVectorCache::lastValue

The documentation for this class was generated from the following files: