/************************************************************************** * 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 ALIHLTPHOSESDENTRIESMAKERCOMPONENT_H #define ALIHLTPHOSESDENTRIESMAKERCOMPONENT_H /** * ESD maker component for PHOS HLT * * @file AliHLTPHOSESDEntriesMakerComponent.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 AliHLTESDCaloClusterMaker; class AliHLTPHOSCaloClusterContainerStruct; class TClonesArray; /** * @class AliHLTPHOSESDEntriesMakerComponent * * HLT component for making AliESDEvent from AliHLTPHOSCaloClusterDataStructs * * @ingroup alihlt_phos */ class AliHLTPHOSESDEntriesMakerComponent: public AliHLTPHOSProcessor { public: /** Constructor */ AliHLTPHOSESDEntriesMakerComponent(); /** Destructor */ virtual ~AliHLTPHOSESDEntriesMakerComponent(); /** Copy constructor */ AliHLTPHOSESDEntriesMakerComponent(const AliHLTPHOSESDEntriesMakerComponent &): AliHLTPHOSProcessor(), fESDCaloClusterMakerPtr(0), fESDCaloClustersPtr(0) { //Copy constructor not implemented } /** Assignment */ AliHLTPHOSESDEntriesMakerComponent & operator = (const AliHLTPHOSESDEntriesMakerComponent) { //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 cluster maker */ AliHLTESDCaloClusterMaker* fESDCaloClusterMakerPtr; //! transient /** Pointer to the ESD calo cluster array*/ TClonesArray* fESDCaloClustersPtr; //! transient // /** Pointer to the cell maker */ // AliHLTPHOSCaloCellMaker* fCaloCellMaker; //! transient }; #endif