3 /**************************************************************************
4 * This file is property of and copyright by the ALICE HLT Project *
5 * ALICE Experiment at CERN, All rights reserved. *
7 * Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no> *
8 * Timm Steinbeck <timm@kip.uni-heidelberg.de> *
9 * for The ALICE HLT Project. *
11 * Permission to use, copy, modify and distribute this software and its *
12 * documentation strictly for non-commercial purposes is hereby granted *
13 * without fee, provided that the above copyright notice appears in all *
14 * copies and that both the copyright notice and this permission notice *
15 * appear in the supporting documentation. The authors make no claims *
16 * about the suitability of this software for any purpose. It is *
17 * provided "as is" without express or implied warranty. *
18 **************************************************************************/
20 /** @file AliHLTProcessor.cxx
21 @author Matthias Richter, Timm Steinbeck
23 @brief Base class implementation for HLT analysis components. */
29 #include "AliHLTProcessor.h"
32 /** ROOT macro for the implementation of ROOT specific class methods */
33 ClassImp(AliHLTProcessor)
35 AliHLTProcessor::AliHLTProcessor()
37 // see header file for class documentation
39 // refer to README to build package
41 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
44 AliHLTProcessor::~AliHLTProcessor()
46 // see header file for class documentation
49 int AliHLTProcessor::Init( AliHLTComponentEnvironment* environ, void* environParam, int argc, const char** argv )
51 // see header file for class documentation
53 iResult=AliHLTComponent::Init(environ, environParam, argc, argv);
57 int AliHLTProcessor::Deinit()
59 // see header file for class documentation
61 iResult=AliHLTComponent::Deinit();
65 int AliHLTProcessor::DoProcessing( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks,
66 AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr,
68 vector<AliHLTComponentBlockData>& outputBlocks,
69 AliHLTComponentEventDoneData*& edd )
71 // see header file for class documentation
73 iResult=DoEvent(evtData, blocks, trigData, outputPtr, size, outputBlocks);
78 int AliHLTProcessor::DoEvent( const AliHLTComponentEventData& evtData,
79 const AliHLTComponentBlockData* blocks,
80 AliHLTComponentTriggerData& trigData,
81 AliHLTUInt8_t* outputPtr,
83 vector<AliHLTComponentBlockData>& outputBlocks )
85 // we just forward to the high level method, all other parameters already
86 // have been stored internally
87 return DoEvent(evtData, trigData);
90 int AliHLTProcessor::DoEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData)
92 HLTFatal("no processing method implemented");