]> git.uio.no Git - u/mrichter/AliRoot.git/blob - AliGeant4/AliTrackInformation.cxx
Updated class description: added class title, author;
[u/mrichter/AliRoot.git] / AliGeant4 / AliTrackInformation.cxx
1 // $Id$
2 // Category: event
3 //
4 // See the class description in the header file.
5
6 #include "AliTrackInformation.h"
7
8 G4Allocator<AliTrackInformation> gAliTrackInfoAllocator;
9
10 //_____________________________________________________________________________
11 AliTrackInformation::AliTrackInformation()
12   : G4VUserTrackInformation(),
13     fTrackParticleID(-1),
14     fParentParticleID(-1) 
15 {
16 //
17 }
18
19 //_____________________________________________________________________________
20 AliTrackInformation::AliTrackInformation(G4int trackParticleID) 
21   : G4VUserTrackInformation(),
22     fTrackParticleID(trackParticleID),
23     fParentParticleID(-1)
24 {
25 //
26 }    
27
28 //_____________________________________________________________________________
29 AliTrackInformation::AliTrackInformation(G4int trackParticleID, 
30                                          G4int parentParticleID)
31   : G4VUserTrackInformation(),
32     fTrackParticleID(trackParticleID),
33     fParentParticleID(parentParticleID)
34 {
35 //
36 }    
37
38 //_____________________________________________________________________________
39 AliTrackInformation::~AliTrackInformation(){
40 //
41 }    
42
43 // public methods
44
45 //_____________________________________________________________________________
46 void AliTrackInformation::Print() const
47 {
48 // Prints track information.
49 // ---
50
51   G4cout << "TrackParticleID: " << fTrackParticleID << "   "
52          << "ParentParticleID: " << fParentParticleID << G4endl;
53 }