6 extern G4Allocator<AliTrackInformation> gAliTrackInfoAllocator;
8 inline void* AliTrackInformation::operator new(size_t)
10 // Override "new" for "G4Allocator".
14 trackInfo = (void *) gAliTrackInfoAllocator.MallocSingle();
18 inline void AliTrackInformation::operator delete(void *trackInfo)
20 // Override "delete" for "G4Allocator".
23 gAliTrackInfoAllocator.FreeSingle((AliTrackInformation *) trackInfo);
28 inline void AliTrackInformation::SetTrackParticleID(G4int trackParticleID)
29 { fTrackParticleID = trackParticleID; }
31 inline void AliTrackInformation::SetParentParticleID(G4int parentParticleID)
32 { fParentParticleID = parentParticleID; }
34 inline G4int AliTrackInformation::GetTrackParticleID() const
35 { return fTrackParticleID; }
37 inline G4int AliTrackInformation::GetParentParticleID() const
38 { return fParentParticleID; }