]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCCorrection.h
Stefan Rosegger and Jim Thomas
[u/mrichter/AliRoot.git] / TPC / AliTPCCorrection.h
index c852c1be795b55a9d67d277e570bd108b1d97417..70aee612eca84d64e36a6f4a638c0bac634d50c7 100644 (file)
@@ -32,6 +32,7 @@
 
 
 #include <TNamed.h>
+#include "TMatrixD.h"
 class TH2F;
 class TTimeStamp;
 class TCollection;
@@ -40,6 +41,8 @@ class AliExternalTrackParam;
 class TTree;
 class THnSparse;
 
+
+
 class AliTPCCorrection : public TNamed {
 public:
   enum CompositionType {kParallel,kQueue};
@@ -104,7 +107,12 @@ protected:
   Double_t Interpolate( const Double_t xArray[], const Double_t yArray[], 
                        const Int_t order, const Double_t x );
   void Search( const Int_t n, const Double_t xArray[], const Double_t x, Int_t &low );
-  
+  virtual const Int_t IsPowerOfTwo ( Int_t i ) ;
+    
+  // Algorithms to solve the laplace or possion equation 
+  void PoissonRelaxation2D(TMatrixD &arrayV, const TMatrixD &chargeDensity, TMatrixD &arrayErOverEz, const Int_t rows, const Int_t columns, const Int_t iterations );
+
+
 protected:
   Double_t fT1;         // tensor term of wt - T1
   Double_t fT2;         // tensor term of wt - T2