53 #ifndef G4ElectronOccupancy_h
54 #define G4ElectronOccupancy_h 1
75 inline void *
operator new(size_t);
76 inline void operator delete(
void *aElectronOccupancy);
100 G4int theTotalOccupancy;
101 G4int* theOccupancies;
111 inline void * G4ElectronOccupancy::operator
new(size_t)
120 inline void G4ElectronOccupancy::operator
delete(
void * aElectronOccupancy)
128 return theSizeOfOrbit;
134 return theTotalOccupancy;
141 if ((orbit >=0)&&(orbit<theSizeOfOrbit)){
142 value = theOccupancies[orbit];
G4int GetTotalOccupancy() const
virtual ~G4ElectronOccupancy()
G4ElectronOccupancy(G4int sizeOrbit=MaxSizeOfOrbit)
G4int operator==(const G4ElectronOccupancy &right) const
G4int GetSizeOfOrbit() const
G4int GetOccupancy(G4int orbit) const
const XML_Char int const XML_Char * value
G4int AddElectron(G4int orbit, G4int number=1)
G4PART_DLL G4ThreadLocal G4Allocator< G4ElectronOccupancy > * aElectronOccupancyAllocator
G4int operator!=(const G4ElectronOccupancy &right) const
G4ElectronOccupancy & operator=(const G4ElectronOccupancy &right)
G4int RemoveElectron(G4int orbit, G4int number=1)