]>
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 | **************************************************************************/ | |
5c6503dc | 15 | #ifndef ALIHLTPHOSBASELINEANALYZERCOMPONENT_H |
16 | #define ALIHLTPHOSBASELINEANALYZERCOMPONENT_H | |
17 | ||
18 | #include "AliHLTPHOSProcessor.h" | |
19 | ||
ab38011b | 20 | class AliHLTPHOSBaselineAnalyzer; |
21 | class TTree; | |
5c6503dc | 22 | |
23 | class AliHLTPHOSBaselineAnalyzerComponent : public AliHLTPHOSProcessor | |
24 | { | |
25 | public: | |
26 | AliHLTPHOSBaselineAnalyzerComponent(); | |
ab38011b | 27 | virtual ~AliHLTPHOSBaselineAnalyzerComponent(); |
28 | ||
5c6503dc | 29 | const char* GetComponentID(); |
30 | ||
31 | void GetInputDataTypes(std::vector<AliHLTComponentDataType>& list); | |
32 | ||
33 | AliHLTComponentDataType GetOutputDataType(); | |
34 | ||
35 | void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier); | |
36 | ||
ab38011b | 37 | int DoEvent(const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, |
38 | AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, AliHLTUInt32_t& size, | |
39 | std::vector<AliHLTComponentBlockData>& outputBlocks); | |
5c6503dc | 40 | |
41 | AliHLTComponent* Spawn(); | |
42 | ||
43 | protected: | |
44 | int DoInit(int argc, const char** argv); | |
45 | virtual int Deinit(); ////////// PTH WARNING you should Define a class AliHLTPHOSModuleProcessor | |
46 | ||
47 | private: | |
48 | ||
49 | void CalculateAll(); | |
50 | ||
ab38011b | 51 | AliHLTPHOSBaselineAnalyzer *fBaselineAnalyzerPtr; //comment |
52 | TTree *fTreePtr; //comment | |
53 | TClonesArray *fBaselineArrayPtr; //comment | |
54 | UInt_t fEvCnt; //comment | |
55 | UInt_t fWriteInterval; //comment | |
56 | UInt_t fFillInterval; //comment | |
57 | char *fFilename; //comment | |
58 | char* fDirectory; //comment | |
59 | char* fHistPath; //comment | |
60 | Int_t fRunNb; //comment | |
61 | Bool_t fCalculateAll; //comment | |
5c6503dc | 62 | |
63 | static const AliHLTComponentDataType fgkInputDataTypes[]; //HLT input data type | |
64 | ||
65 | }; | |
66 | #endif |