#include <AliMagFMaps.h>
#include <AliKalmanTrack.h>
#include <AliITSgeom.h>
+#include <AliESDVertex.h>
ClassImp(AliHoughFilter)
}
//_____________________________________________________________________________
-Bool_t AliHoughFilter::Filter(AliRawEvent* event, AliESD* esd)
+Bool_t AliHoughFilter::Filter(AliRawEvent* event, AliESDEvent* esd)
{
// Run fast online reconstruction
// based on the HLT tracking algorithms
TStopwatch timer;
timer.Start();
- if(!fITSgeom)
- AliError("ITS geometry not created!");
- AliHLTITSclusterer clusterer(fITSgeom);
+ AliHLTITSclusterer clusterer(0);
AliRawReader *itsrawreader=new AliRawReaderRoot(event);
clusterer.Digits2Clusters(itsrawreader,treeClusters);
delete itsrawreader;
//_____________________________________________________________________________
-void AliHoughFilter::RunITSvertexer(AliESD* esd, TTree *treeClusters)
+void AliHoughFilter::RunITSvertexer(AliESDEvent* esd, TTree *treeClusters)
{
// Run SPD vertexerZ
// Store the result in the ESD
}
//_____________________________________________________________________________
-void AliHoughFilter::RunTPCtracking(AliRawEvent* event, AliESD* esd)
+void AliHoughFilter::RunTPCtracking(AliRawEvent* event, AliESDEvent* esd)
{
// Run hough transform tracking in TPC
// The z of the vertex is taken from the ESD
}
//_____________________________________________________________________________
-void AliHoughFilter::RunITStracking(AliESD* esd, TTree *treeClusters)
+void AliHoughFilter::RunITStracking(AliESDEvent* esd, TTree *treeClusters)
{
// Run the ITS tracker
// The tracks from the HT TPC tracking are used as seeds
const AliESDVertex *vertex = esd->GetVertex();
vertex->GetXYZ(vtxPos);
- AliHLTITStracker itsTracker(fITSgeom);
+ AliHLTITStracker itsTracker(0);
itsTracker.SetVertex(vtxPos,vtxErr);
itsTracker.LoadClusters(treeClusters);