4 #ifndef ALIHLTOFFLINEDATASOURCE_H
5 #define ALIHLTOFFLINEDATASOURCE_H
6 ///* This file is property of and copyright by the *
7 ///* ALICE Experiment at CERN, All rights reserved. *
8 ///* See cxx source for full Copyright notice *
10 /// @file AliHLTOfflineDataSource.h
11 /// @author Matthias Richter
13 /// @brief AliRoot data sink component base class.
16 #include "AliHLTDataSource.h"
17 #include "AliHLTOfflineInterface.h"
19 /******************************************************************************/
22 * @class AliHLTOfflineDataSource
23 * The class implements a AliRoot data source component base class.
24 * The child class must implement the functions:
25 * - @ref DoInit (optional)
26 * - @ref DoDeinit (optional)
28 * - @ref GetComponentID
29 * - @ref GetOutputDataType
30 * - @ref GetOutputDataSize
33 * @note This class is only used for the @ref alihlt_system.
35 * @ingroup alihlt_system
37 class AliHLTOfflineDataSource
38 : public AliHLTDataSource, public AliHLTOfflineInterface {
40 /** standard constructor */
41 AliHLTOfflineDataSource();
43 virtual ~AliHLTOfflineDataSource();
46 * Default implementation as sources do not have a real FillESD method.
48 int FillESD(int /*eventNo*/, AliRunLoader* /*runLoader*/, AliESDEvent* /*esd*/) {
53 /** copy constructor prohibited */
54 AliHLTOfflineDataSource(const AliHLTOfflineDataSource&);
55 /** assignment operator prohibited */
56 AliHLTOfflineDataSource& operator=(const AliHLTOfflineDataSource&);
58 ClassDef(AliHLTOfflineDataSource, 0);