]> git.uio.no Git - u/mrichter/AliRoot.git/blame - AliGeant4/AliTrackInformation.cxx
Access function to local momenta renamed.
[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
10AliTrackInformation::AliTrackInformation()
11 : G4VUserTrackInformation(),
12 fTrackParticleID(-1),
13 fParentParticleID(-1)
14{
15//
16}
17
18AliTrackInformation::AliTrackInformation(G4int trackParticleID)
19 : G4VUserTrackInformation(),
20 fTrackParticleID(trackParticleID),
21 fParentParticleID(-1)
22{
23//
24}
25
26AliTrackInformation::AliTrackInformation(G4int trackParticleID,
27 G4int parentParticleID)
28 : G4VUserTrackInformation(),
29 fTrackParticleID(trackParticleID),
30 fParentParticleID(parentParticleID)
31{
32//
33}
34
35AliTrackInformation::~AliTrackInformation(){
36//
37}
38
39// public methods
40
41void AliTrackInformation::Print() const
42{
43// Prints track information.
44// ---
45
46 G4cout << "TrackParticleID: " << fTrackParticleID << " "
47 << "ParentParticleID: " << fParentParticleID << G4endl;
48}