]>
Commit | Line | Data |
---|---|---|
87434909 | 1 | |
2 | /************************************************************************** | |
3 | * This file is property of and copyright by the ALICE HLT Project * | |
4 | * All rights reserved. * | |
5 | * * | |
6 | * Primary Authors: Per Thomas Hille, Oystein Djuvsland * | |
7 | * * | |
8 | * Permission to use, copy, modify and distribute this software and its * | |
9 | * documentation strictly for non-commercial purposes is hereby granted * | |
10 | * without fee, provided that the above copyright notice appears in all * | |
11 | * copies and that both the copyright notice and this permission notice * | |
12 | * appear in the supporting documentation. The authors make no claims * | |
13 | * about the suitability of this software for any purpose. It is * | |
14 | * provided "as is" without express or implied warranty. * | |
15 | **************************************************************************/ | |
16 | ||
87434909 | 17 | #include "AliHLTPHOSRawAnalyzerComponentv3.h" |
44175a17 | 18 | #include "AliHLTPHOSDefinitions.h" |
44175a17 | 19 | #include "AliHLTPHOSMapper.h" |
87434909 | 20 | |
4f4b7ba4 | 21 | |
44175a17 | 22 | AliHLTPHOSRawAnalyzerComponentv3::AliHLTPHOSRawAnalyzerComponentv3() : |
23 | AliHLTCaloRawAnalyzerComponentv3("PHOS") | |
87434909 | 24 | { |
baf0b40f | 25 | // See header file for class documentation |
dc1902d2 | 26 | // InitMapping(0x1); //using 0x1 to avoid error message |
87434909 | 27 | } |
28 | ||
f9baa094 | 29 | |
87434909 | 30 | AliHLTPHOSRawAnalyzerComponentv3::~AliHLTPHOSRawAnalyzerComponentv3() |
31 | { | |
32 | //comment | |
cb12f62a | 33 | } |
34 | ||
35 | ||
87434909 | 36 | void |
37 | AliHLTPHOSRawAnalyzerComponentv3::GetInputDataTypes( vector<AliHLTComponentDataType>& list) | |
38 | { | |
39 | //comment | |
40 | list.clear(); | |
44175a17 | 41 | list.push_back( AliHLTPHOSDefinitions::fgkDDLPackedRawDataType); |
87434909 | 42 | } |
43 | ||
f9baa094 | 44 | |
0a21baa3 | 45 | AliHLTComponentDataType |
46 | AliHLTPHOSRawAnalyzerComponentv3::GetOutputDataType() | |
47 | { | |
48 | //comment | |
49 | return AliHLTPHOSDefinitions::fgkChannelDataType; | |
50 | } | |
51 | ||
cb12f62a | 52 | |
44175a17 | 53 | void AliHLTPHOSRawAnalyzerComponentv3::InitMapping ( const int specification ) |
cb12f62a | 54 | { |
44175a17 | 55 | // See header file for class documentation |
f137c3c5 | 56 | fMapperPtr->InitDDLSpecificationMapping(); |
57 | fMapperPtr->InitAltroMapping(specification); | |
cb12f62a | 58 | } |
59 | ||
dc1902d2 | 60 | int AliHLTPHOSRawAnalyzerComponentv3::DoInit(int argc, const char** argv) |
61 | { | |
62 | fMapperPtr = new AliHLTPHOSMapper; | |
63 | return AliHLTCaloRawAnalyzerComponentv3::DoInit(argc, argv); | |
64 | } |