AliRoot Core  d69033e (d69033e)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliTPCExBFirst.h
Go to the documentation of this file.
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice */
3 
6 
7 #ifndef ALITPCEXBFIRST_H
8 #define ALITPCEXBFIRST_H
9 
10 #include "AliTPCExB.h"
11 //class AliFieldMap;
12 class AliMagF;
13 
14 class AliTPCExBFirst:public AliTPCExB {
15 public:
17  // AliTPCExBFirst(const AliFieldMap *bFieldMap,Double_t driftVelocity);
18  AliTPCExBFirst(const AliMagF *bField,Double_t driftVelocity,
19  Int_t nx=100,Int_t ny=100,Int_t nz=100);
20  virtual ~AliTPCExBFirst();
21  virtual void Correct(const Double_t *position,Double_t *corrected);
22  void TestThisBeautifulObject(const char* fileName);
23  void SetDriftVelocity(Double_t driftVelocity) {
24  fDriftVelocity=driftVelocity;
25  };
26 protected:
27  Double_t fDriftVelocity;
28 private:
29  AliTPCExBFirst& operator=(const AliTPCExBFirst&); // don't assign me
30  AliTPCExBFirst(const AliTPCExBFirst&); // don't copy me
31  // void ConstructCommon(const AliFieldMap *bFieldMap,const AliMagF *bField);
32  void ConstructCommon(const AliMagF *bField);
33  void GetMeanFields(Double_t rx,Double_t ry,Double_t rz,
34  Double_t *Bx,Double_t *By) const;
35  Int_t fkNX;
36  Int_t fkNY;
37  Int_t fkNZ;
38  Double_t fkXMin;
39  Double_t fkXMax;
40  Double_t fkYMin;
41  Double_t fkYMax;
42  Double_t fkZMin;
43  Double_t fkZMax;
44  Int_t fkNMean;
45  Double_t *fkMeanBx; //[fkNMean]
48  Double_t *fkMeanBy; //[fkNMean]
49  Double_t fkMeanBz;
50  static const Double_t fgkEM;
51  static const Double_t fgkDriftField;
52 
54  ClassDef(AliTPCExBFirst,2)
56 };
57 
58 #endif
Int_t fkNZ
field mesh points in z direction
Double_t fkYMax
the last grid point in y direction
Double_t fkXMin
the first grid point in x direction
Double_t * fkMeanBx
the mean field in x direction upto a certain z value
Double_t fkZMax
the last grid point in z direction
void GetMeanFields(Double_t rx, Double_t ry, Double_t rz, Double_t *Bx, Double_t *By) const
virtual void Correct(const Double_t *position, Double_t *corrected)
virtual ~AliTPCExBFirst()
AliTPCExBFirst & operator=(const AliTPCExBFirst &)
Double_t fkZMin
the first grid point in z direction
Int_t fkNX
field mesh points in x direction
void TestThisBeautifulObject(const char *fileName)
Double_t * fkMeanBy
the mean field in y direction upto a certain z value
void SetDriftVelocity(Double_t driftVelocity)
Double_t fDriftVelocity
The electron drift velocity.
void ConstructCommon(const AliMagF *bField)
Int_t fkNY
field mesh points in y direction
Double_t fkXMax
the last grid point in x direction
Abstract class for ExB effect parameterization.
Definition: AliTPCExB.h:10
static const Double_t fgkDriftField
! the TPC drift field (V/m) (modulus)
Double_t fkMeanBz
the mean field in z direction inside the TPC volume
This implementation AliTPCExB is using an aproximate calculation of the ExB effect.
static const Double_t fgkEM
! elementary charge over electron mass (C/kg)
Double_t fkYMin
the first grid point in y direction