/************************************************************************** * This file is property of and copyright by the ALICE HLT Project * * All rights reserved. * * * * Primary Authors: Per Thomas Hille, Oystein Djuvsland * * * * Permission to use, copy, modify and distribute this software and its * * documentation strictly for non-commercial purposes is hereby granted * * without fee, provided that the above copyright notice appears in all * * copies and that both the copyright notice and this permission notice * * appear in the supporting documentation. The authors make no claims * * about the suitability of this software for any purpose. It is * * provided "as is" without express or implied warranty. * **************************************************************************/ #ifndef ALIHLTPHOSRAWANALYZERCOMPONENTV3_H #define ALIHLTPHOSRAWANALYZERCOMPONENTV3_H /** * Raw data analyzer component base class for PHOS HLT * * @file AliHLTPHOSRawAnalyzerComponentv3.h * @author Oystein Djuvsland * @date * @brief A clusterizer component for PHOS HLT */ // see below for class documentation // or // refer to README to build package // or // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt #include "AliHLTCaloRawAnalyzerComponentv3.h" class AliHLTPHOSRawAnalyzer; /** * @class AliHLTPHOSRawAnalyzerComponentv3 * This the new and fast version of the component taking care of the decoding and energy and timing * extraction of the raw data from PHOS. * *

General properties:

* * Component ID: \b PhosRawAnalyzerv3
* Library: \b libAliHLTPHOS.so
* Input Data Types: @ref
* Output Data Types: @ref AliHLTPHOSDefinitions::fgkChannelDataType
* *

Mandatory arguments:

* * \li No mandatory arguments for component
* *

Optional arguments:

* * \li -offset value
* gives the offset added to the data during zero suppression (default value: 0) * \li -bunchsizecut value
* minimum number of samples a bunch must contain to be considered (default value: 0) * \li -minpeakposition value
* cut on minimum postion of the peak in the bunch (defaul value: 0) * \li -maxpeakposition value
* cut on maximum postion of the peak in the bunch (defaul value: 100) * *

Configuration:

* * \li No configuration arguments * *

Default CDB entries:

* \li No CDB entry yet, will come. * *

Performance:

* Pretty good (~ 3 kHz), depends on amount of data... * *

Memory consumption:

* Depends on the amount of data, but pretty godd * *

Output size:

* Depends on the amount of data... * * More detailed description. (Soon) * * @ingroup alihlt_phos */ //#include "AliCaloConstants.h" //using namespace Algo; class AliHLTPHOSRawAnalyzerComponentv3 : public AliHLTCaloRawAnalyzerComponentv3 { public: AliHLTPHOSRawAnalyzerComponentv3( fitAlgorithm algo ); /** Standard constructor */ virtual ~AliHLTPHOSRawAnalyzerComponentv3(); 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 DoInit(int argc, const char** argv); virtual void InitMapping(const int specification); private: AliHLTPHOSRawAnalyzerComponentv3(); AliHLTPHOSRawAnalyzerComponentv3(const AliHLTPHOSRawAnalyzerComponentv3 & ); AliHLTPHOSRawAnalyzerComponentv3 & operator = (const AliHLTPHOSRawAnalyzerComponentv3 &); }; #endif