3 //**************************************************************************
4 //* This file is property of and copyright by the *
5 //* ALICE Experiment at CERN, All rights reserved. *
7 //* Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no> *
8 //* for The ALICE HLT Project. *
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 //**************************************************************************
19 /** @file AliHLTOUTHandlerEquId.cxx
20 @author Matthias Richter
22 @brief HLTOUT handler returning equipment id from data type and spec.
25 #include "AliHLTOUTHandlerEquId.h"
26 #include "AliHLTOUT.h"
28 /** ROOT macro for the implementation of ROOT specific class methods */
29 ClassImp(AliHLTOUTHandlerEquId)
31 AliHLTOUTHandlerEquId::AliHLTOUTHandlerEquId()
33 // Base class for DDL raw data redirection handlers.
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.
41 AliHLTOUTHandlerEquId::~AliHLTOUTHandlerEquId()
46 int AliHLTOUTHandlerEquId::ProcessData(AliHLTOUT* pData)
49 if (!pData) return -EINVAL;
50 AliHLTComponentDataType dt=kAliHLTVoidDataType;
51 AliHLTUInt32_t spec=kAliHLTVoidDataSpec;
52 int iResult=pData->GetDataBlockDescription(dt, spec);