28 #ifndef ExExChSensitiveDetectorHit_h 29 #define ExExChSensitiveDetectorHit_h 1 32 #include "G4THitsCollection.hh" 54 inline void *
operator new(size_t);
55 inline void operator delete(
void *aHit);
58 virtual const std::map<G4String,G4AttDef>*
GetAttDefs()
const;
76 #ifdef G4MULTITHREADED 84 inline void* ExExChSensitiveDetectorHit::operator
new(size_t)
86 #ifdef G4MULTITHREADED 87 if(!ExExChSensitiveDetectorHitAllocator)
88 ExExChSensitiveDetectorHitAllocator =
90 return (
void *) ExExChSensitiveDetectorHitAllocator->
MallocSingle();
93 aHit = (
void*)ExExChSensitiveDetectorHitAllocator.
MallocSingle();
98 inline void ExExChSensitiveDetectorHit::operator
delete(
void* aHit)
100 #ifdef G4MULTITHREADED 101 ExExChSensitiveDetectorHitAllocator->
FreeSingle((
104 ExExChSensitiveDetectorHitAllocator.
FreeSingle((
G4THitsCollection< ExExChSensitiveDetectorHit > ExExChSensitiveDetectorHitsCollection
virtual ~ExExChSensitiveDetectorHit()
void SetWorldPos(G4ThreeVector xyz)
virtual std::vector< G4AttValue > * CreateAttValues() const
void FreeSingle(Type *anElement)
ExExChSensitiveDetectorHit()
virtual const std::map< G4String, G4AttDef > * GetAttDefs() const
G4Allocator< ExExChSensitiveDetectorHit > ExExChSensitiveDetectorHitAllocator
const ExExChSensitiveDetectorHit & operator=(const ExExChSensitiveDetectorHit &right)
G4ThreeVector GetWorldPos() const
int operator==(const ExExChSensitiveDetectorHit &right) const