]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TRD/AliHLTTRDTrack.h
unify system of the input multiplier for clusterizer and tracker and
[u/mrichter/AliRoot.git] / HLT / TRD / AliHLTTRDTrack.h
1 //-*- Mode: C++ -*-
2 // $Id$
3
4 #ifndef ALIHLTTRDTRACK_H
5 #define ALIHLTTRDTRACK_H
6 //* This file is property of and copyright by the ALICE HLT Project        * 
7 //* ALICE Experiment at CERN, All rights reserved.                         *
8 //* See cxx source for full Copyright notice                               *
9
10 #include "AliTRDtrackV1.h"
11 #include "AliHLTLogging.h"
12
13 class AliHLTTRDTracklet;
14
15 class AliHLTTRDTrack
16 {
17  public:
18   AliHLTTRDTrack();
19   AliHLTTRDTrack(const AliTRDtrackV1* const inTrack);
20   ~AliHLTTRDTrack();
21
22   void CopyDataMembers(const AliTRDtrackV1* const inTrack);
23   void ExportTRDTrack(AliTRDtrackV1* const outTrack) const;
24   AliHLTUInt8_t *GetEndPointer() const // Returns pointer to the end of the track
25     { return ((AliHLTUInt8_t *) this + fSize); };
26   AliHLTUInt32_t GetSize() const {return fSize;};
27   void Print(Bool_t printTracklets = kTRUE) const;
28   // void ReadTrackletsFromMemory(void* );
29   
30  private:
31   AliHLTTRDTrack(const AliHLTTRDTrack& inTrack);
32   AliHLTTRDTrack& operator=(const AliHLTTRDTrack& inTrack);
33   void InitArrays();
34
35   /* Probably need */
36   Float_t      fPID[AliPID::kSPECIES];//  PID probabilities
37   Float_t      fBudget[3];            //  Integrated material budget
38   Float_t      fDE;                   //  Integrated delta energy
39
40   /* ======== From AliKalmanTrack ======== */
41   
42   /* Defenitely need */
43   Float_t      fFakeRatio;            // fake ratio
44   Float_t      fChi2;                 // total chi2 value for this track
45   // Float_t      fMass;                 // mass hypothesis
46   // Int_t        fLab;                  // track label
47
48   /* Probably need */
49   Int_t        fN;                    // number of associated clusters
50   Float_t      fIntegratedLength;     // integrated length  // variables for time integration (S.Radomski@gsi.de)
51
52   /* ======= From AliExternalTrackParam ======== */
53
54   /* Defenitely need */
55   Float_t      fX;                    // X coordinate for the point of parametrisation
56   Float_t      fAlpha;                // Local <-->global coor.system rotation angle
57   Float_t      fP[5];                 // The track parameters
58   Float_t      fC[15];                // The track parameter covariance matrix
59
60   /* Not need */
61   //  static Float_t    fgMostProbablePt; // "Most probable" pt (to be used if Bz=0)
62
63   AliHLTUInt32_t fSize;               // Size of the track with tracklets and clusters in the memory
64   UChar_t      fBits;
65   Bool_t       fTrackletAtPlane[AliTRDtrackV1::kNplane];   // Used positions in the original array of tracklets
66
67
68 };
69
70 #endif