]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/AliHLTTPCClusterMCData.h
Upgrade to draw evolution of the number of live channels
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCClusterMCData.h
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  */
16 struct AliHLTTPCClusterMCWeight
17 {
18   AliHLTInt32_t  fMCID;     // MC track ID
19   AliHLTFloat32_t fWeight; // weight of the track ID
20 };  
21
22 typedef struct AliHLTTPCClusterMCWeight AliHLTTPCClusterMCWeight;
23
24 /**
25  * @struct AliHLTTPCClusterMCLabel
26  * This in a struct for MC labels
27  * @ingroup alihlt_tpc
28  */
29 struct AliHLTTPCClusterMCLabel
30 {
31   AliHLTTPCClusterMCWeight fClusterID[3]; // three most relevant MC labels
32 };
33
34 typedef struct AliHLTTPCClusterMCLabel AliHLTTPCClusterMCLabel;
35
36
37 /**
38  * @struct AliHLTTPCClusterMCData
39  * This in a container for MC labels
40  * @ingroup alihlt_tpc
41  */
42 struct 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
52 typedef struct AliHLTTPCClusterMCData AliHLTTPCClusterMCData;
53
54 #endif