]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/PHOS/AliHLTPHOSDigitMakerComponent.h
Coding conventions and minor fixes
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSDigitMakerComponent.h
CommitLineData
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"
209a4703 19
20
21class AliHLTPHOSDigitMaker;
22class TTree;
23class TClonesArray;
24class AliHLTPHOSDigitContainerDataStruct;
25
26
27
28class AliHLTPHOSDigitMakerComponent : public AliHLTPHOSProcessor
29{
30public:
31 AliHLTPHOSDigitMakerComponent();
ab38011b 32 virtual ~AliHLTPHOSDigitMakerComponent();
209a4703 33
34 const char* GetComponentID();
35
36 void GetInputDataTypes(std::vector<AliHLTComponentDataType>& list);
37
38 AliHLTComponentDataType GetOutputDataType();
39
40 void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
41
ab38011b 42 int DoEvent(const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks,
43 AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, AliHLTUInt32_t& size,
44 std::vector<AliHLTComponentBlockData>& outputBlocks);
209a4703 45
46 AliHLTComponent* Spawn();
47
48protected:
1804b020 49 using AliHLTPHOSProcessor::DoEvent;
209a4703 50 int DoInit(int argc, const char** argv);
51 virtual int Deinit(); ////////// PTH WARNING you should Define a class AliHLTPHOSModuleProcessor
52
53private:
ab38011b 54 AliHLTPHOSDigitMaker *fDigitMakerPtr; //comment
55 AliHLTPHOSDigitContainerDataStruct *fDigitContainerPtr; //comment
939c67e7 56 // UInt_t fEvtCnt; //comment
57 // Int_t fRunNb; //comment
209a4703 58
59 static const AliHLTComponentDataType fgkInputDataTypes[]; //HLT input data type
60
61};
62#endif
63