3 /**************************************************************************
4 * This file is property of and copyright by the Experimental Nuclear *
5 * Physics Group, Dep. of Physics *
6 * University of Oslo, Norway, 2007 *
8 * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project.*
9 * Contributors are mentioned in the code where appropriate. *
10 * Please report bugs to perthi@fys.uio.no *
12 * Permission to use, copy, modify and distribute this software and its *
13 * documentation strictly for non-commercial purposes is hereby granted *
14 * without fee, provided that the above copyright notice appears in all *
15 * copies and that both the copyright notice and this permission notice *
16 * appear in the supporting documentation. The authors make no claims *
17 * about the suitability of this software for any purpose. It is *
18 * provided "as is" without express or implied warranty. *
19 **************************************************************************/
21 #include "AliCaloRawAnalyzerFactory.h"
22 #include "AliCaloRawAnalyzerFastFit.h"
23 #include "AliCaloRawAnalyzerNN.h"
24 #include "AliCaloRawAnalyzerPeakFinder.h"
25 #include "AliCaloRawAnalyzerCrude.h"
26 #include "AliCaloRawAnalyzerKStandard.h"
27 #include "AliCaloRawAnalyzerFakeALTRO.h"
36 AliCaloRawAnalyzerFactory::AliCaloRawAnalyzerFactory()
38 // Shutting up the rule checker
41 AliCaloRawAnalyzerFactory::~AliCaloRawAnalyzerFactory()
43 // Shutting up the rule checker
48 AliCaloRawAnalyzerFactory::CreateAnalyzer( const int algo )
50 // return new AliCaloRawAnalyzerKStandard();
54 return new AliCaloRawAnalyzerFastFit();
57 return new AliCaloRawAnalyzerNN();
60 // cout << __FILE__ << ":" << __LINE__ << ": Returning new peakFinder " << endl;
61 return new AliCaloRawAnalyzerPeakFinder();
64 return new AliCaloRawAnalyzerCrude();
67 return new AliCaloRawAnalyzerKStandard();
70 return new AliCaloRawAnalyzerFakeALTRO();
73 return new AliCaloRawAnalyzerCrude();
74 // cout << __FILE__ << __LINE__ << " ERROR, invalid analyzer" << endl;