4 #ifndef ALIHLTTPCDIGITDUMPCOMPONENT_H
5 #define ALIHLTTPCDIGITDUMPCOMPONENT_H
6 /* This file is property of and copyright by the ALICE HLT Project *
7 * ALICE Experiment at CERN, All rights reserved. *
8 * See cxx source for full Copyright notice */
10 /** @file AliHLTTPCDigitDumpComponent.h
11 @author Matthias Richter
13 @brief Special file writer converting TPC digit input to ASCII.
16 // see below for class documentation
18 // refer to README to build package
20 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
22 #include "AliHLTFileWriter.h"
25 * @class AliHLTTPCDigitDumpComponent
26 * A converter for digit data of the TPC input to ASCII output.
27 * Data is written to file.
29 * Component ID: \b TPCDigitDump <br>
30 * Library: \b libAliHLTTPC
32 * See AliHLTFileWriter for arguments, further specific options
33 * Mandatory arguments: <br>
34 * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formating -->
36 * Optional arguments: <br>
37 * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formating -->
40 class AliHLTTPCDigitDumpComponent : public AliHLTFileWriter {
42 /** default constructor */
43 AliHLTTPCDigitDumpComponent();
45 virtual ~AliHLTTPCDigitDumpComponent();
47 // interface functions: property getters
48 virtual const char* GetComponentID();
49 virtual void GetInputDataTypes(AliHLTComponentDataTypeList& list);
50 virtual AliHLTComponent* Spawn();
53 // interface functions: processing
54 virtual int InitWriter();
55 virtual int CloseWriter();
56 virtual int DumpEvent( const AliHLTComponentEventData& evtData,
57 const AliHLTComponentBlockData* blocks,
58 AliHLTComponentTriggerData& trigData );
59 virtual int ScanArgument(int argc, const char** argv);
63 /** copy constructor prohibited */
64 AliHLTTPCDigitDumpComponent(const AliHLTTPCDigitDumpComponent&);
65 /** assignment operator prohibited */
66 AliHLTTPCDigitDumpComponent& operator=(const AliHLTTPCDigitDumpComponent&);
68 /** the mode for the DigitReaderRaw */
69 unsigned fRawreaderMode; //!transient
71 ClassDef(AliHLTTPCDigitDumpComponent, 0);