]>
Commit | Line | Data |
---|---|---|
3173148f | 1 | // $Id$ |
dc2e6604 | 2 | #ifndef ALIHLTTRDUTILS_H |
3 | #define ALIHLTTRDUTILS_H | |
93ce7d1b | 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 * | |
dc2e6604 | 7 | |
8 | //////////////////////////////////////////////////////////////////////////// | |
9 | // // | |
10 | // HLT TRD Utillities Class // | |
11 | // // | |
12 | //////////////////////////////////////////////////////////////////////////// | |
13 | ||
14 | ||
15 | #include "AliHLTDataTypes.h" | |
18ada816 | 16 | #include "TObject.h" |
17 | //#include "AliHLTProcessor.h" | |
dc2e6604 | 18 | |
19 | class TClonesArray; | |
18ada816 | 20 | class AliESDEvent; |
196a8c4f | 21 | class AliTRDtransform; |
dc2e6604 | 22 | class AliHLTTRDUtils |
23 | { | |
24 | public: | |
3173148f | 25 | virtual ~AliHLTTRDUtils(){} |
196a8c4f | 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); | |
18ada816 | 30 | static AliHLTUInt32_t AddESDToOutput(const AliESDEvent* const esd, AliHLTUInt8_t* const outBlockPtr); |
4a6879bb | 31 | static void EmulateHLTClusters(TClonesArray *clusterArray); |
32 | static void EmulateHLTTracks(TClonesArray *trackArray); | |
db801b10 | 33 | static AliHLTUInt32_t GetSM(AliHLTUInt32_t spec); |
196a8c4f | 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); | |
18ada816 | 36 | |
37 | ClassDef(AliHLTTRDUtils, 0) | |
38 | ||
dc2e6604 | 39 | }; |
40 | ||
41 | #endif |