]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCExBFirst.h
Removing obsolete mapping macro
[u/mrichter/AliRoot.git] / TPC / AliTPCExBFirst.h
index 350ba015ba044c76def6d8897875365d1f648b46..8b0943642b84002eaced6a8d5811478e0232a871 100644 (file)
@@ -1,14 +1,21 @@
-#ifndef ALITPC_EXB_FIRST_H
-#define ALITPC_EXB_FIRST_H
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+////
+// An approximate (first order) implementation of the ExB effect.
+////
+
+#ifndef ALITPCEXBFIRST_H
+#define ALITPCEXBFIRST_H
 
 #include "AliTPCExB.h"
-#include "AliFieldMap.h"
-#include "AliMagF.h"
+//class AliFieldMap;
+class AliMagF;
 
 class AliTPCExBFirst:public AliTPCExB {
 public:
   AliTPCExBFirst();
-  AliTPCExBFirst(const AliFieldMap *bFieldMap,Double_t driftVelocity);
+  //  AliTPCExBFirst(const AliFieldMap *bFieldMap,Double_t driftVelocity);
   AliTPCExBFirst(const AliMagF *bField,Double_t driftVelocity,
                 Int_t nx=100,Int_t ny=100,Int_t nz=100);
   virtual ~AliTPCExBFirst();
@@ -22,7 +29,8 @@ protected:
 private:
   AliTPCExBFirst& operator=(const AliTPCExBFirst&); // don't assign me
   AliTPCExBFirst(const AliTPCExBFirst&); // don't copy me
-  void ConstructCommon(const AliFieldMap *bFieldMap,const AliMagF *bField);
+  //  void ConstructCommon(const AliFieldMap *bFieldMap,const AliMagF *bField);
+  void ConstructCommon(const AliMagF *bField);
   void GetMeanFields(Double_t rx,Double_t ry,Double_t rz,
                     Double_t *Bx,Double_t *By) const;
   Int_t fkNX;         // field mesh points in x direction
@@ -35,8 +43,8 @@ private:
   Double_t fkZMin;    // the first grid point in z direction
   Double_t fkZMax;    // the last grid point in z direction
   Int_t fkNMean;      // size of the tablE the mean fields
-  Float_t *fkMeanBx; //[fkNMean] the mean field in x direction upto a certain z value
-  Float_t *fkMeanBy; //[fkNMean] the mean field in y direction upto a certain z value
+  Double_t *fkMeanBx; //[fkNMean] the mean field in x direction upto a certain z value
+  Double_t *fkMeanBy; //[fkNMean] the mean field in y direction upto a certain z value
   Double_t fkMeanBz;  // the mean field in z direction inside the TPC volume
   static const Double_t fgkEM; //! elementary charge over electron mass (C/kg)
   static const Double_t fgkDriftField; //! the TPC drift field (V/m) (modulus)