//-*- Mode: C++ -*- // $Id: AliHLTGlobalEsdToFlatConverterComponent $ #ifndef ALIHLTESDTOFLATCONVERTERCOMPONENT_H #define ALIHLTESDTOFLATCONVERTERCOMPONENT_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 AliHLTGlobalEsdToFlatConverterComponent.h @author Steffen Weber @brief Component to convert ESD objects to flatESD objects */ // 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" class TH1F; class TList; class AliESDVZERO; class AliESDtrackCuts; class AliHLTCTPData; class AliHLTMultiplicityCorrelations; class AliHLTGlobalTriggerDecision; class AliHLTTestInputHandler; class AliHLTGlobalEsdToFlatConverterComponent : public AliHLTProcessor { public: /* * --------------------------------------------------------------------------------- * Constructor / Destructor * --------------------------------------------------------------------------------- */ /** constructor */ AliHLTGlobalEsdToFlatConverterComponent(); /** destructor */ virtual ~AliHLTGlobalEsdToFlatConverterComponent(); /* * --------------------------------------------------------------------------------- * Public functions to implement AliHLTComponent's interface. * These functions are required for the registration process * --------------------------------------------------------------------------------- */ /** interface function, see @ref AliHLTComponent for description */ const Char_t* 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 */ void GetOutputDataSize( ULong_t& constBase, Double_t& inputMultiplier ); /** interface function, see @ref AliHLTComponent for description */ // void GetOCDBObjectDescription( TMap* const targetMap); /** interface function, see @ref AliHLTComponent for description */ AliHLTComponent* Spawn(); protected: /* * --------------------------------------------------------------------------------- * Protected functions to implement AliHLTComponent's interface. * These functions provide initialization as well as the actual processing * capabilities of the component. * --------------------------------------------------------------------------------- */ // AliHLTComponent interface functions /** interface function, see @ref AliHLTComponent for description */ Int_t DoInit( Int_t /*argc*/, const Char_t** /*argv*/ ); /** interface function, see @ref AliHLTComponent for description */ Int_t DoDeinit(); /** interface function, see @ref AliHLTComponent for description */ int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, AliHLTUInt32_t& size, AliHLTComponentBlockDataList& outputBlocks); using AliHLTProcessor::DoEvent; /** * Configure the component. * Parse a string for the configuration arguments and set the component * properties. */ int Configure(const char* arguments); /** interface function, see @ref AliHLTComponent for description */ Int_t Reconfigure(const Char_t* cdbEntry, const Char_t* chainId); /** interface function, see @ref AliHLTComponent for description */ Int_t ReadPreprocessorValues(const Char_t* modules); /////////////////////////////////////////////////////////////////////////////////// private: /* * --------------------------------------------------------------------------------- * Private functions to implement AliHLTComponent's interface. * These functions provide initialization as well as the actual processing * capabilities of the component. * --------------------------------------------------------------------------------- */ /** copy constructor prohibited */ AliHLTGlobalEsdToFlatConverterComponent(const AliHLTGlobalEsdToFlatConverterComponent&); /** assignment operator prohibited */ AliHLTGlobalEsdToFlatConverterComponent& operator=(const AliHLTGlobalEsdToFlatConverterComponent&); /* * --------------------------------------------------------------------------------- * Helper * --------------------------------------------------------------------------------- */ /* * --------------------------------------------------------------------------------- * Members - private * --------------------------------------------------------------------------------- */ /** UID for merging */ ClassDef(AliHLTGlobalEsdToFlatConverterComponent, 0) }; #endif