data structures for MC labels of TPC clusters are moved from AliHLTTPCClusterFinder...
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCClusterMCData.h
CommitLineData
d29671e2 1#ifndef _ALIHLTTPCCLUSTERMCDATA_H_
2#define _ALIHLTTPCCLUSTERMCDATA_H_
3
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 *
7
8#include "AliHLTDataTypes.h"
9
10
11/**
12 * @struct AliHLTTPCClusterMCWeight
13 * This in a struct for MC weights
14 * @ingroup alihlt_tpc
15 */
16struct AliHLTTPCClusterMCWeight
17{
18 AliHLTInt32_t fMCID; // MC track ID
19 AliHLTFloat32_t fWeight; // weight of the track ID
20};
21
22typedef struct AliHLTTPCClusterMCWeight AliHLTTPCClusterMCWeight;
23
24/**
25 * @struct AliHLTTPCClusterMCLabel
26 * This in a struct for MC labels
27 * @ingroup alihlt_tpc
28 */
29struct AliHLTTPCClusterMCLabel
30{
31 AliHLTTPCClusterMCWeight fClusterID[3]; // three most relevant MC labels
32};
33
34typedef struct AliHLTTPCClusterMCLabel AliHLTTPCClusterMCLabel;
35
36
37/**
38 * @struct AliHLTTPCClusterMCData
39 * This in a container for MC labels
40 * @ingroup alihlt_tpc
41 */
42struct AliHLTTPCClusterMCData
43{
44 AliHLTUInt32_t fCount;
45#if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC)
46 AliHLTTPCClusterMCLabel fLabels[1];
47#else
48 AliHLTTPCClusterMCLabel fLabels[];
49#endif
50};
51
52typedef struct AliHLTTPCClusterMCData AliHLTTPCClusterMCData;
53
54#endif