X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=RAW%2FAliHoughFilter.cxx;h=1c43ced5136e6782a79247e424eed613c105371c;hb=2fe76e43f822964d89de9e46023027b355b5600c;hp=bdca2af47d975e66d2fcc4a29911ceee454f41a0;hpb=af885e0fc45eeab1177d3d34f858ccd8836787fb;p=u%2Fmrichter%2FAliRoot.git diff --git a/RAW/AliHoughFilter.cxx b/RAW/AliHoughFilter.cxx index bdca2af47d9..1c43ced5136 100644 --- a/RAW/AliHoughFilter.cxx +++ b/RAW/AliHoughFilter.cxx @@ -36,9 +36,9 @@ #include "AliRawReaderRoot.h" #include -#include #include #include +#include ClassImp(AliHoughFilter) @@ -64,7 +64,7 @@ fITSgeom(NULL) AliError("HLT initialization failed!"); // Init magnetic field - AliMagF* field = new AliMagFMaps("Maps","Maps", 2, 1., 10., AliMagFMaps::k5kG); + AliMagF* field = (AliMagF*)TGeoGlobalMagField::Instance(); AliTracker::SetFieldMap(field,kTRUE); fPtmin = 0.1*AliHLTTransform::GetSolenoidField(); @@ -79,7 +79,7 @@ fITSgeom(NULL) } //_____________________________________________________________________________ -Bool_t AliHoughFilter::Filter(AliRawEvent* event, AliESDEvent* esd) +Bool_t AliHoughFilter::Filter(AliRawVEvent* event, AliESDEvent* esd) { // Run fast online reconstruction // based on the HLT tracking algorithms @@ -105,7 +105,7 @@ Bool_t AliHoughFilter::Filter(AliRawEvent* event, AliESDEvent* esd) } //_____________________________________________________________________________ -void AliHoughFilter::RunITSclusterer(AliRawEvent* event, TTree *treeClusters) +void AliHoughFilter::RunITSclusterer(AliRawVEvent* event, TTree *treeClusters) { // Run ITS Clusterer // The clusters are stored in a tree @@ -139,7 +139,7 @@ void AliHoughFilter::RunITSvertexer(AliESDEvent* esd, TTree *treeClusters) } //_____________________________________________________________________________ -void AliHoughFilter::RunTPCtracking(AliRawEvent* event, AliESDEvent* esd) +void AliHoughFilter::RunTPCtracking(AliRawVEvent* event, AliESDEvent* esd) { // Run hough transform tracking in TPC // The z of the vertex is taken from the ESD @@ -148,7 +148,7 @@ void AliHoughFilter::RunTPCtracking(AliRawEvent* event, AliESDEvent* esd) timer.Start(); const AliESDVertex *vertex = esd->GetVertex(); - Float_t zvertex = vertex->GetZv(); + Float_t zvertex = vertex->GetZ(); AliHLTHough *hough1 = new AliHLTHough();