Introduction of TOF signal cable lencgth map (P.Pagano)
authordecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 Apr 2008 22:09:37 +0000 (22:09 +0000)
committerdecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 Apr 2008 22:09:37 +0000 (22:09 +0000)
TOF/AliTOFCableLengthMap.cxx [new file with mode: 0644]
TOF/AliTOFCableLengthMap.h [new file with mode: 0644]
TOF/TOFbaseLinkDef.h
TOF/libTOFbase.pkg

diff --git a/TOF/AliTOFCableLengthMap.cxx b/TOF/AliTOFCableLengthMap.cxx
new file mode 100644 (file)
index 0000000..3e2ba09
--- /dev/null
@@ -0,0 +1,946 @@
+/**************************************************************************\r
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\r
+ *                                                                        *\r
+ * Author: The ALICE Off-line Project.                                    *\r
+ * Contributors are mentioned in the code where appropriate.              *\r
+ *                                                                        *\r
+ * Permission to use, copy, modify and distribute this software and its   *\r
+ * documentation strictly for non-commercial purposes is hereby granted   *\r
+ * without fee, provided that the above copyright notice appears in all   *\r
+ * copies and that both the copyright notice and this permission notice   *\r
+ * appear in the supporting documentation. The authors make no claims     *\r
+ * about the suitability of this software for any purpose. It is          *\r
+ * provided "as is" without express or implied warranty.                  *\r
+ **************************************************************************/\r
+\r
+/*\r
+$Log$\r
+*/\r
+\r
+///////////////////////////////////////////////////////////////////////////////\r
+//                                                                           //\r
+//  TOF Cable Length Map class                                               //\r
+//                                                                           //\r
+//                                                                           //\r
+//  Author: P.Pagano                                                         //\r
+//                                                                           //\r
+///////////////////////////////////////////////////////////////////////////////\r
+\r
+#include "AliTOFCableLengthMap.h"\r
+\r
+ClassImp(AliTOFCableLengthMap)\r
+\r
+const Float_t AliTOFCableLengthMap::fgkCableLength[72][10][2][5] =\r
+{\r
+  {//crate 0\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain\r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,412.5}},//slot 8, chain  \r
+    {{387.5,387.5,387.5,387.5,400.0},{412.5,412.5,425.0,412.5,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,425.0,425.0},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{462.5,475.0,475.0,475.0,475.0},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,550.0,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 1\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{412.5,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  \r
+    {{450.0,450.0,437.5,437.5,437.5},{475.0,475.0,462.5,450.0,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,475.0,475.0},{512.5,512.5,512.5,500.0,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,512.5,512.5,512.5},{550.0,550.0,550.0,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 2\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,412.5}},//slot 8, chain  \r
+    {{387.5,387.5,387.5,387.5,400.0},{412.5,412.5,425.0,412.5,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,425.0,425.0},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{462.5,475.0,475.0,475.0,475.0},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,550.0,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 3\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{412.5,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  \r
+    {{450.0,450.0,437.5,437.5,437.5},{475.0,475.0,462.5,450.0,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,475.0,475.0},{512.5,512.5,512.5,500.0,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,512.5,512.5,512.5},{550.0,550.0,550.0,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 4\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 5\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain     \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{500.0,512.5,512.5,512.5,487.5}},//slot 11, chain  \r
+    {{525.0,525.0,512.5,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot ,12 chain\r
+  }, \r
+  {//crate 6\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  }, \r
+  {//crate 7\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain     \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{500.0,512.5,512.5,512.5,487.5}},//slot 11, chain  \r
+    {{525.0,525.0,512.5,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot ,12 chain\r
+  },\r
+  {//crate 8\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,400.0,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 9\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,425.0,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 10\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,400.0,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  }, \r
+  {//crate 11\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,425.0,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 12\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,487.5,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 13\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{362.5,362.5,350.0,350.0,350.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,500.0,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 14\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,487.5,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  }, \r
+  {//crate 15\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{362.5,362.5,350.0,350.0,350.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,500.0,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 16\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,400.0,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,475.0,475.0,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 17\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{275.0,275.0,275.0,262.5,262.5},{250.0,250.0,237.5,237.5,237.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,425.0,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 18\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,400.0,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,475.0,475.0,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 19\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{275.0,275.0,275.0,262.5,262.5},{250.0,250.0,237.5,237.5,237.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,425.0,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 20\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 21\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  \r
+    {{425.0,425.0,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 22\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 23\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  \r
+    {{425.0,425.0,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 24\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,400.0,400.0,400.0},{412.5,425.0,425.0,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,437.5,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain \r
+  },\r
+  {//crate 25\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  \r
+    {{425.0,425.0,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  \r
+    {{475.0,475.0,475.0,462.5,462.5},{450.0,450.0,450.0,437.5,437.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 26\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,400.0,400.0,400.0},{412.5,425.0,425.0,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,437.5,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain \r
+  },\r
+  {//crate 27\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  \r
+    {{425.0,425.0,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  \r
+    {{475.0,475.0,475.0,462.5,462.5},{450.0,450.0,450.0,437.5,437.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 28\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,487.5,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain \r
+  },\r
+  {//crate 29\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain   \r
+  },\r
+  {//crate 30\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,487.5,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 31\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 32\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,300.0,300.0,300.0},{262.5,262.5,275.0,275.0,275.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,387.5,387.5,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,387.5,387.5,400.0},{412.5,412.5,425.0,412.5,425.0}},//slot 9, chain\r
+    {{425.0,425.0,425.0,425.0,425.0},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{462.5,462.5,462.5,475.0,475.0},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 33\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{400.0,400.0,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{412.5,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  \r
+    {{437.5,437.5,437.5,437.5,437.5},{462.5,462.5,462.5,450.0,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,475.0,475.0},{512.5,512.5,512.5,500.0,500.0}},//slot 11, chain  \r
+    {{525.5,512.5,512.5,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 34\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain\r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,300.0,300.0,300.0},{262.5,262.5,275.0,275.0,275.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,387.5,387.5,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,387.5,387.5,400.0},{412.5,412.5,425.0,412.5,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,425.0,425.0},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{462.5,462.5,462.5,475.0,475.0},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 35\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{400.0,400.0,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{412.5,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  \r
+    {{437.5,437.5,437.5,437.5,437.5},{462.5,462.5,462.5,450.0,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,475.0,475.0},{512.5,512.5,512.5,500.0,500.0}},//slot 11, chain  \r
+    {{525.5,512.5,512.5,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 36\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+      {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain\r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+      {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,400.0,400.0,400.0,412.5}},//slot 8, chain  \r
+    {{387.5,387.5,400.0,400.0,412.5},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,437.5,437.5},{475.0,450.0,450.0,462.5,462.5}},//slot 10, chain  \r
+    {{475.0,475.0,475.0,487.5,487.5},{500.0,500.0,500.0,500.0,500.0}},//slot 11, chain  \r
+    {{512.5,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 37\r
+     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain\r
+     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain\r
+     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain\r
+     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain\r
+     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain\r
+     {{387.5,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain\r
+     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain\r
+     {{450.0,450.0,450.0,450.0,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain\r
+     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,512.5}},//slot 11, chain\r
+     {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 38\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,400.0,400.0,400.0,412.5}},//slot 8, chain  \r
+    {{387.5,387.5,400.0,400.0,412.5},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,437.5,437.5},{475.0,450.0,450.0,462.5,462.5}},//slot 10, chain  \r
+    {{475.0,475.0,475.0,487.5,487.5},{500.0,500.0,500.0,500.0,500.0}},//slot 11, chain  \r
+    {{512.5,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 39\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{387.5,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,450.0,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,512.5}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 40\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,400.0,400.0,400.0,412.5}},//slot 8, chain  \r
+    {{387.5,387.5,400.0,400.0,412.5},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,437.5,437.5},{475.0,450.0,450.0,462.5,462.5}},//slot 10, chain  \r
+    {{475.0,487.5,487.5,487.5,487.5},{500.0,500.0,500.0,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 41\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,326.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,387.5},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,450.0,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain\r
+    {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 42\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,400.0,400.0,400.0,412.5}},//slot 8, chain  \r
+    {{387.5,387.5,400.0,400.0,412.5},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,437.5,437.5},{475.0,450.0,450.0,462.5,462.5}},//slot 10, chain  \r
+    {{475.0,487.5,487.5,487.5,487.5},{500.0,500.0,500.0,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 43\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,326.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,387.5},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,450.0,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 44\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,487.5,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 45\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 46\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,487.5,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 47\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  }, \r
+  {//crate 48\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 4, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 5, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 6, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 7, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 8, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 9, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 10, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 11, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain\r
+  },\r
+  {//crate 49\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 4, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 5, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 6, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 7, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 8, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 9, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 10, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 11, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain\r
+  },\r
+  {//crate 50\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 4, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 5, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 6, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 7, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 8, chain     \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 9, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 10, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 11, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain\r
+  },\r
+  {//crate 51\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 4, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 5, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 6, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 7, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 8, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 9, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 10, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 11, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain\r
+  },\r
+  {//crate 52\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 4, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 5, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 6, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 7, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 8, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 9, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 10, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 11, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain\r
+  },\r
+  {//crate 53\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 4, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 5, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 6, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 7, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 8, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 9, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 10, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 11, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain\r
+  },\r
+  {//crate 54\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 4, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 5, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 6, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 7, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 8, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 9, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 10, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 11, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain\r
+  },\r
+  {//crate 55\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 4, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 5, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 6, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 7, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 8, chain     \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 9, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 10, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 11, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain\r
+  },\r
+  {//crate 56\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 4, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 5, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 6, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 7, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 8, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 9, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 10, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 11, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain\r
+  },\r
+  {//crate 57\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 4, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 5, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 6, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 7, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 8, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 9, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 10, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 11, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain\r
+  },\r
+  {//crate 58\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 4, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 5, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 6, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 7, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 8, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 9, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 10, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 11, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain\r
+  },\r
+  {//crate 59\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 4, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 5, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 6, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 7, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 8, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 9, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 10, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 11, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain\r
+  },\r
+  {//crate 60\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain     \r
+    {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,475.0,487.5,0,0},{487.5,487.5,487.5,0,0}},//slot 11, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain\r
+  },\r
+  {//crate 61\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  \r
+    {{425.0,425.0,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{0,0,0,487.5,487.5},{0,0,0,512.5,500.0}},//slot 11, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain\r
+  },\r
+  {//crate 62\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain     \r
+    {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,475.0,487.5,0,0},{487.5,487.5,487.5,0,0}},//slot 11, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain\r
+  },\r
+  {//crate 63\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  \r
+    {{425.0,425.0,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{0,0,0,487.5,487.5},{0,0,0,512.5,500.0}},//slot 11, chain  \r
+    {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain\r
+  },\r
+  {//crate 64\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,400.0,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,400.0,400.0,412.5},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,437.5,437.5},{475.0,450.0,450.0,462.5,462.5}},//slot 10, chain  \r
+    {{475.0,475.0,475.0,487.5,487.5},{500.0,500.0,500.0,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 65\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,387.5},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,450.0,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 66\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,400.0,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,400.0,400.0,412.5},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,437.5,437.5},{475.0,450.0,450.0,462.5,462.5}},//slot 10, chain  \r
+    {{475.0,475.0,475.0,487.5,487.5},{500.0,500.0,500.0,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 67\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,387.5},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,450.0,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 68\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain\r
+  },\r
+  {//crate 69\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  },\r
+  {//crate 70\r
+    {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  \r
+    {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  \r
+    {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  \r
+    {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  \r
+    {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  \r
+    {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  \r
+    {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  \r
+    {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  \r
+    {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  \r
+    {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain    \r
+  },\r
+  {//crate 71\r
+    {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  \r
+    {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  \r
+    {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  \r
+    {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  \r
+    {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  \r
+    {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  \r
+    {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  \r
+    {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  \r
+    {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  \r
+    {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain\r
+  }\r
+};\r
+    \r
+//_____________________________________________________________________________\r
+AliTOFCableLengthMap::AliTOFCableLengthMap(){\r
+  //\r
+  // AliTOFCableLengthMap default constructor\r
+  //\r
+  \r
+}\r
+//_____________________________________________________________________________\r
+AliTOFCableLengthMap::~AliTOFCableLengthMap(){\r
+  //\r
+  // AliTOFCableLengthMap destructor\r
+  //\r
+}\r
+//_____________________________________________________________________________\r
+Float_t  AliTOFCableLengthMap::GetCableLength(Int_t icrate, Int_t islot, Int_t ichain, Int_t itdc)  {\r
+  //\r
+  //   return the length of the cable (in cm) that comes out from:\r
+  //   crate# icrate,\r
+  //   slot# islot,\r
+  //   chain# ichain,\r
+  //   tdc# itdc \r
+  //\r
+  Int_t dummyTdc= itdc / 3;\r
+  Int_t dummySlot= islot - 3;\r
+  \r
+  return  fgkCableLength[icrate][dummySlot][ichain][dummyTdc];\r
+}\r
+//_____________________________________________________________________________\r
+Float_t  AliTOFCableLengthMap::GetCableTimeShift (Int_t icrate, Int_t islot, Int_t ichain, Int_t itdc) {\r
+  //\r
+  //   return the time shift (in ns) due to cable \r
+  //   according its length:    \r
+  //   it's 4.35 ns per meter\r
+  //   that is 0.0435 per cm\r
\r
+  Int_t dummyTdc= itdc / 3;\r
+  Int_t dummySlot= islot - 3;\r
+  \r
+  //Float_t CableLength = fgkCableLength[icrate][dummySlot][ichain][dummyTdc];\r
+  //Float_t CableTimeShift = CableLength*4.35;\r
+\r
+  // Float_t cableTimeShift = fgkCableLength[icrate][dummySlot][ichain][dummyTdc] *0.047;\r
+  Float_t cableTimeShift = fgkCableLength[icrate][dummySlot][ichain][dummyTdc] *0.0435;\r
+  \r
+  return  cableTimeShift;\r
+}\r
diff --git a/TOF/AliTOFCableLengthMap.h b/TOF/AliTOFCableLengthMap.h
new file mode 100644 (file)
index 0000000..466ad90
--- /dev/null
@@ -0,0 +1,32 @@
+#ifndef ALITOFCABLELENGTHMAP_H\r
+#define ALITOFCABLELENGTHMAP_H\r
+\r
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\r
+ * See cxx source for full Copyright notice                               */\r
+\r
+/* $Id: $ */\r
+\r
+///////////////////////////////////////////////////////////////////////////////\r
+//                                                                           //\r
+//  TOF Cable Length Map class                                               //\r
+//                                                                           //\r
+///////////////////////////////////////////////////////////////////////////////\r
+\r
+#include "TObject.h"\r
+\r
+class AliTOFCableLengthMap: public TObject{\r
+\r
+ public:\r
+  AliTOFCableLengthMap();\r
+  virtual ~AliTOFCableLengthMap();\r
+  static Float_t GetCableLength(Int_t icrate, Int_t islot, Int_t ichain, Int_t itdc);\r
+  static Float_t GetCableTimeShift(Int_t icrate, Int_t islot, Int_t ichain, Int_t itdc);\r
+\r
+ private:\r
+  \r
+  static const Float_t fgkCableLength[72][10][2][5];//Cable Length\r
+  \r
+  ClassDef(AliTOFCableLengthMap,0) // TOF Cable Length Map class\r
+    };\r
+\r
+#endif\r
index 3b26845..da89018 100644 (file)
@@ -26,6 +26,7 @@
 #pragma link C++ class  AliTOFDataDCS+;
 #pragma link C++ class  AliTOFFormatDCS+;
 #pragma link C++ class  AliTOFFEEReader+;
+#pragma link C++ class  AliTOFCableLengthMap+;
 
 
 #endif
index 3e10223..d57929a 100644 (file)
@@ -18,7 +18,8 @@ SRCS  = AliTOFGeometry.cxx  \
         AliTOFDataDCS.cxx \
         AliTOFFormatDCS.cxx \
        AliTOFPreprocessorFDR.cxx \
-       AliTOFFEEReader.cxx
+       AliTOFFEEReader.cxx \
+       AliTOFCableLengthMap.cxx
 
 
 HDRS:= $(SRCS:.cxx=.h)