#include "AliCaloBunchInfo.h"
#include "AliCaloFitResults.h"
-#include "AliCaloRawAnalyzerFastFit.h"
-#include "AliCaloRawAnalyzerNN.h"
-#include "AliCaloRawAnalyzerKStandard.h"
-#include "AliCaloRawAnalyzerPeakFinder.h"
-#include "AliCaloRawAnalyzerCrude.h"
+#include "AliCaloRawAnalyzer.h"
+#include "AliCaloRawAnalyzerFactory.h"
+
#include "AliEMCALGeometry.h"
#include "AliEMCALTriggerSTURawStream.h"
-#include "AliCaloRawAnalyzerFactory.h"
using namespace std;
{
// ctor
SetFittingAlgorithm(fitAlgo);
-
- fRawAnalyzerTRU = ( AliCaloRawAnalyzerKStandard*)AliCaloRawAnalyzerFactory::CreateAnalyzer(Algo::kFastFit);
-
- fRawAnalyzerTRU->SetFixTau(kTRUE);
- fRawAnalyzerTRU->SetTau(2.5); // default for TRU shaper
fGeom = new AliEMCALGeometry("EMCAL_COMPLETE12SMV1_DCAL_8SM", "EMCAL");
// for (Int_t sm = 0 ; sm < fSuperModules ; sm++){
SetTitle((const char*)qadm.GetTitle());
SetFittingAlgorithm(qadm.GetFittingAlgorithm());
- fRawAnalyzerTRU = (AliCaloRawAnalyzerKStandard*)AliCaloRawAnalyzerFactory::CreateAnalyzer(Algo::kFastFit);
- fRawAnalyzerTRU->SetFixTau(kTRUE);
- fRawAnalyzerTRU->SetTau(2.5); // default for TRU shaper
// for (Int_t sm = 0 ; sm < fSuperModules ; sm++){
// fTextSM[sm] = qadm.fTextSM[sm] ;
// }
{
//Set fitting algorithm and initialize it if this same algorithm was not set before.
- fRawAnalyzer = AliCaloRawAnalyzerFactory::CreateAnalyzer(fitAlgo);
- fFittingAlgorithm = fitAlgo;
+ fFittingAlgorithm = fitAlgo; // Not sure we need this
+ fRawAnalyzer = AliCaloRawAnalyzerFactory::CreateAnalyzer(fitAlgo);
+
+ // Init also here the TRU algo, even if it is fixed type.
+ fRawAnalyzerTRU = AliCaloRawAnalyzerFactory::CreateAnalyzer(Algo::kFakeAltro);
+ fRawAnalyzerTRU->SetFixTau(kTRUE);
+ fRawAnalyzerTRU->SetTau(2.5); // default for TRU shaper
}
//_____________________________________________________________________________________