4 #ifndef ALIHLTTPCTRACKDUMPCOMPONENT_H
5 #define ALIHLTTPCTRACKDUMPCOMPONENT_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 AliHLTTPCTrackDumpComponent.h
11 @author Gaute Ovrebekk
13 @brief Special file writer converting TPC tracks input to ASCII.
16 #include "AliHLTFileWriter.h"
19 * @class AliHLTTPCTrackDumpComponent
20 * A converter for track data of the TPC to ASCII output.
21 * Data blocks of type fgkTrackSegmentsDataType or fgkTracksDataType is docoded
22 * written in readable ASCII format to a file.
24 * Component ID: \b TPCTrackDump <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 -->
34 * @ingroup alihlt_tpc_components
36 class AliHLTTPCTrackDumpComponent : public AliHLTFileWriter {
38 /** default constructor */
39 AliHLTTPCTrackDumpComponent();
41 virtual ~AliHLTTPCTrackDumpComponent();
43 // interface functions: property getters
44 virtual const char* GetComponentID();
45 virtual void GetInputDataTypes(AliHLTComponentDataTypeList& list);
46 virtual AliHLTComponent* Spawn();
49 // interface functions: processing
52 int DumpEvent( const AliHLTComponentEventData& evtData,
53 AliHLTComponentTriggerData& trigData );
54 using AliHLTDataSink::DumpEvent;
56 int ScanArgument(int argc, const char** argv);
59 /** copy constructor prohibited */
60 AliHLTTPCTrackDumpComponent(const AliHLTTPCTrackDumpComponent&);
61 /** assignment operator prohibited */
62 AliHLTTPCTrackDumpComponent& operator=(const AliHLTTPCTrackDumpComponent&);
64 int PrintTrack(const AliHLTComponentEventData& evtData,const AliHLTComponentBlockData* bl,Int_t &nT);
66 ClassDef(AliHLTTPCTrackDumpComponent,0);