]>
Commit | Line | Data |
---|---|---|
ee7849e6 | 1 | |
cbab66dd | 2 | /************************************************************************** |
3 | * Copyright(c) 2006, ALICE Experiment at CERN, All rights reserved. * | |
4 | * * | |
5 | * Author: Per Thomas Hille for the ALICE HLT Project. * | |
6 | * Contributors are mentioned in the code where appropriate. * | |
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 | ||
d504c864 | 17 | |
cbab66dd | 18 | #include "AliHLTPHOSRawAnalyzerCrudeComponent.h" |
ee7849e6 | 19 | #include "AliHLTPHOSRawAnalyzerCrude.h" |
cbab66dd | 20 | |
ee7849e6 | 21 | AliHLTPHOSRawAnalyzerCrudeComponent gAliHLTPHOSRawAnalyzerCrudeComponent; |
cbab66dd | 22 | |
d504c864 | 23 | //___________________________________________________________________________ |
cbab66dd | 24 | AliHLTPHOSRawAnalyzerCrudeComponent::AliHLTPHOSRawAnalyzerCrudeComponent() |
25 | { | |
146c463a | 26 | fAnalyzerPtr = new AliHLTPHOSRawAnalyzerCrude(); |
cbab66dd | 27 | } |
28 | ||
d504c864 | 29 | //___________________________________________________________________________ |
cbab66dd | 30 | AliHLTPHOSRawAnalyzerCrudeComponent::~AliHLTPHOSRawAnalyzerCrudeComponent() |
31 | { | |
d949e02e | 32 | if(fAnalyzerPtr) |
33 | { | |
34 | delete fAnalyzerPtr; | |
35 | fAnalyzerPtr = 0; | |
36 | } | |
cbab66dd | 37 | } |
38 | ||
d504c864 | 39 | //___________________________________________________________________________ |
cbab66dd | 40 | AliHLTPHOSRawAnalyzerCrudeComponent::AliHLTPHOSRawAnalyzerCrudeComponent(const AliHLTPHOSRawAnalyzerCrudeComponent & ):AliHLTPHOSRawAnalyzerComponent() |
41 | { | |
42 | ||
43 | } | |
44 | ||
d949e02e | 45 | int |
46 | AliHLTPHOSRawAnalyzerCrudeComponent::Deinit() | |
47 | { | |
48 | ||
49 | if(fAnalyzerPtr) | |
50 | { | |
51 | delete fAnalyzerPtr; | |
52 | fAnalyzerPtr = 0; | |
53 | } | |
54 | Logging(kHLTLogInfo, "HLT", "PHOS", ",AliHLTPHOSRawAnalyzerCrudeComponent Deinit"); | |
55 | return 0; | |
56 | } | |
57 | ||
d504c864 | 58 | //___________________________________________________________________________ |
ee7849e6 | 59 | const char* |
60 | AliHLTPHOSRawAnalyzerCrudeComponent::GetComponentID() | |
61 | { | |
62 | return "PhosRawCrude"; | |
63 | } | |
64 | ||
d504c864 | 65 | //___________________________________________________________________________ |
ee7849e6 | 66 | AliHLTComponent* |
67 | AliHLTPHOSRawAnalyzerCrudeComponent::Spawn() | |
68 | { | |
69 | return new AliHLTPHOSRawAnalyzerCrudeComponent; | |
70 | } |