]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCkalmanTime.h
take care of gGeoManager handling
[u/mrichter/AliRoot.git] / TPC / AliTPCkalmanTime.h
1 #ifndef ALITPCKALMANTIME_H
2 #define ALITPCKALMANTIME_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 #include "TNamed.h"
8 #include "TMatrixD.h"
9 class TTreeSRedirector;
10
11 class AliTPCkalmanTime: public TNamed{
12 public:
13   AliTPCkalmanTime();
14   AliTPCkalmanTime(Double_t time, Double_t xoff, Double_t k, Double_t sigmaxoff, Double_t sigmak);
15   void Propagate(Double_t time, Double_t sigma,  TTreeSRedirector *debug=0);
16   void Update(Double_t x, Double_t xerr, Double_t ptratio, TTreeSRedirector *debug=0);
17   static void TestMC(const char * fname);
18 public:
19   void Init(Double_t time, Double_t xoff, Double_t k, Double_t sigmaxoff, Double_t sigmak);
20   TMatrixD * fState;           // state vector
21   TMatrixD * fCovariance;      // covariance
22   Double_t   fTime;            // current time
23 private:
24   AliTPCkalmanTime&  operator=(const AliTPCkalmanTime&);// not implemented
25   AliTPCkalmanTime(const AliTPCkalmanTime&); //not implemented
26   ClassDef(AliTPCkalmanTime,1);
27 };
28
29 #endif
30