5 /**************************************************************************
6 * This file is property of and copyright by the ALICE HLT Project *
7 * All rights reserved. *
9 * Primary Authors: Oystein Djuvsland *
11 * Permission to use, copy, modify and distribute this software and its *
12 * documentation strictly for non-commercial purposes is hereby granted *
13 * without fee, provided that the above copyright notice appears in all *
14 * copies and that both the copyright notice and this permission notice *
15 * appear in the supporting documentation. The authors make no claims *
16 * about the suitability of this software for any purpose. It is *
17 * provided "as is" without express or implied warranty. *
18 **************************************************************************/
20 #ifndef ALIHLTPHOSESDMAKERCOMPONENT_H
21 #define ALIHLTPHOSESDMAKERCOMPONENT_H
27 * ESD maker component for PHOS HLT
29 * @file AliHLTPHOSESDMakerComponent.h
30 * @author Oystein Djuvsland
32 * @brief An ESD maker component for PHOS HLT
35 // see below for class documentation
37 // refer to README to build package
39 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
41 #include "AliHLTPHOSProcessor.h"
43 class AliHLTPHOSESDMaker;
44 class AliHLTPHOSCaloClusterContainerStruct;
48 * @class AliHLTPHOSESDMakerComponent
50 * HLT component for making AliESDEvent from AliHLTPHOSCaloClusterDataStructs
52 * @ingroup alihlt_phos
54 class AliHLTPHOSESDMakerComponent: public AliHLTPHOSProcessor
60 AliHLTPHOSESDMakerComponent();
63 virtual ~AliHLTPHOSESDMakerComponent();
65 /** Copy constructor */
66 AliHLTPHOSESDMakerComponent(const AliHLTPHOSESDMakerComponent &) :
67 AliHLTPHOSProcessor(),
72 //Copy constructor not implemented
76 AliHLTPHOSESDMakerComponent & operator = (const AliHLTPHOSESDMakerComponent)
82 /** interface function, see @ref AliHLTComponent for description */
83 const char* GetComponentID();
85 /** interface function, see @ref AliHLTComponent for description */
86 void GetInputDataTypes(std::vector<AliHLTComponentDataType>& list);
88 /** interface function, see @ref AliHLTComponent for description */
89 AliHLTComponentDataType GetOutputDataType();
91 /** interface function, see @ref AliHLTComponent for description */
92 void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
94 /** interface function, see @ref AliHLTComponent for description */
95 using AliHLTPHOSProcessor::DoEvent;
96 Int_t DoEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData);
98 /** interface function, see @ref AliHLTComponent for description */
99 AliHLTComponent* Spawn();
103 /** interface function, see @ref AliHLTComponent for description */
104 int DoInit(int argc, const char** argv);
106 /** interface function, see @ref AliHLTComponent for description */
111 /** Pointer to the ESD maker it self */
112 AliHLTPHOSESDMaker* fESDMakerPtr;
114 AliESDEvent* fESDEventPtr;
116 /** interface function, see @ref AliHLTComponent for description */
117 static const AliHLTComponentDataType fgkInputDataTypes[];