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