]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/SampleLib/AliHLTSampleComponent2.h
filter out some of the -D flags as rootcint has a limitation to 1024 charakters
[u/mrichter/AliRoot.git] / HLT / SampleLib / AliHLTSampleComponent2.h
CommitLineData
c5318542 1// @(#) $Id$
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
b22e91eb 8/** @file AliHLTSampleComponent2.h
9 @author Matthias Richter, Timm Steinbeck
10 @date
11 @brief Another sample processing component for the HLT. */
c5318542 12
13#include "AliHLTProcessor.h"
14
b22e91eb 15/**
16 * @class AliHLTSampleComponent2
aa7f26de 17 * @brief An HLT sample component.
18 * This component does not any data processing at all. It just
19 * illustrates the existence of several components in ine library and
20 * allows to set up a very simple chain with different components.
b22e91eb 21 * @ingroup alihlt_tutorial
22 */
c5318542 23class AliHLTSampleComponent2 : public AliHLTProcessor {
24public:
25 AliHLTSampleComponent2();
26 virtual ~AliHLTSampleComponent2();
27
28 const char* GetComponentID() { return "Sample-component2";}
8ede8717 29 void GetInputDataTypes( vector<AliHLTComponentDataType>& list) {
f79c8e02 30 list.push_back(kAliHLTAnyDataType);
c5318542 31 }
f644d3f1 32 AliHLTComponentDataType GetOutputDataType() {return kAliHLTVoidDataType;}
71d7c760 33 virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier ) {constBase = 0;inputMultiplier = 0;};
c5318542 34
35 // Spawn function, return new class instance
36 AliHLTComponent* Spawn() {return new AliHLTSampleComponent2;};
37
38 protected:
39
40 int DoInit( int argc, const char** argv );
41 int DoDeinit();
8ede8717 42 int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks,
43 AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr,
44 AliHLTUInt32_t& size, vector<AliHLTComponentBlockData>& outputBlocks );
c5318542 45
46private:
c5318542 47
48 ClassDef(AliHLTSampleComponent2, 0)
49};
50#endif