]>
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; |
dc2e6604 | 21 | class AliHLTTRDUtils |
22 | { | |
23 | public: | |
3173148f | 24 | virtual ~AliHLTTRDUtils(){} |
93ce7d1b | 25 | static AliHLTUInt32_t AddClustersToOutput(TClonesArray* inClusterArray, AliHLTUInt8_t* outBlockPtr, Int_t nTimeBins=24); |
26 | static AliHLTUInt32_t AddTracksToOutput(TClonesArray* inTrackArray, AliHLTUInt8_t* output, Int_t nTimeBins=24); | |
27 | static AliHLTUInt32_t ReadClusters(TClonesArray *outArray, void* inputPtr, AliHLTUInt32_t size, Int_t* nTimeBins=0x0); | |
28 | static AliHLTUInt32_t ReadTracks(TClonesArray *outArray, void* inputPtr, AliHLTUInt32_t size, Int_t* nTimeBins=0x0); | |
18ada816 | 29 | static AliHLTUInt32_t AddESDToOutput(const AliESDEvent* const esd, AliHLTUInt8_t* const outBlockPtr); |
4a6879bb | 30 | static void EmulateHLTClusters(TClonesArray *clusterArray); |
31 | static void EmulateHLTTracks(TClonesArray *trackArray); | |
db801b10 | 32 | static AliHLTUInt32_t GetSM(AliHLTUInt32_t spec); |
18ada816 | 33 | |
34 | ClassDef(AliHLTTRDUtils, 0) | |
35 | ||
dc2e6604 | 36 | |
37 | }; | |
38 | ||
39 | #endif |