1 /**************************************************************************
2 * This file is property of and copyright by the ALICE HLT Project *
3 * All rights reserved. *
5 * Primary Authors: Oystein Djuvsland *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15 #ifndef ALIHLTPHOSDIGITMAKERCOMPONENT_H
16 #define ALIHLTPHOSDIGITMAKERCOMPONENT_H
18 #include "AliHLTPHOSProcessor.h"
19 //#include "AliHLTPHOSDigitMaker.h"
21 //#include "TClonesArray.h"
24 class AliHLTPHOSDigitMaker;
27 class AliHLTPHOSDigitContainerDataStruct;
31 class AliHLTPHOSDigitMakerComponent : public AliHLTPHOSProcessor
34 AliHLTPHOSDigitMakerComponent();
35 virtual ~AliHLTPHOSDigitMakerComponent();
37 const char* GetComponentID();
39 void GetInputDataTypes(std::vector<AliHLTComponentDataType>& list);
41 AliHLTComponentDataType GetOutputDataType();
43 void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
45 int DoEvent(const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks,
46 AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, AliHLTUInt32_t& size,
47 std::vector<AliHLTComponentBlockData>& outputBlocks);
49 AliHLTComponent* Spawn();
52 using AliHLTPHOSProcessor::DoEvent;
53 int DoInit(int argc, const char** argv);
54 virtual int Deinit(); ////////// PTH WARNING you should Define a class AliHLTPHOSModuleProcessor
57 AliHLTPHOSDigitMaker *fDigitMakerPtr; //comment
58 AliHLTPHOSDigitContainerDataStruct *fDigitContainerPtr; //comment
59 UInt_t fEvtCnt; //comment
60 Int_t fRunNb; //comment
62 static const AliHLTComponentDataType fgkInputDataTypes[]; //HLT input data type