]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliMagFMaps.h
Test case for B0 -> mu
[u/mrichter/AliRoot.git] / STEER / AliMagFMaps.h
index 5d36823e117cae5aeb9cc9978cbef224b3cb8963..4f0590624aa4ac397fac39c8ed12f6ae01c600dc 100644 (file)
@@ -6,6 +6,8 @@
 /* $Id$ */
 
 //
+// Magnetic field composed by 3 maps: the L3 magnet, extended region, and
+// dipole magnet
 // Author: Andreas Morsch <andreas.morsch@cern.ch>
 //
 
@@ -19,12 +21,12 @@ class AliMagFMaps : public AliMagFC
 public:
     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,
-               const Int_t l3 = 1);
+    AliMagFMaps(const char *name, const char *title, Int_t integ,
+               Float_t factor, Float_t fmax, Int_t map = k2kG,
+               Int_t l3 = 1);
     AliMagFMaps(const AliMagFMaps &mag);
     virtual ~AliMagFMaps();
-    virtual void    Field(Float_t *x, Float_t *b);
+    virtual void    Field(Float_t *x, Float_t *b) const;
     AliFieldMap* FieldMap(Int_t i) {return fFieldMap[i];}
     virtual void ReadField();
     virtual Float_t SolenoidField() const;
@@ -42,8 +44,7 @@ protected:
     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,3)        // Class for all Alice MagField using three Maps with Constant Mesh
+    ClassDef(AliMagFMaps,4)        // Class for all Alice MagField using three Maps with Constant Mesh
 };
 
 #endif