X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HLT%2FBASE%2FAliHLTExternalTrackParam.h;h=251a2d7d7dfd714879ec8fbffa493bc3b5aa3302;hb=2413fd18228c46db140efb13870b9330f43cd4dd;hp=3f9d09d0d1202ddd1a87a41756f1de3a0dbc96b8;hpb=55739e9e30060ffc10a60a2ecdf96e7681303b2a;p=u%2Fmrichter%2FAliRoot.git diff --git a/HLT/BASE/AliHLTExternalTrackParam.h b/HLT/BASE/AliHLTExternalTrackParam.h index 3f9d09d0d12..251a2d7d7df 100644 --- a/HLT/BASE/AliHLTExternalTrackParam.h +++ b/HLT/BASE/AliHLTExternalTrackParam.h @@ -3,9 +3,10 @@ //* ALICE Experiment at CERN, All rights reserved. * //* See cxx source for full Copyright notice * -#ifndef _ALIHLTEXTERNALTRACKPARAM_H_ -#define _ALIHLTEXTERNALTRACKPARAM_H_ +#ifndef ALIHLTEXTERNALTRACKPARAM_H +#define ALIHLTEXTERNALTRACKPARAM_H +#include "AliHLTDataTypes.h" #include "AliHLTStdIncludes.h" /** @@ -16,36 +17,42 @@ * This saves time in translating from Float_t to Double_t. The other values has to be copied * anyway, so these can be Float_t for saveing space.The charge is now removed and the Pt has a sign. * + * The array of points is just appended to the structure. The member of array size 0 + * is not supported by all compilers. An open issue is that the code can not work if + * the array size is 1, this was just added in order to make it compile. * @ingroup alihlt_component_datatypes */ struct AliHLTExternalTrackParam { - Float_t fX; - Float_t fY; - Float_t fZ; - Float_t fLastX; - Float_t fLastY; - Float_t fLastZ; - Float_t fq1Pt; - Float_t fSinPsi; - Float_t fTgl; - Double_t fC[15]; - UInt_t fNPoints; + Float_t fAlpha; // azimuthal angle of reference frame + Float_t fX; // x: radial distance + Float_t fY; // local Y-coordinate of a track (cm) + Float_t fZ; // local Z-coordinate of a track (cm) + Float_t fSinPsi; // local sine of the track momentum azimuthal angle + Float_t fTgl; // tangent of the track momentum dip angle + Float_t fq1Pt; // 1/pt (1/(GeV/c)) + Float_t fC[15]; // covariance matrix + Float_t fLastX; // x of last point + Float_t fLastY; // y of last point + Float_t fLastZ; // z of last point + Int_t fTrackID;// track id + UInt_t fFlags; // flags + UInt_t fNPoints;// number of points #if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC) - UInt_t fPointIDs[1]; + UInt_t fPointIDs[1]; // array of points #else - UInt_t fPointIDs[0]; + UInt_t fPointIDs[0]; // array of points #endif }; typedef struct AliHLTExternalTrackParam AliHLTExternalTrackParam; struct AliHLTTracksData { - AliHLTUInt32_t fCount; + AliHLTUInt32_t fCount; // number of tracklets #if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC) - AliHLTExternalTrackParam fTracklets[1]; + AliHLTExternalTrackParam fTracklets[1]; // array of tracklets #else - AliHLTExternalTrackParam fTracklets[]; + AliHLTExternalTrackParam fTracklets[]; // array of tracklets #endif };