4 #ifndef ALIHLTTPCCLUSTERDUMPCOMPONENT_H
5 #define ALIHLTTPCCLUSTERDUMPCOMPONENT_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 AliHLTTPCClusterDumpComponent.h
11 @author Kenneth Aamodt, Matthias Richter
13 @brief Special file writer converting TPC clusters input to readable ASCII format.
16 #include "AliHLTFileWriter.h"
19 * @class AliHLTTPCClusterDumpComponent
20 * A converter for TPC clusters to ASCII output.
21 * Data blocks of type :AliHLTTPCDefinition::fgkClustersDataType and origin 'TPC ' is
22 * written in readable ASCII format to a file.
24 * Component ID: \b TPCClusterDump <br>
25 * Library: \b libAliHLTTPC
27 * See AliHLTFileWriter for arguments, further specific options
28 * Mandatory arguments: <br>
29 * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formatting -->
31 * Optional arguments: <br>
32 * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formatting -->
33 * \li -directory <i> directory </i> <br>
34 * the files will be put in.
37 * @ingroup alihlt_tpc_components
39 class AliHLTTPCClusterDumpComponent : public AliHLTFileWriter {
41 /** default constructor */
42 AliHLTTPCClusterDumpComponent();
44 virtual ~AliHLTTPCClusterDumpComponent();
46 // interface functions: property getters
47 virtual const char* GetComponentID();
48 virtual void GetInputDataTypes(AliHLTComponentDataTypeList& list);
49 virtual AliHLTComponent* Spawn();
52 // interface functions: processing
55 int DumpEvent( const AliHLTComponentEventData& evtData,
56 AliHLTComponentTriggerData& trigData );
57 using AliHLTDataSink::DumpEvent;
59 int ScanArgument(int argc, const char** argv);
62 /** copy constructor prohibited */
63 AliHLTTPCClusterDumpComponent(const AliHLTTPCClusterDumpComponent&);
64 /** assignment operator prohibited */
65 AliHLTTPCClusterDumpComponent& operator=(const AliHLTTPCClusterDumpComponent&);
68 //Int_t fSlice; //! transient
70 ClassDef(AliHLTTPCClusterDumpComponent, 0);