]>
Commit | Line | Data |
---|---|---|
ab38011b | 1 | /************************************************************************** |
2 | * This file is property of and copyright by the ALICE HLT Project * | |
3 | * All rights reserved. * | |
4 | * * | |
5 | * Primary Authors: Oystein Djuvsland * | |
6 | * * | |
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 | **************************************************************************/ | |
209a4703 | 15 | #ifndef ALIHLTPHOSDIGITMAKERCOMPONENT_H |
16 | #define ALIHLTPHOSDIGITMAKERCOMPONENT_H | |
17 | ||
18 | #include "AliHLTPHOSProcessor.h" | |
19 | //#include "AliHLTPHOSDigitMaker.h" | |
20 | //#include "TTree.h" | |
21 | //#include "TClonesArray.h" | |
22 | ||
23 | ||
24 | class AliHLTPHOSDigitMaker; | |
25 | class TTree; | |
26 | class TClonesArray; | |
27 | class AliHLTPHOSDigitContainerDataStruct; | |
28 | ||
29 | ||
30 | ||
31 | class AliHLTPHOSDigitMakerComponent : public AliHLTPHOSProcessor | |
32 | { | |
33 | public: | |
34 | AliHLTPHOSDigitMakerComponent(); | |
ab38011b | 35 | virtual ~AliHLTPHOSDigitMakerComponent(); |
209a4703 | 36 | |
37 | const char* GetComponentID(); | |
38 | ||
39 | void GetInputDataTypes(std::vector<AliHLTComponentDataType>& list); | |
40 | ||
41 | AliHLTComponentDataType GetOutputDataType(); | |
42 | ||
43 | void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier); | |
44 | ||
ab38011b | 45 | int DoEvent(const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, |
46 | AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, AliHLTUInt32_t& size, | |
47 | std::vector<AliHLTComponentBlockData>& outputBlocks); | |
209a4703 | 48 | |
49 | AliHLTComponent* Spawn(); | |
50 | ||
51 | protected: | |
52 | int DoInit(int argc, const char** argv); | |
53 | virtual int Deinit(); ////////// PTH WARNING you should Define a class AliHLTPHOSModuleProcessor | |
54 | ||
55 | private: | |
ab38011b | 56 | AliHLTPHOSDigitMaker *fDigitMakerPtr; //comment |
57 | AliHLTPHOSDigitContainerDataStruct *fDigitContainerPtr; //comment | |
58 | UInt_t fEvtCnt; //comment | |
59 | Int_t fRunNb; //comment | |
209a4703 | 60 | |
61 | static const AliHLTComponentDataType fgkInputDataTypes[]; //HLT input data type | |
62 | ||
63 | }; | |
64 | #endif | |
65 |