]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/SampleLib/AliHLTSampleComponent2.h
correcting placement of 'using' statements (Thorsten)
[u/mrichter/AliRoot.git] / HLT / SampleLib / AliHLTSampleComponent2.h
CommitLineData
0cfce653 1// $Id$
c5318542 2
3#ifndef ALIHLTSAMPLECOMPONENT2_H
4#define ALIHLTSAMPLECOMPONENT2_H
5/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * See cxx source for full Copyright notice */
7
0cfce653 8/// @file AliHLTSampleComponent2.h
9/// @author Matthias Richter, Timm Steinbeck
10/// @date
11/// @brief Another sample processing component for the HLT.
12///
c5318542 13
14#include "AliHLTProcessor.h"
15
b22e91eb 16/**
17 * @class AliHLTSampleComponent2
aa7f26de 18 * @brief An HLT sample component.
19 * This component does not any data processing at all. It just
20 * illustrates the existence of several components in ine library and
21 * allows to set up a very simple chain with different components.
b22e91eb 22 * @ingroup alihlt_tutorial
23 */
c5318542 24class AliHLTSampleComponent2 : public AliHLTProcessor {
25public:
26 AliHLTSampleComponent2();
27 virtual ~AliHLTSampleComponent2();
28
29 const char* GetComponentID() { return "Sample-component2";}
0cfce653 30 void GetInputDataTypes( AliHLTComponentDataTypeList& list) {
f79c8e02 31 list.push_back(kAliHLTAnyDataType);
c5318542 32 }
f644d3f1 33 AliHLTComponentDataType GetOutputDataType() {return kAliHLTVoidDataType;}
71d7c760 34 virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier ) {constBase = 0;inputMultiplier = 0;};
c5318542 35
36 // Spawn function, return new class instance
37 AliHLTComponent* Spawn() {return new AliHLTSampleComponent2;};
38
39 protected:
40
41 int DoInit( int argc, const char** argv );
42 int DoDeinit();
8ede8717 43 int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks,
44 AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr,
0cfce653 45 AliHLTUInt32_t& size, AliHLTComponentBlockDataList& outputBlocks );
c5318542 46
d76bc02a 47 using AliHLTProcessor::DoEvent;
48
c5318542 49private:
c5318542 50
51 ClassDef(AliHLTSampleComponent2, 0)
52};
53#endif