]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/PHOS/AliHLTPHOSRawAnalyzerCrudeComponent.cxx
removing the HLT autoconf build system, however keep on using that for the
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSRawAnalyzerCrudeComponent.cxx
CommitLineData
1b41ab20 1// $Id$
2
ee7849e6 3
cbab66dd 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
d504c864 19
cbab66dd 20#include "AliHLTPHOSRawAnalyzerCrudeComponent.h"
aa2ffd19 21#include "AliCaloRawAnalyzerCrude.h"
cbab66dd 22
ee7849e6 23AliHLTPHOSRawAnalyzerCrudeComponent gAliHLTPHOSRawAnalyzerCrudeComponent;
cbab66dd 24
d504c864 25//___________________________________________________________________________
cbab66dd 26AliHLTPHOSRawAnalyzerCrudeComponent::AliHLTPHOSRawAnalyzerCrudeComponent()
27{
aa2ffd19 28 fAnalyzerPtr = new AliCaloRawAnalyzerCrude();
84af2960 29 fAnalyzerPtr->SetIsZeroSuppressed(true);
cbab66dd 30}
31
d504c864 32//___________________________________________________________________________
cbab66dd 33AliHLTPHOSRawAnalyzerCrudeComponent::~AliHLTPHOSRawAnalyzerCrudeComponent()
34{
f137c3c5 35// if(fAnalyzerPtr)
36// {
37// delete fAnalyzerPtr;
38// fAnalyzerPtr = 0;
39// }
cbab66dd 40}
41
d504c864 42//___________________________________________________________________________
79aed8a6 43AliHLTPHOSRawAnalyzerCrudeComponent::AliHLTPHOSRawAnalyzerCrudeComponent(const AliHLTPHOSRawAnalyzerCrudeComponent & ):AliHLTPHOSRawAnalyzerComponentv3()
cbab66dd 44{
45
46}
47
d949e02e 48int
49AliHLTPHOSRawAnalyzerCrudeComponent::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
d504c864 61//___________________________________________________________________________
ee7849e6 62const char*
63AliHLTPHOSRawAnalyzerCrudeComponent::GetComponentID()
64{
65 return "PhosRawCrude";
66}
67
d504c864 68//___________________________________________________________________________
ee7849e6 69AliHLTComponent*
70AliHLTPHOSRawAnalyzerCrudeComponent::Spawn()
71{
72 return new AliHLTPHOSRawAnalyzerCrudeComponent;
73}