]>
Commit | Line | Data |
---|---|---|
88b2ce82 | 1 | #ifndef ALIHLTEMCALRAWANALYZERCOMPONENT_H |
2 | #define ALIHLTEMCALRAWANALYZERCOMPONENT_H | |
3 | ||
4 | /************************************************************************** | |
5 | * This file is property of and copyright by the Experimental Nuclear * | |
6 | * Physics Group, Dep. of Physics * | |
7 | * University of Oslo, Norway, 2007 * | |
8 | * * | |
9 | * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project.* | |
10 | * Contributors are mentioned in the code where appropriate. * | |
11 | * Please report bugs to perthi@fys.uio.no * | |
12 | * * | |
13 | * Permission to use, copy, modify and distribute this software and its * | |
14 | * documentation strictly for non-commercial purposes is hereby granted * | |
15 | * without fee, provided that the above copyright notice appears in all * | |
16 | * copies and that both the copyright notice and this permission notice * | |
17 | * appear in the supporting documentation. The authors make no claims * | |
18 | * about the suitability of this software for any purpose. It is * | |
19 | * provided "as is" without express or implied warranty. * | |
20 | **************************************************************************/ | |
21 | ||
88938cd8 | 22 | // Base class fro anlyzing EMCAL raww data |
23 | // Further documentation found in base class | |
24 | // -------------- | |
25 | // -------------- | |
26 | ||
27 | ||
88b2ce82 | 28 | #include "AliHLTCaloRawAnalyzerComponentv3.h" |
29 | ||
30 | //class AliHLTCaloMapper; | |
31 | ||
32 | class AliHLTEMCALRawAnalyzerComponent : public AliHLTCaloRawAnalyzerComponentv3 | |
33 | { | |
34 | public: | |
35 | AliHLTEMCALRawAnalyzerComponent(); | |
36 | virtual ~AliHLTEMCALRawAnalyzerComponent(); | |
88b2ce82 | 37 | virtual void GetInputDataTypes( vector <AliHLTComponentDataType>& list); |
c375e15d | 38 | virtual AliHLTComponentDataType GetOutputDataType(); |
39 | virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier); | |
40 | virtual void DoInit(); | |
41 | ||
88b2ce82 | 42 | virtual const char* GetComponentID() = 0; |
88b2ce82 | 43 | virtual AliHLTComponent* Spawn() = 0; |
44 | ||
45 | protected: | |
c375e15d | 46 | virtual int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, |
47 | AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, | |
48 | AliHLTUInt32_t& size, vector<AliHLTComponentBlockData>& outputBlocks ); | |
49 | ||
88b2ce82 | 50 | virtual bool CheckInputDataType(const AliHLTComponentDataType &datatype); |
4d6be4cd | 51 | |
88b2ce82 | 52 | private: |
53 | AliHLTEMCALRawAnalyzerComponent(const AliHLTEMCALRawAnalyzerComponent & ); | |
88b2ce82 | 54 | AliHLTEMCALRawAnalyzerComponent & operator = (const AliHLTEMCALRawAnalyzerComponent &); |
4d6be4cd | 55 | virtual void InitMapping( const int specification ); |
88b2ce82 | 56 | }; |
57 | ||
58 | #endif |