]>
Commit | Line | Data |
---|---|---|
1b41ab20 | 1 | // $Id$ |
2 | ||
ee7849e6 | 3 | |
cbab66dd | 4 | /************************************************************************** |
5 | * Copyright(c) 2006, ALICE Experiment at CERN, All rights reserved. * | |
6 | * * | |
7 | * Author: Per Thomas Hille for the ALICE HLT Project. * | |
8 | * Contributors are mentioned in the code where appropriate. * | |
9 | * * | |
10 | * Permission to use, copy, modify and distribute this software and its * | |
11 | * documentation strictly for non-commercial purposes is hereby granted * | |
12 | * without fee, provided that the above copyright notice appears in all * | |
13 | * copies and that both the copyright notice and this permission notice * | |
14 | * appear in the supporting documentation. The authors make no claims * | |
15 | * about the suitability of this software for any purpose. It is * | |
16 | * provided "as is" without express or implied warranty. * | |
17 | **************************************************************************/ | |
18 | ||
d504c864 | 19 | |
cbab66dd | 20 | #include "AliHLTPHOSRawAnalyzerCrudeComponent.h" |
ee7849e6 | 21 | #include "AliHLTPHOSRawAnalyzerCrude.h" |
cbab66dd | 22 | |
ee7849e6 | 23 | AliHLTPHOSRawAnalyzerCrudeComponent gAliHLTPHOSRawAnalyzerCrudeComponent; |
cbab66dd | 24 | |
d504c864 | 25 | //___________________________________________________________________________ |
cbab66dd | 26 | AliHLTPHOSRawAnalyzerCrudeComponent::AliHLTPHOSRawAnalyzerCrudeComponent() |
27 | { | |
146c463a | 28 | fAnalyzerPtr = new AliHLTPHOSRawAnalyzerCrude(); |
cbab66dd | 29 | } |
30 | ||
d504c864 | 31 | //___________________________________________________________________________ |
cbab66dd | 32 | AliHLTPHOSRawAnalyzerCrudeComponent::~AliHLTPHOSRawAnalyzerCrudeComponent() |
33 | { | |
d949e02e | 34 | if(fAnalyzerPtr) |
35 | { | |
36 | delete fAnalyzerPtr; | |
37 | fAnalyzerPtr = 0; | |
38 | } | |
cbab66dd | 39 | } |
40 | ||
d504c864 | 41 | //___________________________________________________________________________ |
cbab66dd | 42 | AliHLTPHOSRawAnalyzerCrudeComponent::AliHLTPHOSRawAnalyzerCrudeComponent(const AliHLTPHOSRawAnalyzerCrudeComponent & ):AliHLTPHOSRawAnalyzerComponent() |
43 | { | |
44 | ||
45 | } | |
46 | ||
d949e02e | 47 | int |
48 | AliHLTPHOSRawAnalyzerCrudeComponent::Deinit() | |
49 | { | |
50 | ||
51 | if(fAnalyzerPtr) | |
52 | { | |
53 | delete fAnalyzerPtr; | |
54 | fAnalyzerPtr = 0; | |
55 | } | |
56 | Logging(kHLTLogInfo, "HLT", "PHOS", ",AliHLTPHOSRawAnalyzerCrudeComponent Deinit"); | |
57 | return 0; | |
58 | } | |
59 | ||
d504c864 | 60 | //___________________________________________________________________________ |
ee7849e6 | 61 | const char* |
62 | AliHLTPHOSRawAnalyzerCrudeComponent::GetComponentID() | |
63 | { | |
64 | return "PhosRawCrude"; | |
65 | } | |
66 | ||
d504c864 | 67 | //___________________________________________________________________________ |
ee7849e6 | 68 | AliHLTComponent* |
69 | AliHLTPHOSRawAnalyzerCrudeComponent::Spawn() | |
70 | { | |
71 | return new AliHLTPHOSRawAnalyzerCrudeComponent; | |
72 | } |