Added the magnetic field as a static member of the AliL3Transform class,
[u/mrichter/AliRoot.git] / HLT / src / AliL3Transform.h
index eab53b8828d150d8ed79b3b1b8c0101b7057a94a..0ec7810d16a24c5b6577b2c7dfbd848c37335f9d 100644 (file)
@@ -7,6 +7,7 @@ class AliL3Transform {
 
  private:
   
+  static Double_t fBField;
   static Int_t fNTimeBins;
   static Int_t fNRowLow;
   static Int_t fNRowUp;
@@ -31,6 +32,8 @@ class AliL3Transform {
   
   static void Init(const Char_t* path); //new init for all AliRoot versions
   
+  static void SetBField(Double_t f) {fBField = f;}
+  static Double_t GetBField() {return fBField;}
   static Int_t GetVersion(){return fVersion;}
   static Double_t GetPadPitchWidthLow() {return fPadPitchWidthLow;}
   static Double_t GetPadPitchWidthUp() {return fPadPitchWidthUp;}