]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/AliHLTPHOSRawAnalyzerCrudeComponent.cxx
New raw data structures required modifactions to several classes
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSRawAnalyzerCrudeComponent.cxx
1
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
17
18 #include "AliHLTPHOSRawAnalyzerCrudeComponent.h"
19 #include "AliHLTPHOSRawAnalyzerCrude.h"
20
21 AliHLTPHOSRawAnalyzerCrudeComponent gAliHLTPHOSRawAnalyzerCrudeComponent;
22
23 //___________________________________________________________________________
24 AliHLTPHOSRawAnalyzerCrudeComponent::AliHLTPHOSRawAnalyzerCrudeComponent()
25 {
26   fAnalyzerPtr = new AliHLTPHOSRawAnalyzerCrude();
27
28
29 //___________________________________________________________________________
30 AliHLTPHOSRawAnalyzerCrudeComponent::~AliHLTPHOSRawAnalyzerCrudeComponent()
31 {
32   if(fAnalyzerPtr)
33     {
34       delete fAnalyzerPtr;
35       fAnalyzerPtr = 0;
36     }
37 }
38
39 //___________________________________________________________________________
40 AliHLTPHOSRawAnalyzerCrudeComponent::AliHLTPHOSRawAnalyzerCrudeComponent(const AliHLTPHOSRawAnalyzerCrudeComponent & ):AliHLTPHOSRawAnalyzerComponent()
41 {
42
43 }
44
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
58 //___________________________________________________________________________
59 const char* 
60 AliHLTPHOSRawAnalyzerCrudeComponent::GetComponentID()
61 {
62   return "PhosRawCrude";
63 }
64
65 //___________________________________________________________________________
66 AliHLTComponent*
67 AliHLTPHOSRawAnalyzerCrudeComponent::Spawn()
68 {
69   return new AliHLTPHOSRawAnalyzerCrudeComponent;
70 }