]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliKalmanTrack.cxx
Memory leak corrected
[u/mrichter/AliRoot.git] / STEER / AliKalmanTrack.cxx
CommitLineData
87594435 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16//-------------------------------------------------------------------------
17// Implementation of the AliKalmanTrack class
18//
19// Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch
20//-------------------------------------------------------------------------
21
22#include "AliKalmanTrack.h"
87594435 23
24ClassImp(AliKalmanTrack)
25
9b280d80 26Double_t AliKalmanTrack::fConvConst;
27
e2afb3b6 28//_______________________________________________________________________
29AliKalmanTrack::AliKalmanTrack():
30 fLab(-3141593),
31 fChi2(0),
32 fMass(0.13957),
33 fN(0)
34{
35 if (fConvConst==0)
36 Fatal("AliKalmanTrack()","The magnetic field has not been set !\n");
37}
38
39//_______________________________________________________________________
40AliKalmanTrack::AliKalmanTrack(const AliKalmanTrack &t):
41 TObject(t),
42 fLab(t.fLab),
43 fChi2(t.fChi2),
44 fMass(t.fMass),
45 fN(t.fN)
46{
47 if (fConvConst==0)
48 Fatal("AliKalmanTrack(const AliKalmanTrack&)",
49 "The magnetic field has not been set !\n");
50}
51