X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HLT%2FPHOS%2FAliHLTPHOSRawAnalyzerComponentv3.h;h=607b3410cc15818f2f3e5b1134533db871388dc7;hb=675cf138f6ad8f580292c4d6d2a32f15837eb7af;hp=38541d6a2dda49cb87e6e6486d08604a1fa22389;hpb=44175a176df53fada3dea1f4f52b478535c1cc22;p=u%2Fmrichter%2FAliRoot.git diff --git a/HLT/PHOS/AliHLTPHOSRawAnalyzerComponentv3.h b/HLT/PHOS/AliHLTPHOSRawAnalyzerComponentv3.h index 38541d6a2dd..607b3410cc1 100644 --- a/HLT/PHOS/AliHLTPHOSRawAnalyzerComponentv3.h +++ b/HLT/PHOS/AliHLTPHOSRawAnalyzerComponentv3.h @@ -1,4 +1,5 @@ - +//-*- Mode: C++ -*- +// $Id$ /************************************************************************** * This file is property of and copyright by the ALICE HLT Project * * All rights reserved. * @@ -34,7 +35,7 @@ // or // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt -#include +#include "AliHLTCaloRawAnalyzerComponentv3.h" class AliHLTPHOSRawAnalyzer; @@ -87,56 +88,34 @@ class AliHLTPHOSRawAnalyzer; */ +//#include "AliCaloConstants.h" + +//using namespace Algo; + + class AliHLTPHOSRawAnalyzerComponentv3 : public AliHLTCaloRawAnalyzerComponentv3 { public: - - /** Standard constructor */ - AliHLTPHOSRawAnalyzerComponentv3(); - - /** Destructor */ + AliHLTPHOSRawAnalyzerComponentv3( fitAlgorithm algo ); /** Standard constructor */ virtual ~AliHLTPHOSRawAnalyzerComponentv3(); - - /** interface function, see @ref AliHLTComponent for description */ - virtual const char* GetComponentID() = 0; - - /** interface function, see @ref AliHLTComponent for description */ - virtual void GetInputDataTypes( vector & list); - - /** interface function, see @ref AliHLTComponent for description */ - virtual AliHLTComponentDataType GetOutputDataType(); - - /** interface function, see @ref AliHLTComponent for description */ - virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier); - - /** interface function, see @ref AliHLTComponent for description */ - virtual AliHLTComponent* Spawn() = 0; - - //virtual void InitMapping(const AliHLTUInt32_t specification); - + virtual void GetInputDataTypes( vector & list);/** interface function, see @ref AliHLTComponent for description */ + virtual AliHLTComponentDataType GetOutputDataType();/** interface function, see @ref AliHLTComponent for description */ + virtual const char* GetComponentID() = 0; + virtual AliHLTComponent* Spawn() = 0; /** interface function, see @ref AliHLTComponent for description */ + protected: - + /** interface function, see @ref AliHLTComponent for description */ - virtual int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, - AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, - AliHLTUInt32_t& size, vector& outputBlocks ); - - /** Pointer to an analyzer object used for raw data anlysis */ - AliHLTPHOSRawAnalyzer *fAnalyzerPtr; //COMMENT - - virtual void InitMapping(const int specification); + virtual int DoInit(int argc, const char** argv); + + virtual void InitMapping(const int specification); + private: - - /** Keep the copy constructor private since it should not be used */ + AliHLTPHOSRawAnalyzerComponentv3(); AliHLTPHOSRawAnalyzerComponentv3(const AliHLTPHOSRawAnalyzerComponentv3 & ); - - /** Keep the assignement operator private since it should not be used */ AliHLTPHOSRawAnalyzerComponentv3 & operator = (const AliHLTPHOSRawAnalyzerComponentv3 &); - - /** The current specification for which the mapping is loaded */ - AliHLTUInt32_t fCurrentSpec; - + }; #endif