//-*- Mode: C++ -*- // $Id$ #ifndef ALIHLTZDCESDRECOCOMPONENT_H #define ALIHLTZDCESDRECOCOMPONENT_H /* This file is property of and copyright by the ALICE HLT Project * * ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /** @file AliHLTZDCESDRecoComponent.h @author Chiara Oppedisano @brief ZDC reconstruction component */ // see below for class documentation // or // refer to README to build package // or // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt #include "AliHLTProcessor.h" #include "AliESDEvent.h" class AliZDCReconstructor; class AliRawReaderMemory; /** * @class AliHLTZDCESDRecoComponent * Reconstruction of ZDC data * *

General properties:

* * Component ID: \b ZDCESDReco
* Library: \b libAliHLTZDC.so
* Input Data Types: @ref kAliHLTDataTypeDDLRaw
* Output Data Types: @ref kAliHLTDataTypeESDContent|kAliHLTDataOriginZDC
* *

Mandatory arguments:

* * *

Optional arguments:

* * *

Configuration:

* * *

Default CDB entries:

* * * HLT/ConfigZDC/ZDCESDReco * \li -TObjString object holding a string with the configuration parameters * currently empty * * GRP/GRP/Data * \li -GRP object - run information * * *

Performance:

* *

Memory consumption:

* *

Input size:

* * * \li pp: xx Byte * *

Output size:

* * * \li pp: Average : xx kByte * *

Macros Tests

* * * macros/makeConfigurationObjectZDCReconstruction.C * \li - Create configuration TObjString * * macros/HLTZDCTest.C * \li - Test macro for ZDC test in off-line environment * * macros/runZDCTest.sh * \li - Run Test macro HLTZDCTest.C * * @ingroup alihlt_zdc */ class AliHLTZDCESDRecoComponent : public AliHLTProcessor { public: /** constructor */ AliHLTZDCESDRecoComponent(); /** destructor */ virtual ~AliHLTZDCESDRecoComponent(); /** interface function, see @ref AliHLTComponent for description */ const char* GetComponentID(); /** interface function, see @ref AliHLTComponent for description */ void GetInputDataTypes( vector& list); /** interface function, see @ref AliHLTComponent for description */ AliHLTComponentDataType GetOutputDataType(); /** interface function, see @ref AliHLTComponent for description */ virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier ); /** interface function, see @ref AliHLTComponent for description */ AliHLTComponent* Spawn(); protected: /** interface function, see @ref AliHLTComponent for description */ int DoInit( int argc, const char** argv ); /** interface function, see @ref AliHLTComponent for description */ int DoDeinit(); /** interface function, see @ref AliHLTComponent for description */ int DoEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData); /** interface function, see @ref AliHLTComponent for description */ int ScanConfigurationArgument(int argc, const char** argv); /** interface function, see @ref AliHLTComponent for description */ int Reconfigure(const char* cdbEntry, const char* chainId); /** interface function, see @ref AliHLTComponent for description */ int ReadPreprocessorValues(const char* modules); using AliHLTProcessor::DoEvent; private: /** copy constructor prohibited */ AliHLTZDCESDRecoComponent(const AliHLTZDCESDRecoComponent&); /** assignment operator prohibited */ AliHLTZDCESDRecoComponent& operator=(const AliHLTZDCESDRecoComponent&); /** rawreader instance */ AliRawReaderMemory *fRawReader; //! transient /** ZDC reconstructor instance */ AliZDCReconstructor *fReconstructor; //! ZDC reconstructor ClassDef(AliHLTZDCESDRecoComponent, 0) }; #endif