Index: trunk/Mars/mcore/PixelMap.h
===================================================================
--- trunk/Mars/mcore/PixelMap.h	(revision 16962)
+++ trunk/Mars/mcore/PixelMap.h	(revision 16966)
@@ -202,4 +202,5 @@
     float Vnom;                /// Channel bias voltage nominal
     float Voff;                /// Channel bias voltage offset
+    float Vslope;              /// Channel bias voltage slope
 
     BiasMapEntry() : hv_board(-1) { }
@@ -248,4 +249,5 @@
             str >> entry.Vnom;
             str >> entry.Voff;
+            str >> entry.Vslope;
 
 #ifdef __EXCEPTIONS
@@ -343,9 +345,22 @@
         {
             const int ch = it->hv_board*32 + it->hv_channel;
-	    volt[ch] = -it->Voff;
+	    volt[ch] = it->Voff;
         }
 
         return volt;
     }
+
+    std::vector<float> Vslope() const
+    {
+        std::vector<float> slope(416);
+
+        for (std::vector<BiasMapEntry>::const_iterator it=begin(); it!=end(); it++)
+        {
+            const int ch = it->hv_board*32 + it->hv_channel;
+            slope[ch] = it->Vslope;
+        }
+
+        return slope;
+    }
 };
 
