]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/comp/AliHLTTPCCompModelDeconverter.h
Moving a part of AliESDtrack::RelateToVertex(const AliESDVertex *, ...) to AliExterna...
[u/mrichter/AliRoot.git] / HLT / TPCLib / comp / AliHLTTPCCompModelDeconverter.h
CommitLineData
ff2f0f94 1// XEmacs -*-C++-*-
2// $Id: AliHLTTPCCompModelDeconverter.h,v 1.2 2006/08/10 09:46:51 richterm Exp $
3
4#ifndef ALIHLTTPCCOMPMODELDECONVERTER_H
5#define ALIHLTTPCCOMPMODELDECONVERTER_H
6/* TPCCompModelDeconverterright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
7 * See cxx source for full TPCCompModelDeconverterright notice */
8
9/** @file AliHLTTPCCompModelDeconverter.h
10 @author Timm Steinbeck
11 @date
12 @brief Declaration of a copy component. */
13
14#include "AliHLTTPCTrackArray.h"
15#include "AliHLTTPCTrackletDataFormat.h"
16#include "AliHLTTPCClusterDataFormat.h"
17#include "AliHLTLogging.h"
18
19/**
20 * @class AliHLTTPCCompModelDeconverter
21 * @brief A dummy HLT processing component.
22 *
23 * An implementiation of a copy component that just copies its input data
24 * to debug a components input data
25 * @ingroup alihlt_tutorial
26 */
27class AliHLTTPCCompModelDeconverter: public AliHLTLogging
28 {
29 public:
30
31 /** standard constructor */
32 AliHLTTPCCompModelDeconverter();
33
34 /** standard destructor */
35 virtual ~AliHLTTPCCompModelDeconverter();
36
37 /** initialisation function */
38 int Init();
39
40 /** function to set track cluster model input data
41 * @param data AliHLTUInt8_t* pointer to input data
42 * @param size UInt_t input size
43 * @return zero upon success
44 */
45 int SetTrackClusterModelInputData( AliHLTUInt8_t* data, UInt_t size );
46
47 /** function to set remaining cluster model input data
48 * @param data AliHLTUInt8_t* pointer to input data
49 * @param size UInt_t input size
50 * @return zero upon success
51 */
52 int SetRemainingClustersModelInputData( AliHLTUInt8_t* data, UInt_t size );
53
54 /** function to deconvert tracks
55 * @param data AliHLTUInt8_t* pointer to input data
56 * @param size UInt_t& input size
57 * @return zero upon success
58 */
59 int DeconvertTracks( AliHLTUInt8_t* data, UInt_t& size );
60
61 /** function to deconvert clusters
62 * @param slice UInt_t slice number
63 * @param patch UInt_t patch number
64 * @param data AliHLTUInt8_t* pointer to input data
65 * @param size UInt_t& input size
66 * @return zero upon success
67 */
68 int DeconvertClusters( UInt_t slice, UInt_t patch, AliHLTUInt8_t* data, UInt_t& size );
69
70 protected:
71
72 /** member variable of input track array */
73 AliHLTTPCTrackArray fInputTrackArray;
74
75 /** member variable pointer to track cluster model data */
76 AliHLTUInt8_t* fTrackClusterModelData;
77 /** member variable for track cluster model data size */
78 UInt_t fTrackClusterModelDataSize;
79
80 /** member variable pointer to remaining clusters model data */
81 AliHLTUInt8_t* fRemainingClustersModelData;
82 /** member variable for remaining clusters model data size */
83 UInt_t fRemainingClustersModelDataSize;
84
85 private:
70d0b23e 86 /** copy constructor prohibited */
87 AliHLTTPCCompModelDeconverter(const AliHLTTPCCompModelDeconverter&);
88 /** assignment operator prohibited */
89 AliHLTTPCCompModelDeconverter& operator=(const AliHLTTPCCompModelDeconverter&);
ff2f0f94 90
91 ClassDef(AliHLTTPCCompModelDeconverter, 1)
92
93 };
94#endif