4 // Author: I. Hrivnacova
6 // Class AliTrackInformation
7 // -------------------------
8 // Class with additional track information.
10 #ifndef ALI_TRACK_INFORMATION_H
11 #define ALI_TRACK_INFORMATION_H
13 #include <G4VUserTrackInformation.hh>
14 #include <G4Allocator.hh>
17 class AliTrackInformation : public G4VUserTrackInformation
20 AliTrackInformation();
21 AliTrackInformation(G4int trackParticleID);
22 AliTrackInformation(G4int trackParticleID, G4int parentParticleID);
23 virtual ~AliTrackInformation();
27 inline void *operator new(size_t);
28 // Override "new" for "G4Allocator".
29 inline void operator delete(void *trackInformation);
30 // Override "delete" for "G4Allocator".
33 virtual void Print() const;
36 void SetTrackParticleID(G4int trackParticleID);
37 void SetParentParticleID(G4int parentParticleID);
40 G4int GetTrackParticleID() const;
41 G4int GetParentParticleID() const;
45 G4int fTrackParticleID; //the index of track particle in AliRoot stack
46 G4int fParentParticleID;//the index of parent track in AliRoot stack
50 #include "AliTrackInformation.icc"
52 #endif //ALI_TRACK_INFORMATION_H