Line data Source code
1 : // $Id$
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 :
17 : #include "AliHLTPHOSRawAnalyzerComponentv3.h"
18 : #include "AliHLTPHOSDefinitions.h"
19 : #include "AliHLTPHOSMapper.h"
20 :
21 :
22 0 : AliHLTPHOSRawAnalyzerComponentv3::AliHLTPHOSRawAnalyzerComponentv3( fitAlgorithm algo ) : AliHLTCaloRawAnalyzerComponentv3("PHOS", algo)
23 0 : {
24 : // See header file for class documentation
25 : // InitMapping(0x1); //using 0x1 to avoid error message
26 0 : }
27 :
28 :
29 0 : AliHLTPHOSRawAnalyzerComponentv3::~AliHLTPHOSRawAnalyzerComponentv3()
30 0 : {
31 : //comment
32 0 : }
33 :
34 :
35 : void
36 : AliHLTPHOSRawAnalyzerComponentv3::GetInputDataTypes( vector<AliHLTComponentDataType>& list)
37 : {
38 : //comment
39 0 : list.clear();
40 0 : list.push_back( AliHLTPHOSDefinitions::fgkDDLPackedRawDataType);
41 0 : }
42 :
43 :
44 : AliHLTComponentDataType
45 : AliHLTPHOSRawAnalyzerComponentv3::GetOutputDataType()
46 : {
47 : //comment
48 0 : return AliHLTPHOSDefinitions::fgkChannelDataType;
49 : }
50 :
51 :
52 : void AliHLTPHOSRawAnalyzerComponentv3::InitMapping ( const int specification )
53 : {
54 : // See header file for class documentation
55 0 : fMapperPtr->InitDDLSpecificationMapping();
56 0 : fMapperPtr->InitAltroMapping(specification);
57 0 : }
58 :
59 : int AliHLTPHOSRawAnalyzerComponentv3::DoInit(int argc, const char** argv)
60 : {
61 0 : fMapperPtr = new AliHLTPHOSMapper;
62 0 : return AliHLTCaloRawAnalyzerComponentv3::DoInit(argc, argv);
63 0 : }
|