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 ALIHLTPHOSHISTOGRAMPRODUCERCOMPONENT_H
21 #define ALIHLTPHOSHISTOGRAMPRODUCERCOMPONENT_H
28 * @file AliHLTPHOSHistogramProducerComponent.cxx
29 * @author Oystein Djuvsland
34 // see below for class documentation
36 // refer to README to build package
38 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
40 #include "AliHLTPHOSProcessor.h"
42 class AliHLTPHOSPhysicsHistogramProducer;
44 * @class AliHLTPHOSHistogramProducerComponent
47 * @ingroup alihlt_phos
49 class AliHLTPHOSHistogramProducerComponent: public AliHLTPHOSProcessor
54 AliHLTPHOSHistogramProducerComponent();
57 virtual ~AliHLTPHOSHistogramProducerComponent();
59 /** Copy constructor */
60 AliHLTPHOSHistogramProducerComponent(const AliHLTPHOSHistogramProducerComponent & ) :
61 AliHLTPHOSProcessor(),
62 fPhysicsHistogramProducerPtr(0),
65 //Copy constructor not implemented
69 AliHLTPHOSHistogramProducerComponent & operator = (const AliHLTPHOSHistogramProducerComponent)
75 /** interface function, see @ref AliHLTComponent for description */
76 const char* GetComponentID();
78 /** interface function, see @ref AliHLTComponent for description */
79 void GetInputDataTypes(std::vector<AliHLTComponentDataType>& list);
81 /** interface function, see @ref AliHLTComponent for description */
82 AliHLTComponentDataType GetOutputDataType();
84 /** interface function, see @ref AliHLTComponent for description */
85 void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
87 /** interface function, see @ref AliHLTComponent for description */
89 using AliHLTPHOSProcessor::DoEvent;
91 int DoEvent(const AliHLTComponentEventData& evtData,
92 AliHLTComponentTriggerData& trigData);
94 // Int_t DoEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData);
95 /** interface function, see @ref AliHLTComponent for description */
96 AliHLTComponent* Spawn();
100 /** interface function, see @ref AliHLTComponent for description */
101 int DoInit(int argc, const char** argv);
103 /** interface function, see @ref AliHLTComponent for description */
108 AliHLTPHOSPhysicsHistogramProducer* fPhysicsHistogramProducerPtr;