35 #ifndef HadrontherapyDetectorHit_h
36 #define HadrontherapyDetectorHit_h 1
39 #include "G4THitsCollection.hh"
54 inline void *
operator new(size_t);
55 inline void operator delete(
void *aHit);
77 {
return energyDeposit;}
94 inline void* HadrontherapyDetectorHit::operator
new(size_t)
97 aHit = (
void *) HadrontherapyDetectorHitAllocator.
MallocSingle();
101 inline void HadrontherapyDetectorHit::operator
delete(
void *aHit)
int operator==(const HadrontherapyDetectorHit &right) const
void FreeSingle(Type *anElement)
void SetEdepAndPosition(G4int xx, G4int yy, G4int zz, G4double eDep)
const HadrontherapyDetectorHit & operator=(const HadrontherapyDetectorHit &right)
~HadrontherapyDetectorHit()
G4THitsCollection< HadrontherapyDetectorHit > HadrontherapyDetectorHitsCollection
HadrontherapyDetectorHit()
G4Allocator< HadrontherapyDetectorHit > HadrontherapyDetectorHitAllocator