4 // Class with additional track information.
6 #ifndef ALI_TRACK_INFORMATION_H
7 #define ALI_TRACK_INFORMATION_H
9 #include <G4VUserTrackInformation.hh>
10 #include <G4Allocator.hh>
13 class AliTrackInformation : public G4VUserTrackInformation
16 AliTrackInformation();
17 AliTrackInformation(G4int trackParticleID);
18 AliTrackInformation(G4int trackParticleID, G4int parentParticleID);
19 virtual ~AliTrackInformation();
23 inline void *operator new(size_t);
24 // Override "new" for "G4Allocator".
25 inline void operator delete(void *trackInformation);
26 // Override "delete" for "G4Allocator".
29 virtual void Print() const;
32 void SetTrackParticleID(G4int trackParticleID);
33 void SetParentParticleID(G4int parentParticleID);
36 G4int GetTrackParticleID() const;
37 G4int GetParentParticleID() const;
41 G4int fTrackParticleID; //the index of track particle in AliRoot stack
42 G4int fParentParticleID;//the index of parent track in AliRoot stack
46 #include "AliTrackInformation.icc"
48 #endif //ALI_TRACK_INFORMATION_H