-#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();
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
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)