//-*- Mode: C++ -*- // $Id$ /************************************************************************** * This file is property of and copyright by the ALICE HLT Project * * All rights reserved. * * * * Primary Authors: 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 ALIHLTEMCALCLUSTERIZERCOMPONENT_H #define ALIHLTEMCALCLUSTERIZERCOMPONENT_H /** * Clusterizer component for EMCAL HLT * * @file AliHLTEMCALClusterizerComponent.h * @author Oystein Djuvsland * @date * @brief A clusterizer component for EMCAL 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 "AliHLTCaloClusterizerComponent.h" #include // class AliHLTEMCALClusterizer; // class AliHLTEMCALRcuCellEnergyDataStruct; // class AliHLTEMCALRecPointDataStruct; // class AliHLTEMCALRecPointContainerStruct; // class AliHLTEMCALRecPointListDataStruct; // class AliHLTEMCALDigitContainerDataStruct; /** * @class AliHLTEMCALClusterizerComponent * * Class for running clusterization for EMCAL in HLT. It takes digits as input and * gives reconstruction points as output. * * The component has the following component arguments: * -clusterthreshold The energy threshold for starting a new rec point * -energythreshold The energy threshold for including a digit in a * rec point * @ingroup alihlt_phos */ /** * @class AliHLTEMCALClusterizerComponent * * Class for running clusterization for EMCAL in HLT. * *

General properties:

* * Component ID: \b PhosClusterizer
* Library: \b libAliHLTEMCAL.so
* Input Data Types: @ref AliHLTEMCALDefinitions::fgkDigitDataType
* Output Data Types: @ref AliHLTEMCALDefinitions::fgkRecPointDataType
* *

Mandatory arguments:

* * \li No mandatory arguments for component
* *

Optional arguments:

* * \li -digitthreshold value
* threshold for a digit to be added to a rec point in GeV (default value: 0.03) * \li -recpointthreshold value
* threshold for starting a new rec point (default value: 0.2) * \li -partitionmode * if we want to do clusterisation on the partition level (not available...) (defaul value: false) * *

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. (At some point...) * * @ingroup alihlt_phos */ class AliHLTEMCALClusterizerComponent : public AliHLTCaloClusterizerComponent //class AliHLTEMCALClusterizerComponent : public AliHLTEMCALProcessor { public: /** Constructor */ AliHLTEMCALClusterizerComponent(); /** Destructor */ virtual ~AliHLTEMCALClusterizerComponent(); /** interface function, see @ref AliHLTComponent for description */ const char* GetComponentID(); /** interface function, see @ref AliHLTComponent for description */ void GetInputDataTypes(std::vector& list); /** interface function, see @ref AliHLTComponent for description */ AliHLTComponentDataType GetOutputDataType(); /** interface function, see @ref AliHLTComponent for description */ 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 */ virtual int DoDeinit(); virtual int InitialiseGeometry(); private: /** Copy constructor, not implemented */ AliHLTEMCALClusterizerComponent(const AliHLTEMCALClusterizerComponent &); /** Assignment operator, not implemented */ AliHLTEMCALClusterizerComponent & operator = (const AliHLTEMCALClusterizerComponent); }; #endif