LCOV - code coverage report
Current view: top level - HLT/BASE - AliHLTOUTHandlerEquId.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 14 7.1 %
Date: 2016-06-14 17:26:59 Functions: 1 7 14.3 %

          Line data    Source code
       1             : // $Id$
       2             : 
       3             : //**************************************************************************
       4             : //* This file is property of and copyright by the                          * 
       5             : //* ALICE Experiment at CERN, All rights reserved.                         *
       6             : //*                                                                        *
       7             : //* Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no>        *
       8             : //*                  for The ALICE HLT Project.                            *
       9             : //*                                                                        *
      10             : //* Permission to use, copy, modify and distribute this software and its   *
      11             : //* documentation strictly for non-commercial purposes is hereby granted   *
      12             : //* without fee, provided that the above copyright notice appears in all   *
      13             : //* copies and that both the copyright notice and this permission notice   *
      14             : //* appear in the supporting documentation. The authors make no claims     *
      15             : //* about the suitability of this software for any purpose. It is          *
      16             : //* provided "as is" without express or implied warranty.                  *
      17             : //**************************************************************************
      18             : 
      19             : /** @file   AliHLTOUTHandlerEquId.cxx
      20             :     @author Matthias Richter
      21             :     @date   
      22             :     @brief  HLTOUT handler returning equipment id from data type and spec.
      23             : */
      24             : 
      25             : #include "AliHLTOUTHandlerEquId.h"
      26             : #include "AliHLTOUT.h"
      27             : 
      28             : /** ROOT macro for the implementation of ROOT specific class methods */
      29         126 : ClassImp(AliHLTOUTHandlerEquId)
      30             : 
      31           0 : AliHLTOUTHandlerEquId::AliHLTOUTHandlerEquId()
      32           0 : { 
      33             :   // Base class for DDL raw data redirection handlers.
      34             :   //
      35             :   // HLTOUT handlers of this type are used for the replacement of detector
      36             :   // reconstruction input by the corresponding data from the HLT output.
      37             :   // From the data type and specification of an HLT output block the
      38             :   // corresponding equipment id of the original detector streams is determined.
      39           0 : }
      40             : 
      41             : AliHLTOUTHandlerEquId::~AliHLTOUTHandlerEquId()
      42           0 : {
      43             :   // destructor
      44           0 : }
      45             : 
      46             : int AliHLTOUTHandlerEquId::ProcessData(AliHLTOUT* pData)
      47             : {
      48             :   // process data
      49           0 :   if (!pData) return -EINVAL;
      50           0 :   AliHLTComponentDataType dt=kAliHLTVoidDataType;
      51           0 :   AliHLTUInt32_t spec=kAliHLTVoidDataSpec;
      52           0 :   int iResult=pData->GetDataBlockDescription(dt, spec);
      53           0 :   if (iResult>=0) {
      54           0 :     iResult=(int)spec;
      55           0 :   }
      56             :   return iResult;
      57           0 : }

Generated by: LCOV version 1.11