]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/SampleLib/AliHLTSampleComponent2.cxx
8e07c404580ca32f5c7886cd82b770dcc8ec6f80
[u/mrichter/AliRoot.git] / HLT / SampleLib / AliHLTSampleComponent2.cxx
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
19 ///////////////////////////////////////////////////////////////////////////////
20 //                                                                           //
21 // a sample processing component for the HLT                                 //
22 //                                                                           //
23 ///////////////////////////////////////////////////////////////////////////////
24
25 #if __GNUC__== 3
26 using namespace std;
27 #endif
28
29 #include "AliL3StandardIncludes.h"
30 #include "AliHLTSampleComponent2.h"
31
32 // this is a global object used for automatic component registration, do not use this
33 AliHLTSampleComponent2 gAliHLTSampleComponent2;
34
35 ClassImp(AliHLTSampleComponent2)
36
37 const AliHLTComponent_DataType AliHLTSampleComponent2::inputDataTypes[]={{0,0}, {0,0}}; //'zero' terminated array
38 const AliHLTComponent_DataType AliHLTSampleComponent2::outputDataType={0,0};
39
40 AliHLTSampleComponent2::AliHLTSampleComponent2()
41 {
42 }
43
44 AliHLTSampleComponent2::~AliHLTSampleComponent2()
45 {
46 }
47
48 int AliHLTSampleComponent2::DoInit( int argc, const char** argv ){
49   Logging(kHLTLogInfo, "HLT", "Sample", "Sample component2, DoInit");
50   return 0;
51 }
52
53 int AliHLTSampleComponent2::DoDeinit(){
54   Logging(kHLTLogInfo, "HLT", "Sample", "Sample component2, DoDeinit");
55   return 0;
56 }
57
58 int AliHLTSampleComponent2::DoEvent( AliHLTComponent_EventData evtData, AliHLTComponent_BlockData* blocks, 
59                                       AliHLTComponent_TriggerData trigData, AliHLTUInt8_t* outputPtr, 
60                                       AliHLTUInt32_t* size, vector<AliHLTComponent_BlockData>& outputBlocks ) {
61   Logging(kHLTLogInfo, "HLT", "Sample", "Sample component2, DoEvent");
62   return 0;
63 }