4 // Author: I. Hrivnacova
6 // Class AliTrackInformation
7 // -------------------------
8 // See the class description in the header file.
10 #include "AliTrackInformation.h"
12 G4Allocator<AliTrackInformation> gAliTrackInfoAllocator;
14 //_____________________________________________________________________________
15 AliTrackInformation::AliTrackInformation()
16 : G4VUserTrackInformation(),
23 //_____________________________________________________________________________
24 AliTrackInformation::AliTrackInformation(G4int trackParticleID)
25 : G4VUserTrackInformation(),
26 fTrackParticleID(trackParticleID),
32 //_____________________________________________________________________________
33 AliTrackInformation::AliTrackInformation(G4int trackParticleID,
34 G4int parentParticleID)
35 : G4VUserTrackInformation(),
36 fTrackParticleID(trackParticleID),
37 fParentParticleID(parentParticleID)
42 //_____________________________________________________________________________
43 AliTrackInformation::~AliTrackInformation(){
49 //_____________________________________________________________________________
50 void AliTrackInformation::Print() const
52 // Prints track information.
55 G4cout << "TrackParticleID: " << fTrackParticleID << " "
56 << "ParentParticleID: " << fParentParticleID << G4endl;