]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/AliHLTPHOSRawAnalyzerCrudeComponent.cxx
- cleaning up debug output
[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 "AliCaloRawAnalyzerCrude.h"
22
23 AliHLTPHOSRawAnalyzerCrudeComponent gAliHLTPHOSRawAnalyzerCrudeComponent;
24
25 //___________________________________________________________________________
26 AliHLTPHOSRawAnalyzerCrudeComponent::AliHLTPHOSRawAnalyzerCrudeComponent()
27 {
28   HLTError("Creating raw analyzer");
29   fAnalyzerPtr = new AliCaloRawAnalyzerCrude();
30
31
32 //___________________________________________________________________________
33 AliHLTPHOSRawAnalyzerCrudeComponent::~AliHLTPHOSRawAnalyzerCrudeComponent()
34 {
35 //   if(fAnalyzerPtr)
36 //     {
37 //       delete fAnalyzerPtr;
38 //       fAnalyzerPtr = 0;
39 //     }
40 }
41
42 //___________________________________________________________________________
43 AliHLTPHOSRawAnalyzerCrudeComponent::AliHLTPHOSRawAnalyzerCrudeComponent(const AliHLTPHOSRawAnalyzerCrudeComponent & ):AliHLTPHOSRawAnalyzerComponentv3()
44 {
45
46 }
47
48 int
49 AliHLTPHOSRawAnalyzerCrudeComponent::Deinit()
50 {
51   
52   if(fAnalyzerPtr)
53     {
54       delete fAnalyzerPtr;
55       fAnalyzerPtr = 0;
56     }
57   Logging(kHLTLogInfo, "HLT", "PHOS", ",AliHLTPHOSRawAnalyzerCrudeComponent Deinit");
58   return 0;
59 }
60
61 //___________________________________________________________________________
62 const char* 
63 AliHLTPHOSRawAnalyzerCrudeComponent::GetComponentID()
64 {
65   return "PhosRawCrude";
66 }
67
68 //___________________________________________________________________________
69 AliHLTComponent*
70 AliHLTPHOSRawAnalyzerCrudeComponent::Spawn()
71 {
72   return new AliHLTPHOSRawAnalyzerCrudeComponent;
73 }