#include "AliTOFClusterFinder.h"
#include "AliTOFGeometry.h"
+#include "AliTOFGeometryV5.h"
#include "AliTOFtrackerMI.h"
#include "AliTOFtracker.h"
#include "AliTOFReconstructor.h"
{
// reconstruct clusters from digits
- AliTOFClusterFinder *tofClus = new AliTOFClusterFinder(runLoader);
- tofClus->Load();
+ AliTOFClusterFinder tofClus(runLoader);
+ tofClus.Load();
for (Int_t iEvent = 0; iEvent < runLoader->GetNumberOfEvents(); iEvent++)
{
- tofClus->Digits2RecPoints(iEvent);
+ tofClus.Digits2RecPoints(iEvent);
}
- tofClus->UnLoad();
+ tofClus.UnLoad();
}
{
// create a TOF tracker
- AliTOFGeometry* geom = GetTOFGeometry(runLoader);
+// AliTOFGeometry* geom = GetTOFGeometry(runLoader);
+ AliTOFGeometry* geom = new AliTOFGeometryV5();
if (!geom) return NULL;
// Double_t parPID[] = {130., 5.};
Double_t parPID[] = {80., 5.};
TFile *in=(TFile*)gFile;
if (!in->IsOpen()) {
AliWarning("Geometry file is not open default TOF geometry will be used");
- tofGeom = new AliTOFGeometry();
+ tofGeom = new AliTOFGeometryV5();
}
else {
in->cd();