code cleanup: remove unused data in HLTTRDTracklet (clusters indexes) (Theo)
[u/mrichter/AliRoot.git] / HLT / TRD / AliHLTTRDTracklet.h
CommitLineData
93ce7d1b 1//-*- Mode: C++ -*-
2// $Id$
3
d679dd6c 4#ifndef ALIHLTTRDTRACKLET_H
5#define ALIHLTTRDTRACKLET_H
93ce7d1b 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 *
d679dd6c 9
10#include "AliTRDseedV1.h"
11#include "AliHLTDataTypes.h"
12#include "AliHLTLogging.h"
93ce7d1b 13#include "AliHLTTRDCluster.h"
d679dd6c 14
15class AliHLTTRDTracklet
16{
17 public:
18 AliHLTTRDTracklet();
93ce7d1b 19 AliHLTTRDTracklet(const AliTRDseedV1* const inTracklet);
d679dd6c 20
93ce7d1b 21 void CopyDataMembers(const AliTRDseedV1* const inTracklet);
22 void ExportTRDTracklet(AliTRDseedV1* const outTracklet) const;
23 AliHLTUInt8_t *GetEndPointer() const // Returns pointer to the end of the tracklet
24 { return ((AliHLTUInt8_t *)this + fSize); };
25 AliHLTUInt32_t GetSize() const { return fSize; };
26 void Print(Bool_t printClusters = kTRUE) const;
27 // void ReadClustersFromMemory(void *input);
d679dd6c 28
29 private:
30 AliHLTTRDTracklet(const AliHLTTRDTracklet&);
31 AliHLTTRDTracklet& operator=(const AliHLTTRDTracklet&);
32 void InitArrays();
d679dd6c 33
93ce7d1b 34 /* Defenitely need */
9630a0b8 35 UInt_t fN; // number of clusters attached/used/shared
93ce7d1b 36 Float_t fdX; // length of time bin
37 Float_t fYref[2]; // Reference y
38 Float_t fZref[2]; // Reference z
39 Float_t fS2Y; // "Robust" sigma in Y - line fit
40 Float_t fPt; // Momentum estimate for tracklet [GeV/c]
41
d679dd6c 42 /* Probably need */
9630a0b8 43 Float_t fPad[3]; // local pad definition : length/width/tilt
93ce7d1b 44 Float_t fX0; // X0 position
45 Float_t fYfit[2]; // Y fit position +derivation
46 Float_t fZfit[2]; // Z fit position
47 Float_t fC; // Curvature
48 Float_t fChi2; // Global chi2
49 Float_t fProb[AliPID::kSPECIES];// PID probabilities
9630a0b8 50 Short_t fDet; // TRD detector
93ce7d1b 51
52 /* Not needed */
53 //Int_t fLabels[3]; // Labels
54 //Float_t fX[knTimebins]; //! X position
55 //Float_t fY[knTimebins]; //! Y position
56 //Float_t fZ[knTimebins]; //! Z position
e3cf3d02 57 //Float_t fYfitR[2]; // Y fit position +derivation
e3cf3d02 58 //Float_t fZfitR[2]; // Z fit position
59 //Float_t fMeanz; // Mean vaue of z
60 //Float_t fZProb; // Max probbable z
e3cf3d02 61 //Int_t fFreq; // Frequency
62 //Int_t fNChange; // Change z counter
63 //Float_t fMPads; // Mean number of pads per cluster
d679dd6c 64
e3cf3d02 65 //Float_t fCC; // Curvature with constrain
e3cf3d02 66 //Float_t fChi2Z; // Global chi2
d679dd6c 67
9630a0b8 68 AliHLTUInt16_t fCount; // Number of clusters saved in the open array
93ce7d1b 69 AliHLTUInt32_t fSize; // Size of the tracklet with clusters in the memory
d679dd6c 70
93ce7d1b 71#if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC)
d55e8c51 72 AliHLTTRDCluster fClusters[1]; // Open array of clusters and their index
93ce7d1b 73#else
d55e8c51 74 AliHLTTRDCluster fClusters[0]; // Open array of clusters and their index
93ce7d1b 75#endif
d679dd6c 76
77};
78
79#endif