// $Id$ //************************************************************************** //* This file is property of and copyright by the ALICE HLT Project * //* ALICE Experiment at CERN, All rights reserved. * //* * //* Primary Authors: Matthias Richter * //* for The ALICE HLT Project. * //* * //* Permission to use, copy, modify and distribute this software and its * //* documentation strictly for non-commercial purposes is hereby granted * //* without fee, provided that the above copyright notice appears in all * //* copies and that both the copyright notice and this permission notice * //* appear in the supporting documentation. The authors make no claims * //* about the suitability of this software for any purpose. It is * //* provided "as is" without express or implied warranty. * //************************************************************************** /** @file AliHLTOUTHandlerEquId.cxx @author Matthias Richter @date @brief HLTOUT handler returning equipment id from data type and spec. */ #include "AliHLTOUTHandlerEquId.h" #include "AliHLTOUT.h" /** ROOT macro for the implementation of ROOT specific class methods */ ClassImp(AliHLTOUTHandlerEquId) AliHLTOUTHandlerEquId::AliHLTOUTHandlerEquId() { // see header file for class documentation // or // refer to README to build package // or // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt } AliHLTOUTHandlerEquId::~AliHLTOUTHandlerEquId() { // see header file for class documentation } int AliHLTOUTHandlerEquId::ProcessData(AliHLTOUT* pData) { // see header file for class documentation if (!pData) return -EINVAL; AliHLTComponentDataType dt=kAliHLTVoidDataType; AliHLTUInt32_t spec=kAliHLTVoidDataSpec; int iResult=pData->GetDataBlockDescription(dt, spec); if (iResult>=0) { iResult=(int)spec; } return iResult; }