Using float precission for mean field components (Marian)
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Oct 2007 15:03:25 +0000 (15:03 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Oct 2007 15:03:25 +0000 (15:03 +0000)
TPC/AliTPCExBFirst.cxx
TPC/AliTPCExBFirst.h

index 41942fe2983d0b8ed64fccdccfec2189fc120312..5218eb939bd0a128811f4e6c735395e4617b6705 100644 (file)
@@ -166,8 +166,8 @@ void AliTPCExBFirst::ConstructCommon(const AliFieldMap *bFieldMap,
   // THIS IS PRIVATE! (a helper for the constructor)
   //
   fkNMean=fkNX*fkNY*fkNZ;
-  fkMeanBx=new Double_t[fkNMean];
-  fkMeanBy=new Double_t[fkNMean];
+  fkMeanBx=new Float_t[fkNMean];
+  fkMeanBy=new Float_t[fkNMean];
 
   Double_t x[3];
   Double_t nBz=0;
index b53820e9e4659c4aa70a0dff527d6db92531ac7d..350ba015ba044c76def6d8897875365d1f648b46 100644 (file)
@@ -35,13 +35,13 @@ 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
-  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
+  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 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)
 
-  ClassDef(AliTPCExBFirst,1)
+  ClassDef(AliTPCExBFirst,2)
 };
 
 #endif