]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/offline/AliHLTTPCOfflineCluster.h
The present commit corresponds to an important change in the way the
[u/mrichter/AliRoot.git] / HLT / TPCLib / offline / AliHLTTPCOfflineCluster.h
CommitLineData
cdfe3c01 1// XEmacs -*-C++-*-
2// $Id$
3
4#ifndef AliHLTTPC_OFFLINECLUSTER_H
5#define AliHLTTPC_OFFLINECLUSTER_H
6
7//* This file is property of and copyright by the ALICE HLT Project *
8//* ALICE Experiment at CERN, All rights reserved. *
9//* See cxx source for full Copyright notice *
10
11/** @file AliHLTTPCOfflineCluster.h
12 @author Kalliopi Kanaki
13 @brief Conversion of HLT cluster format to offline format and back
14*/
15
16#include "AliHLTLogging.h"
17
18#include "AliTPCclusterMI.h"
19#include "AliHLTTPCClusterDataFormat.h"
20#include "AliHLTTPCSpacePointData.h"
21
22
23/**
24 * @class AliHLTTPCOfflineCluster
25 *
26 * The conversion of HLT cluster format to offline one
27 *
28 * The conversion takes place cluster per cluster. The array
29 * with the offline clusters is filled in the respective
30 * conversion component (AliHLTTPCClusterConverter).
31 * The same is valid for the transformation of the cluster
32 * coordinates. This class only translates from the AliHLTTPCSpacePoint
33 * data struct to the offline AliTPCclusterMI class.
34 *
35 */
36
37class AliHLTTPCOfflineCluster : public AliTPCclusterMI {
38
39 public:
40
41 /** standard constructor */
42 AliHLTTPCOfflineCluster();
43 /** overloading the constructor */
44 AliHLTTPCOfflineCluster(const AliHLTTPCSpacePointData& hltCluster);
45 AliHLTTPCOfflineCluster(const AliTPCclusterMI& offCluster);
46 /** assignment operator */
47 AliHLTTPCOfflineCluster& operator=(const AliTPCclusterMI& offCluster);
48 /** destructor */
49 virtual ~AliHLTTPCOfflineCluster();
50
51 AliTPCclusterMI* ConvertHLTToOffline(AliHLTTPCSpacePointData spacePoint);
52 AliHLTTPCSpacePointData ConvertOfflineToHLT(AliTPCclusterMI *offCluster);
53
54 ClassDef(AliHLTTPCOfflineCluster,0)
55};
56#endif