]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/global/AliHLTGlobalBarrelTrack.h
fixing compilation warnings
[u/mrichter/AliRoot.git] / HLT / global / AliHLTGlobalBarrelTrack.h
1 //-*- Mode: C++ -*-
2 // $Id$
3 #ifndef ALIHLTGLOBALBARRELTRACK_H
4 #define ALIHLTGLOBALBARRELTRACK_H
5 //* This file is property of and copyright by the ALICE HLT Project        * 
6 //* ALICE Experiment at CERN, All rights reserved.                         *
7 //* See cxx source for full Copyright notice                               *
8
9 /** @file   AliHLTGlobalBarrelTrack.h
10     @author Matthias Richter
11     @date   2009-06-24
12     @brief  An AliKalmanTrack implementation for global HLT barrel tracks.
13 */
14
15 #include "AliKalmanTrack.h"
16 #include "AliHLTDataTypes.h"
17 #include "AliHLTExternalTrackParam.h"
18 #include <vector>
19 using namespace std;
20
21 /**
22  * @class AliHLTGlobalBarrelTrack
23  * Representation of global HLT barrel tracks.
24  *
25  * @ingroup alihlt_global_components
26  */
27 class AliHLTGlobalBarrelTrack : public AliKalmanTrack
28 {
29  public:
30   /** standard constructor */
31   AliHLTGlobalBarrelTrack();
32   /** copy constructor */
33   AliHLTGlobalBarrelTrack(const AliHLTGlobalBarrelTrack& t);
34   /** assignment operator */
35   AliHLTGlobalBarrelTrack& operator=(const AliHLTGlobalBarrelTrack& t);
36   /** assignment operator */
37   AliHLTGlobalBarrelTrack& operator=(const AliHLTExternalTrackParam& extp);
38   /** destructor */
39   ~AliHLTGlobalBarrelTrack();
40
41   /// Get the x position of the last assigned point
42   Double_t GetLastPointX() const {return fLastX;}
43   /// Get the y position of the last assigned point
44   Double_t GetLastPointY() const {return fLastY;}
45
46   /// Get the number of associated points
47   UInt_t GetNumberOfPoints() const;
48
49   /// Get the list of associated points
50   const UInt_t* GetPoints() const;
51
52   /// Set the list of associated points
53   int SetPoints(const UInt_t* pArray, UInt_t arraySize);
54
55   static int ConvertTrackDataArray(const AliHLTTracksData* pTracks, unsigned sizeInByte, vector<AliHLTGlobalBarrelTrack> &tgtArray);
56
57   /// dummy function required by AliKalmanTrack
58   Double_t GetPredictedChi2(const AliCluster*) const {return 0.0;}
59
60   /// dummy function required by AliKalmanTrack
61   Bool_t PropagateTo(Double_t, Double_t, Double_t) {return kFALSE;}
62
63   /// dummy function required by AliKalmanTrack
64   Bool_t Update(const AliCluster*, Double_t, Int_t) {return kFALSE;}
65
66  protected:
67
68  private:
69   /// array of points
70   vector<UInt_t> fPoints; //
71
72   /// x position of the last assigned point
73   Double_t fLastX; //
74   /// y position of the last assigned point
75   Double_t fLastY; //
76
77   ClassDef(AliHLTGlobalBarrelTrack, 0)
78 };
79 #endif