]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliMagFMaps.h
Transition to NewIO
[u/mrichter/AliRoot.git] / STEER / AliMagFMaps.h
index dc66898e4e1237e6cb3249de9ff3fce96b5b2bfe..eafcd1e9277c88b61f4f128a1dacb0d58e40f3a1 100644 (file)
@@ -17,7 +17,7 @@ class AliMagFMaps : public AliMagF
   //Alice Magnetic Field with constant mesh
 
 public:
-    enum constants {k2kG, k4kG, k5kG, k0kG};
+    enum constants {k2kG, k4kG, k5kG};
     AliMagFMaps();
     AliMagFMaps(const char *name, const char *title, const Int_t integ,
                const Float_t factor, const Float_t fmax, const Int_t map = k2kG,
@@ -29,6 +29,8 @@ public:
     virtual void ReadField();
     virtual Float_t SolenoidField() const;
     virtual void    SetL3ConstField(Int_t flag = 0) {fL3Option = flag;}
+    virtual void    SetL3ConstField(Float_t bsol, Int_t flag = 0)
+       {fL3Option = flag; fSolenoidUser = bsol;}
     
     virtual AliMagFMaps & operator=(const AliMagFMaps &magf)
       {magf.Copy(*this); return *this;}
@@ -38,16 +40,10 @@ protected:
 
     AliFieldMap* fFieldMap[3];     // Field maps
     Float_t      fSolenoid;        // Solenoid field setting
+    Float_t      fSolenoidUser;    // User set solenoid field setting  
     Int_t        fL3Option;        // Option for field inside L3
     Int_t        fFieldRead;       // Field has been read in
-    ClassDef(AliMagFMaps,2)        // Class for all Alice MagField using three Maps with Constant Mesh
+    ClassDef(AliMagFMaps,3)        // Class for all Alice MagField using three Maps with Constant Mesh
 };
 
 #endif
-
-
-
-
-
-
-