LCOV - code coverage report
Current view: top level - HLT/TPCLib - AliHLTTPCClusterMCData.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 3 3 100.0 %
Date: 2016-06-14 17:26:59 Functions: 4 4 100.0 %

          Line data    Source code
       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             :   //* constructor **/
      19          18 :   AliHLTTPCClusterMCWeight(): fMCID(-1), fWeight(0)
      20          27 :   {}
      21             : 
      22             :   AliHLTInt32_t  fMCID;     // MC track ID
      23             :   AliHLTFloat32_t fWeight; // weight of the track ID
      24             : };  
      25             : 
      26             : typedef struct AliHLTTPCClusterMCWeight AliHLTTPCClusterMCWeight;
      27             : 
      28             : /**
      29             :  * @struct AliHLTTPCClusterMCLabel
      30             :  * This in a struct for MC labels
      31             :  * @ingroup alihlt_tpc
      32             :  */
      33          24 : struct AliHLTTPCClusterMCLabel
      34             : {
      35             :   AliHLTTPCClusterMCWeight fClusterID[3]; // three most relevant MC labels
      36             : };
      37             : 
      38             : typedef struct AliHLTTPCClusterMCLabel AliHLTTPCClusterMCLabel;
      39             : 
      40             : 
      41             : /**
      42             :  * @struct AliHLTTPCClusterMCData
      43             :  * This in a container for MC labels
      44             :  * @ingroup alihlt_tpc
      45             :  */
      46             : struct AliHLTTPCClusterMCData 
      47             : {
      48             :   AliHLTUInt32_t fCount;
      49             : #if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC)
      50             :   AliHLTTPCClusterMCLabel fLabels[1];
      51             : #else
      52             :   AliHLTTPCClusterMCLabel fLabels[0];
      53             : #endif
      54             : };
      55             : 
      56             : typedef struct AliHLTTPCClusterMCData AliHLTTPCClusterMCData;
      57             : 
      58             : #endif

Generated by: LCOV version 1.11