AliRoot Core  3dc7879 (3dc7879)
AliCaloRawAnalyzerFactory.cxx
Go to the documentation of this file.
1 // -*- mode: c++ -*-
2 
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 *
7  * *
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 *
11  * *
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  **************************************************************************/
20 
23 #include "AliCaloRawAnalyzerNN.h"
29 
32 //_______________________________________________________________________
34 { }
35 
38 //_______________________________________________________________________
41 {
42  switch ( algo)
43  {
44  case kFastFit:
45  return new AliCaloRawAnalyzerFastFit();
46  break;
47  case kNeuralNet:
48  return new AliCaloRawAnalyzerNN();
49  break;
50  case kPeakFinder:
51  return new AliCaloRawAnalyzerPeakFinder();
52  break;
53  case kCrude:
54  return new AliCaloRawAnalyzerCrude();
55  break;
56  case kStandard:
57  return new AliCaloRawAnalyzerKStandard();
58  break;
59  case kStandardFast:
61  break;
62  case kFakeAltro:
63  return new AliCaloRawAnalyzerFakeALTRO();
64  break;
65  default:
66  return new AliCaloRawAnalyzerCrude();
67  break;
68  }
69 }
70 
71 
72 
73 
74 
Raw data fitting: crude fit.
Base class for extraction of signal amplitude and peak position.
Raw data fitting: special fast fit.
Raw data fitting: standard TMinuit fit.
Raw data fitting: Neural network.
static AliCaloRawAnalyzer * CreateAnalyzer(const int algo)
AliCaloRawAnalyzerFactory()
Default constructor.
Raw data fitting: standard TMinuit fit.
Raw data fitting: Peak Finder.