]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TRD/AliHLTTRDTrackerComponent.cxx
The present commit corresponds to an important change in the way the
[u/mrichter/AliRoot.git] / HLT / TRD / AliHLTTRDTrackerComponent.cxx
index 5991104a77baba6b94c911a30d61dc2669200e65..570e107d528e5ef3057d17822c5af0d853309b02 100644 (file)
@@ -38,7 +38,7 @@ using namespace std;
 //#include "AliTRDtrackerHLT.h"
 #include "AliTRDtracker.h"
 #include "AliTRDCalibraFillHisto.h"
-#include "AliMagFMaps.h"
+#include "AliMagF.h"
 #include "AliTRDcluster.h"
 #include "AliESDfriend.h"
 #include <cstdlib>
@@ -55,7 +55,6 @@ AliHLTTRDTrackerComponent::AliHLTTRDTrackerComponent()
   , fOutputPercentage(100) // By default we copy to the output exactly what we got as input  
   , fStrorageDBpath("local://$ALICE_ROOT")
   , fCDB(NULL)
-  , fField(NULL)
   , fGeometryFileName("")
   , fGeometryFile(NULL)
   , fGeoManager(NULL)
@@ -163,12 +162,6 @@ int AliHLTTRDTrackerComponent::DoInit( int argc, const char** argv )
       return EINVAL;
     }
 
-  //init alifield map - temporarly fixed - should come from a DB
-  fField = new AliMagFMaps("Maps","Maps", 2, 1., 10., 1);
-  if (fField)
-    AliTracker::SetFieldMap(fField,1);
-  else
-    HLTError("Unable to init the field");
 
   fCDB = AliCDBManager::Instance();
   if (!fCDB)
@@ -224,9 +217,6 @@ int AliHLTTRDTrackerComponent::DoDeinit()
 {
   // Deinitialization of the component
 
-  delete fField;
-  fField = 0;
-
   delete fTracker;
   fTracker = 0;