4 #ifndef ALIHLTTRDCLUSTER_H
5 #define ALIHLTTRDCLUSTER_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 AliHLTTRDCluster.h
11 @author Thedoor Rascanu
13 @brief A datacontainer for clusters fitting component for the HLT.
16 #include "AliTRDcluster.h"
17 #include "AliHLTDataTypes.h"
19 class AliHLTTRDCluster
23 AliHLTTRDCluster(const AliTRDcluster* const inCluster);
24 void ExportTRDCluster(AliTRDcluster* const outCluster) const;
25 static AliHLTUInt32_t SaveAt(AliHLTUInt8_t *const block, const AliTRDcluster* const inClust);
26 static AliHLTUInt32_t LoadFrom(AliTRDcluster *const outClust, const AliHLTUInt8_t *const block);
30 UInt_t fSignals; // Signals in the cluster
32 UChar_t fPadCol; // Central pad number in column direction
33 UChar_t fPadRow; // Central pad number in row direction
34 UChar_t fPadTime; // Uncalibrated time bin number
35 UChar_t fBits; // Bits of the cluster
38 // disable warnings to avoid
39 // warning: base class ‘class ...’ has a non-virtual destructor
41 #pragma GCC diagnostic ignored "-Weffc++"
42 #elif defined __SUNPRO_CC
44 #elif defined _MSC_VER
45 #pragma warning(push, 1)
48 class AliHLTTRDExtCluster: public AliHLTTRDCluster
51 AliHLTTRDExtCluster();
52 AliHLTTRDExtCluster(const AliTRDcluster* const inCluster);
53 void ExportTRDCluster(AliTRDcluster* const outCluster) const;
58 Float_t fX; // X of the cluster in the tracking c.s.
59 Float_t fY; // Y of the cluster in the tracking c.s.
60 Float_t fZ; // Z of the cluster in the tracking c.s.
62 // UChar_t fClusterMasking; // Bit field containing cluster status information
63 // Char_t fLocalTimeBin; // T0-calibrated time bin number
64 // UChar_t fNPads; // Number of pads in cluster
65 // Float_t fCenter; // Center of the cluster relative to the pad
70 #pragma GCC diagnostic warning "-Weffc++"
71 #elif defined __SUNPRO_CC
73 #elif defined _MSC_VER
77 struct AliHLTTRDClustersArray {
78 #ifdef HAVE_NOT_ALITRD_RECOPARAM_r41621
79 typedef AliHLTTRDExtCluster cluster_type;
81 typedef AliHLTTRDCluster cluster_type;
83 AliHLTTRDClustersArray(Int_t det):fDetector(det),fCount(0){}
86 #if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC)
87 cluster_type fCluster[1];
89 cluster_type fCluster[];