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 //* 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 AliHLTSampleComponent2.cxx
21 /// @author Matthias Richter, Timm Steinbeck
23 /// @brief Another sample processing component for the HLT.
26 #include "AliHLTSampleComponent2.h"
30 ClassImp(AliHLTSampleComponent2)
32 AliHLTSampleComponent2::AliHLTSampleComponent2()
34 // see header file for class documentation
37 AliHLTSampleComponent2::~AliHLTSampleComponent2()
39 // see header file for class documentation
42 int AliHLTSampleComponent2::DoInit( int argc, const char** argv ){
43 // see header file for class documentation
44 Logging(kHLTLogInfo, "HLT", "Sample", "Sample component2, DoInit");
45 if (argc==0 && argv==NULL) {
46 // this is just to get rid of the warning "unused parameter"
51 int AliHLTSampleComponent2::DoDeinit(){
52 // see header file for class documentation
53 Logging(kHLTLogInfo, "HLT", "Sample", "Sample component2, DoDeinit");
57 int AliHLTSampleComponent2::DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks,
58 AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr,
59 AliHLTUInt32_t& size, AliHLTComponentBlockDataList& outputBlocks ) {
60 // see header file for class documentation
61 Logging(kHLTLogInfo, "HLT", "Sample", "Sample component2, DoEvent");
62 if (evtData.fStructSize==0 && blocks==NULL && trigData.fStructSize==0 &&
63 outputPtr==0 && size==0)
66 // this is just to get rid of the warning "unused parameter"