4 #ifndef ALIHLTTPCCOMPMODELDECONVERTER_H
5 #define ALIHLTTPCCOMPMODELDECONVERTER_H
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 *
10 /** @file AliHLTTPCCompModelDeconverter.h
11 @author Timm Steinbeck
13 @brief Declaration of a copy component. */
15 #include "AliHLTTPCTrackArray.h"
16 #include "AliHLTTPCTrackletDataFormat.h"
17 #include "AliHLTTPCClusterDataFormat.h"
18 #include "AliHLTLogging.h"
21 * @class AliHLTTPCCompModelDeconverter
22 * @brief A dummy HLT processing component.
24 * An implementiation of a copy component that just copies its input data
25 * to debug a components input data
28 class AliHLTTPCCompModelDeconverter: public AliHLTLogging
32 /** standard constructor */
33 AliHLTTPCCompModelDeconverter();
35 /** standard destructor */
36 virtual ~AliHLTTPCCompModelDeconverter();
38 /** initialisation function */
41 /** function to set track cluster model input data
42 * @param data AliHLTUInt8_t* pointer to input data
43 * @param size UInt_t input size
44 * @return zero upon success
46 int SetTrackClusterModelInputData( AliHLTUInt8_t* data, UInt_t size );
48 /** function to set remaining cluster model input data
49 * @param data AliHLTUInt8_t* pointer to input data
50 * @param size UInt_t input size
51 * @return zero upon success
53 int SetRemainingClustersModelInputData( AliHLTUInt8_t* data, UInt_t size );
55 /** function to deconvert tracks
56 * @param data AliHLTUInt8_t* pointer to input data
57 * @param size UInt_t& input size
58 * @return zero upon success
60 int DeconvertTracks( AliHLTUInt8_t* data, UInt_t& size );
62 /** function to deconvert clusters
63 * @param slice UInt_t slice number
64 * @param patch UInt_t patch number
65 * @param data AliHLTUInt8_t* pointer to input data
66 * @param size UInt_t& input size
67 * @return zero upon success
69 int DeconvertClusters( UInt_t slice, UInt_t patch, AliHLTUInt8_t* data, UInt_t& size );
73 /** member variable of input track array */
74 AliHLTTPCTrackArray fInputTrackArray;
76 /** member variable pointer to track cluster model data */
77 AliHLTUInt8_t* fTrackClusterModelData;
78 /** member variable for track cluster model data size */
79 UInt_t fTrackClusterModelDataSize;
81 /** member variable pointer to remaining clusters model data */
82 AliHLTUInt8_t* fRemainingClustersModelData;
83 /** member variable for remaining clusters model data size */
84 UInt_t fRemainingClustersModelDataSize;
87 /** copy constructor prohibited */
88 AliHLTTPCCompModelDeconverter(const AliHLTTPCCompModelDeconverter&);
89 /** assignment operator prohibited */
90 AliHLTTPCCompModelDeconverter& operator=(const AliHLTTPCCompModelDeconverter&);
92 ClassDef(AliHLTTPCCompModelDeconverter, 1)