]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/AliHLTPHOSRawAnalyzerCrudeComponent.cxx
New production macros (Yves)
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSRawAnalyzerCrudeComponent.cxx
1 // $Id$
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 "AliHLTPHOSRawAnalyzerCrudeComponent.h"
21 #include "AliHLTPHOSRawAnalyzerCrude.h"
22
23 AliHLTPHOSRawAnalyzerCrudeComponent gAliHLTPHOSRawAnalyzerCrudeComponent;
24
25 //___________________________________________________________________________
26 AliHLTPHOSRawAnalyzerCrudeComponent::AliHLTPHOSRawAnalyzerCrudeComponent()
27 {
28   fAnalyzerPtr = new AliHLTPHOSRawAnalyzerCrude();
29
30
31 //___________________________________________________________________________
32 AliHLTPHOSRawAnalyzerCrudeComponent::~AliHLTPHOSRawAnalyzerCrudeComponent()
33 {
34   if(fAnalyzerPtr)
35     {
36       delete fAnalyzerPtr;
37       fAnalyzerPtr = 0;
38     }
39 }
40
41 //___________________________________________________________________________
42 AliHLTPHOSRawAnalyzerCrudeComponent::AliHLTPHOSRawAnalyzerCrudeComponent(const AliHLTPHOSRawAnalyzerCrudeComponent & ):AliHLTPHOSRawAnalyzerComponent()
43 {
44
45 }
46
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
60 //___________________________________________________________________________
61 const char* 
62 AliHLTPHOSRawAnalyzerCrudeComponent::GetComponentID()
63 {
64   return "PhosRawCrude";
65 }
66
67 //___________________________________________________________________________
68 AliHLTComponent*
69 AliHLTPHOSRawAnalyzerCrudeComponent::Spawn()
70 {
71   return new AliHLTPHOSRawAnalyzerCrudeComponent;
72 }