Line data Source code
1 : // $Id$
2 : #ifndef ALIHLTTRDUTILS_H
3 : #define ALIHLTTRDUTILS_H
4 : //* This file is property of and copyright by the ALICE HLT Project *
5 : //* ALICE Experiment at CERN, All rights reserved. *
6 : //* See cxx source for full Copyright notice *
7 :
8 : ////////////////////////////////////////////////////////////////////////////
9 : // //
10 : // HLT TRD Utillities Class //
11 : // //
12 : ////////////////////////////////////////////////////////////////////////////
13 :
14 :
15 : #include "AliHLTDataTypes.h"
16 : #include "TObject.h"
17 : //#include "AliHLTProcessor.h"
18 :
19 : class TClonesArray;
20 : class AliESDEvent;
21 : class AliTRDtransform;
22 0 : class AliHLTTRDUtils
23 : {
24 : public:
25 0 : virtual ~AliHLTTRDUtils(){}
26 : static AliHLTUInt32_t AddClustersToOutput(const TClonesArray *const inClusterArray, AliHLTUInt8_t *const outBlockPtr, Int_t nTimeBins=24);
27 : static AliHLTUInt32_t AddTracksToOutput(const TClonesArray *const inTrackArray, AliHLTUInt8_t *const output, Int_t nTimeBins=24);
28 : static AliHLTUInt32_t ReadClusters(TClonesArray *const outArray, const void *const inputPtr, AliHLTUInt32_t size, Int_t* nTimeBins=0x0);
29 : static AliHLTUInt32_t ReadTracks(TClonesArray *const outArray, const void *const inputPtr, AliHLTUInt32_t size, Int_t* nTimeBins=0x0);
30 : static AliHLTUInt32_t AddESDToOutput(const AliESDEvent* const esd, AliHLTUInt8_t* const outBlockPtr);
31 : static void EmulateHLTClusters(TClonesArray *clusterArray);
32 : static void EmulateHLTTracks(TClonesArray *trackArray);
33 : static AliHLTUInt32_t GetSM(AliHLTUInt32_t spec);
34 : static AliHLTUInt32_t AddTracksToOutputAlt(const TClonesArray *const inTrackArray, AliHLTUInt8_t *const output, Int_t nTimeBins=24);
35 : static AliHLTUInt32_t ReadTracksAlt(TClonesArray *const outArray, const void *const inputPtr, AliHLTUInt32_t size, Int_t* nTimeBins=0x0);
36 :
37 6 : ClassDef(AliHLTTRDUtils, 0)
38 :
39 : };
40 :
41 : #endif
|