]>
Commit | Line | Data |
---|---|---|
178dd351 | 1 | // $Id: AliHLTCaloRawAnalyzerCrudeComponent.cxx 29824 2008-11-10 13:43:55Z richterm $ |
2 | ||
3 | ||
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 | ||
19 | ||
20 | #include "AliHLTCaloRawAnalyzerCrudeComponent.h" | |
21 | #include "AliHLTCaloRawAnalyzerCrude.h" | |
22 | ||
4f4b7ba4 | 23 | ClassImp(AliHLTCaloRawAnalyzerCrudeComponent); |
178dd351 | 24 | |
25 | //___________________________________________________________________________ | |
77f350f7 | 26 | AliHLTCaloRawAnalyzerCrudeComponent::AliHLTCaloRawAnalyzerCrudeComponent(TString det) : |
27 | AliHLTCaloRawAnalyzerComponentv3(det) | |
178dd351 | 28 | { |
29 | fAnalyzerPtr = new AliHLTCaloRawAnalyzerCrude(); | |
30 | } | |
31 | ||
32 | //___________________________________________________________________________ | |
33 | AliHLTCaloRawAnalyzerCrudeComponent::~AliHLTCaloRawAnalyzerCrudeComponent() | |
34 | { | |
35 | if(fAnalyzerPtr) | |
36 | { | |
37 | delete fAnalyzerPtr; | |
38 | fAnalyzerPtr = 0; | |
39 | } | |
40 | } | |
41 | ||
42 | //___________________________________________________________________________ | |
77f350f7 | 43 | AliHLTCaloRawAnalyzerCrudeComponent::AliHLTCaloRawAnalyzerCrudeComponent(const AliHLTCaloRawAnalyzerCrudeComponent &, TString det ): |
44 | AliHLTCaloRawAnalyzerComponentv3(det) | |
178dd351 | 45 | { |
46 | ||
47 | } | |
48 | ||
49 | int | |
50 | AliHLTCaloRawAnalyzerCrudeComponent::Deinit() | |
51 | { | |
52 | ||
53 | if(fAnalyzerPtr) | |
54 | { | |
55 | delete fAnalyzerPtr; | |
56 | fAnalyzerPtr = 0; | |
57 | } | |
3800a654 | 58 | Logging(kHLTLogInfo, "HLT", "Calo", ",AliHLTCaloRawAnalyzerCrudeComponent Deinit"); |
178dd351 | 59 | return 0; |
60 | } | |
61 | ||
62 | //___________________________________________________________________________ | |
63 | const char* | |
64 | AliHLTCaloRawAnalyzerCrudeComponent::GetComponentID() | |
65 | { | |
66 | return "CaloRawCrude"; | |
67 | } | |
68 | ||
69 | //___________________________________________________________________________ | |
70 | ||
71 | /* | |
72 | AliHLTComponent* | |
73 | AliHLTCaloRawAnalyzerCrudeComponent::Spawn() | |
74 | { | |
75 | return new AliHLTCaloRawAnalyzerCrudeComponent; | |
76 | } | |
77 | */ |