]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliHoughFilter.cxx
Cdf adapted to the common debug option
[u/mrichter/AliRoot.git] / RAW / AliHoughFilter.cxx
index 7a3e123bd9eae150c8302da3f6ff9f84a4be3e1b..9db18e2639c4d06f527b1bcc56acc2b5a2b26791 100644 (file)
@@ -36,7 +36,6 @@
 
 #include "AliRawReaderRoot.h"
 #include <AliMagF.h>
-#include <AliMagFMaps.h>
 #include <AliKalmanTrack.h>
 #include <AliITSgeom.h>
 #include <AliESDVertex.h>
@@ -65,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();
 
@@ -80,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
@@ -106,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
@@ -140,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