]>
Commit | Line | Data |
---|---|---|
c5318542 | 1 | // $Id$ |
2 | ||
3 | /************************************************************************** | |
4 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * * | |
6 | * Authors: Matthias Richter <Matthias.Richter@ift.uib.no> * | |
7 | * Timm Steinbeck <timm@kip.uni-heidelberg.de> * | |
8 | * for The ALICE Off-line 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 | ||
b22e91eb | 19 | /** @file AliHLTSampleComponent1.cxx |
20 | @author Matthias Richter, Timm M. Steinbeck | |
21 | @date | |
22 | @brief A sample processing component for the HLT. */ | |
c5318542 | 23 | |
24 | #if __GNUC__== 3 | |
25 | using namespace std; | |
26 | #endif | |
27 | ||
c5318542 | 28 | #include "AliHLTSampleComponent1.h" |
29 | ||
b22e91eb | 30 | /** |
31 | * The global object used for automatic component registration, | |
32 | * @note DO NOT use this component for calculation! | |
33 | */ | |
c5318542 | 34 | AliHLTSampleComponent1 gAliHLTSampleComponent1; |
35 | ||
36 | ClassImp(AliHLTSampleComponent1) | |
37 | ||
2d7ff710 | 38 | const AliHLTComponentDataType AliHLTSampleComponent1::inputDataTypes[]={kAliHLTVoidDataType, |
39 | {0,"",""}}; //'zero' terminated array | |
40 | const AliHLTComponentDataType AliHLTSampleComponent1::outputDataType=kAliHLTVoidDataType; | |
c5318542 | 41 | |
42 | AliHLTSampleComponent1::AliHLTSampleComponent1() | |
43 | { | |
44 | } | |
45 | ||
46 | AliHLTSampleComponent1::~AliHLTSampleComponent1() | |
47 | { | |
48 | } | |
49 | ||
50 | int AliHLTSampleComponent1::DoInit( int argc, const char** argv ){ | |
51 | Logging(kHLTLogInfo, "HLT", "Sample", "Sample component1, DoInit"); | |
52 | return 0; | |
53 | } | |
54 | ||
55 | int AliHLTSampleComponent1::DoDeinit(){ | |
56 | Logging(kHLTLogInfo, "HLT", "Sample", "Sample component1, DoDeinit"); | |
57 | return 0; | |
58 | } | |
59 | ||
8ede8717 | 60 | int AliHLTSampleComponent1::DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, |
61 | AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, | |
62 | AliHLTUInt32_t& size, vector<AliHLTComponentBlockData>& outputBlocks ) { | |
c5318542 | 63 | Logging(kHLTLogInfo, "HLT", "Sample", "Sample component1, DoEvent"); |
64 | return 0; | |
65 | } |