//-*- Mode: C++ -*- #ifndef ALIHLTEMCALCLUSTERIZERCOMPONENT_H #define ALIHLTEMCALCLUSTERIZERCOMPONENT_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 AliHLTEMCALClusterizerComponent.h @author Matthias Richter, Timm Steinbeck @date @brief A sample processing component for the HLT. */ #include "AliHLTProcessor.h" /** * @class AliHLTEMCALClusterizerComponent */ class TFile; class TGeoManager; class AliEMCALClusterizer; class AliCDBManager; class AliRawReaderMemory; class AliHLTEMCALClusterizerComponent : public AliHLTProcessor { public: AliHLTEMCALClusterizerComponent(); AliHLTEMCALClusterizerComponent(const AliHLTEMCALClusterizerComponent& c); virtual ~AliHLTEMCALClusterizerComponent(); AliHLTEMCALClusterizerComponent& operator=(const AliHLTEMCALClusterizerComponent&); // AliHLTComponent interface functions const char* GetComponentID(); void GetInputDataTypes( vector& list); AliHLTComponentDataType GetOutputDataType(); virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier ); // Spawn function, return new class instance AliHLTComponent* Spawn() {return new AliHLTEMCALClusterizerComponent;}; protected: // AliHLTComponent interface functions int DoInit( int argc, const char** argv ); int DoDeinit(); int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, AliHLTUInt32_t& size, vector& outputBlocks ); int Reconfigure(const char* cdbEntry, const char* chainId); int ReadPreprocessorValues(const char* modules); using AliHLTProcessor::DoEvent; private: /** * Configure the component. * Parse a string for the configuration arguments and set the component * properties. * * This function illustrates the scanning of an argument string. The string * was presumably fetched from the CDB. */ int Configure(const char* arguments); unsigned fOutputPercentage; // Output volume in percentage of the input string fStorageDBpath; // Default path for OCDB AliCDBManager *fCDB; //! Pointer to OCDB string fGeometryFileName; // Path to geometry file - geom handled by the utils ClassDef(AliHLTEMCALClusterizerComponent, 1) }; #endif