/************************************************************************** * 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 ALIHLTPHOSESDCALOCLUSTERMAKERCOMPONENT_H #define ALIHLTPHOSESDCALOCLUSTERMAKERCOMPONENT_H /** * ESD maker component for PHOS HLT * * @file AliHLTPHOSESDCaloClusterMakerComponent.h * @author Oystein Djuvsland * @date * @brief An ESD maker 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 "AliHLTPHOSProcessor.h" class AliHLTPHOSESDCaloClusterMaker; class AliHLTPHOSCaloClusterContainerStruct; class TClonesArray; /** * @class AliHLTPHOSESDCaloClusterMakerComponent * * HLT component for making AliESDEvent from AliHLTPHOSCaloClusterDataStructs * * @ingroup alihlt_phos */ class AliHLTPHOSESDCaloClusterMakerComponent: public AliHLTPHOSProcessor { public: /** Constructor */ AliHLTPHOSESDCaloClusterMakerComponent(); /** Destructor */ virtual ~AliHLTPHOSESDCaloClusterMakerComponent(); /** Copy constructor */ AliHLTPHOSESDCaloClusterMakerComponent(const AliHLTPHOSESDCaloClusterMakerComponent &) : AliHLTPHOSProcessor(), fESDCaloClusterMakerPtr(0), fESDCaloClustersPtr(0) { //Copy constructor not implemented } /** Assignment */ AliHLTPHOSESDCaloClusterMakerComponent & operator = (const AliHLTPHOSESDCaloClusterMakerComponent) { //Assignment return *this; } /** 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 */ using AliHLTPHOSProcessor::DoEvent; Int_t DoEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData); /** 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 */ int Deinit(); private: /** Pointer to the ESD maker it self */ AliHLTPHOSESDCaloClusterMaker* fESDCaloClusterMakerPtr; //! transient /** Pointer to the ESD calo cluster array*/ TClonesArray* fESDCaloClustersPtr; //! transient }; #endif