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

          Line data    Source code
       1             : // **************************************************************************
       2             : // * This file is property of and copyright by the ALICE HLT Project        *
       3             : // * All rights reserved.                                                   *
       4             : // *                                                                        *
       5             : // * Primary Authors:                                                       *
       6             : // *     Copyright 2009       Matthias Kretz <kretz@kde.org>                *
       7             : // *                                                                        *
       8             : // * Permission to use, copy, modify and distribute this software and its   *
       9             : // * documentation strictly for non-commercial purposes is hereby granted   *
      10             : // * without fee, provided that the above copyright notice appears in all   *
      11             : // * copies and that both the copyright notice and this permission notice   *
      12             : // * appear in the supporting documentation. The authors make no claims     *
      13             : // * about the suitability of this software for any purpose. It is          *
      14             : // * provided "as is" without express or implied warranty.                  *
      15             : // **************************************************************************
      16             : 
      17             : #ifndef ALIHLTTPCCAHITID_H
      18             : #define ALIHLTTPCCAHITID_H
      19             : 
      20             : class AliHLTTPCCAHitId
      21             : {
      22             :   public:
      23           0 :     GPUhd() void Set( int row, int hit ) { fId = ( hit << 8 ) | row; }
      24           0 :     GPUhd() int RowIndex() const { return fId & 0xff; }
      25           0 :     GPUhd() int HitIndex() const { return fId >> 8; }
      26             : 
      27             :   private:
      28             :     int fId;
      29             : };
      30             : 
      31             : #endif // ALIHLTTPCCAHITID_H

Generated by: LCOV version 1.11