]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Pointer fB is initialised to 0 in the default constructor
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Sep 2001 15:05:13 +0000 (15:05 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Sep 2001 15:05:13 +0000 (15:05 +0000)
STEER/AliMagFCM.cxx
STEER/AliMagFCM.h

index 32ec66eb050a73a6cc1d9476b6caae674ea60f70..33ea712b9370d46edf7a262d9ea2d996e9a420bd 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.8  2001/05/28 14:10:35  morsch
+SetSolenoidField method to set the L3 field strength. 2 kG is default.
+
 Revision 1.7  2001/05/16 14:57:22  alibrary
 New files for folders and Stack
 
@@ -55,6 +58,7 @@ AliMagFCM::AliMagFCM(const char *name, const char *title, const Int_t integ,
   //
   // Standard constructor
   //
+  fB=0;
   fType = kConMesh;
   fMap  = 2;
   SetSolenoidField();
index 8f10f08083a16785ce4de75ae0ca4ba44956b1da..8d680ef629976400e7eccf09e13b71821a70ce9f 100644 (file)
@@ -13,7 +13,7 @@ class AliMagFCM : public AliMagF
   //Alice Magnetic Field with constan mesh
 
 public:
-  AliMagFCM(){}
+  AliMagFCM(){fB=0;}
   AliMagFCM(const char *name, const char *title, const Int_t integ,
           const Float_t factor, const Float_t fmax);
   AliMagFCM(const AliMagFCM &mag);