3 /**************************************************************************
4 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * Authors: Matthias Richter <Matthias.Richter@ift.uib.no> *
7 * Timm Steinbeck <timm@kip.uni-heidelberg.de> *
8 * for The ALICE Off-line 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 AliHLTSampleComponent2.cxx
20 @author Matthias Richter, Timm Steinbeck
22 @brief Another sample processing component for the HLT. */
28 #include "AliHLTSampleComponent2.h"
31 * The global object used for automatic component registration,
32 * @note DO NOT use this component for calculation!
34 AliHLTSampleComponent2 gAliHLTSampleComponent2;
36 ClassImp(AliHLTSampleComponent2)
38 const AliHLTComponent_DataType AliHLTSampleComponent2::inputDataTypes[]={{0,0}, {0,0}}; //'zero' terminated array
39 const AliHLTComponent_DataType AliHLTSampleComponent2::outputDataType={0,0};
41 AliHLTSampleComponent2::AliHLTSampleComponent2()
45 AliHLTSampleComponent2::~AliHLTSampleComponent2()
49 int AliHLTSampleComponent2::DoInit( int argc, const char** argv ){
50 Logging(kHLTLogInfo, "HLT", "Sample", "Sample component2, DoInit");
54 int AliHLTSampleComponent2::DoDeinit(){
55 Logging(kHLTLogInfo, "HLT", "Sample", "Sample component2, DoDeinit");
59 int AliHLTSampleComponent2::DoEvent( const AliHLTComponent_EventData& evtData, const AliHLTComponent_BlockData* blocks,
60 AliHLTComponent_TriggerData& trigData, AliHLTUInt8_t* outputPtr,
61 AliHLTUInt32_t& size, vector<AliHLTComponent_BlockData>& outputBlocks ) {
62 Logging(kHLTLogInfo, "HLT", "Sample", "Sample component2, DoEvent");