First implementation of EMCAL trigger QA from Nicola Arbor
[u/mrichter/AliRoot.git] / TOF / AliTOFCableLengthMap.cxx
1
2 /**************************************************************************
3  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  *                                                                        *
5  * Author: The ALICE Off-line Project.                                    *
6  * Contributors are mentioned in the code where appropriate.              *
7  *                                                                        *
8  * Permission to use, copy, modify and distribute this software and its   *
9  * documentation strictly for non-commercial purposes is hereby granted   *
10  * without fee, provided that the above copyright notice appears in all   *
11  * copies and that both the copyright notice and this permission notice   *
12  * appear in the supporting documentation. The authors make no claims     *
13  * about the suitability of this software for any purpose. It is          *
14  * provided "as is" without express or implied warranty.                  *
15  **************************************************************************/
16
17 /*
18 $Log$
19 */
20
21 ///////////////////////////////////////////////////////////////////////////////
22 //                                                                           //
23 //  TOF Cable Length Map class                                               //
24 //                                                                           //
25 //                                                                           //
26 //  Author: P.Pagano                                                         //
27 //                                                                           //
28 ///////////////////////////////////////////////////////////////////////////////
29
30 #include "AliTOFCableLengthMap.h"
31
32 ClassImp(AliTOFCableLengthMap)
33
34 const Float_t AliTOFCableLengthMap::fgkPropagationDelay = 0.0513;
35
36 const Float_t AliTOFCableLengthMap::fgkCableLength[72][10][2][5] =
37 {
38   {//crate 0
39     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain
40     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
41     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
42     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
43     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
44     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,412.5}},//slot 8, chain  
45     {{387.5,387.5,387.5,387.5,400.0},{412.5,412.5,425.0,412.5,425.0}},//slot 9, chain  
46     {{425.0,425.0,425.0,425.0,425.0},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
47     {{462.5,475.0,475.0,475.0,475.0},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  
48     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,550.0,550.0}} //slot 12, chain
49   },
50   {//crate 1
51     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
52     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
53     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
54     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
55     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
56     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,400.0,400.0,400.0}},//slot 8, chain  
57     {{412.5,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  
58     {{450.0,450.0,437.5,437.5,437.5},{475.0,475.0,462.5,450.0,462.5}},//slot 10, chain  
59     {{487.5,487.5,487.5,475.0,475.0},{512.5,512.5,512.5,500.0,500.0}},//slot 11, chain  
60     {{525.0,525.0,512.5,512.5,512.5},{550.0,550.0,550.0,537.5,537.5}} //slot 12, chain
61   },
62   {//crate 2
63     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
64     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
65     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
66     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
67     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
68     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,412.5}},//slot 8, chain  
69     {{387.5,387.5,387.5,387.5,400.0},{412.5,412.5,425.0,412.5,425.0}},//slot 9, chain  
70     {{425.0,425.0,425.0,425.0,425.0},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
71     {{462.5,475.0,475.0,475.0,475.0},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  
72     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,550.0,550.0}} //slot 12, chain
73   },
74   {//crate 3
75     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
76     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
77     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
78     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
79     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
80     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,400.0,400.0,400.0}},//slot 8, chain  
81     {{412.5,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  
82     {{450.0,450.0,437.5,437.5,437.5},{475.0,475.0,462.5,450.0,462.5}},//slot 10, chain  
83     {{487.5,487.5,487.5,475.0,475.0},{512.5,512.5,512.5,500.0,500.0}},//slot 11, chain  
84     {{525.0,525.0,512.5,512.5,512.5},{550.0,550.0,550.0,537.5,537.5}} //slot 12, chain
85   },
86   {//crate 4
87     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
88     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
89     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
90     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
91     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
92     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
93     {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  
94     {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
95     {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  
96     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
97   },
98   {//crate 5
99     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
100     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
101     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
102     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
103     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
104     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain     
105     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  
106     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
107     {{487.5,487.5,487.5,487.5,487.5},{500.0,512.5,512.5,512.5,487.5}},//slot 11, chain  
108     {{525.0,525.0,512.5,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
109   }, 
110   {//crate 6
111     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
112     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
113     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
114     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
115     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
116     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
117     {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  
118     {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
119     {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  
120     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
121   }, 
122   {//crate 7
123     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
124     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
125     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
126     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
127     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
128     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain     
129     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  
130     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
131     {{487.5,487.5,487.5,487.5,487.5},{500.0,512.5,512.5,512.5,487.5}},//slot 11, chain  
132     {{525.0,525.0,512.5,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
133   },
134   {//crate 8
135     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
136     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
137     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
138     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
139     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
140     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
141     {{387.5,387.5,400.0,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
142     {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
143     {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  
144     {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
145   },
146   {//crate 9
147     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
148     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
149     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
150     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
151     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
152     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
153     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,425.0,425.0}},//slot 9, chain  
154     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
155     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
156     {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
157   },
158   {//crate 10
159     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
160     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
161     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
162     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
163     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
164     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
165     {{387.5,387.5,400.0,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
166     {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
167     {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  
168     {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
169   }, 
170   {//crate 11
171     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
172     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
173     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
174     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
175     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
176     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
177     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,425.0,425.0}},//slot 9, chain  
178     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
179     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
180     {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
181   },
182   {//crate 12
183     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
184     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
185     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
186     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
187     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
188     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
189     {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  
190     {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
191     {{475.0,487.5,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  
192     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
193   },
194   {//crate 13
195     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
196     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
197     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
198     {{287.5,287.5,287.5,275.0,275.0},{362.5,362.5,350.0,350.0,350.0}},//slot 6, chain  
199     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
200     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
201     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  
202     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
203     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,500.0,500.0}},//slot 11, chain  
204     {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
205   },
206   {//crate 14
207     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
208     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
209     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
210     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
211     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
212     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
213     {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  
214     {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
215     {{475.0,487.5,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  
216     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
217   }, 
218   {//crate 15
219     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
220     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
221     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
222     {{287.5,287.5,287.5,275.0,275.0},{362.5,362.5,350.0,350.0,350.0}},//slot 6, chain  
223     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
224     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
225     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  
226     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
227     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,500.0,500.0}},//slot 11, chain  
228     {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
229   },
230   {//crate 16
231     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
232     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
233     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
234     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
235     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
236     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
237     {{387.5,387.5,400.0,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
238     {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
239     {{475.0,475.0,475.0,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  
240     {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
241   },
242   {//crate 17
243     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
244     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
245     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
246     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
247     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
248     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
249     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,425.0,425.0}},//slot 9, chain  
250     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
251     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
252     {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
253   },
254   {//crate 18
255     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
256     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
257     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
258     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
259     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
260     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
261     {{387.5,387.5,400.0,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
262     {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
263     {{475.0,475.0,475.0,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  
264     {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
265   },
266   {//crate 19
267     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
268     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
269     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
270     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
271     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
272     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
273     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,425.0,425.0}},//slot 9, chain  
274     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
275     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
276     {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
277   },
278   {//crate 20
279     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
280     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
281     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
282     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
283     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
284     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
285     {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
286     {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
287     {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  
288     {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
289   },
290   {//crate 21
291     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
292     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
293     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
294     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
295     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
296     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  
297     {{425.0,425.0,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  
298     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
299     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
300     {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
301   },
302   {//crate 22
303     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
304     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
305     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
306     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
307     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
308     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
309     {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
310     {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
311     {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  
312     {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
313   },
314   {//crate 23
315     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
316     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
317     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
318     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
319     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
320     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  
321     {{425.0,425.0,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  
322     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
323     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
324     {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
325   },
326   {//crate 24
327     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
328     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
329     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
330     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
331     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
332     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
333     {{387.5,387.5,400.0,400.0,400.0},{412.5,425.0,425.0,425.0,425.0}},//slot 9, chain  
334     {{425.0,437.5,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
335     {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  
336     {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain 
337   },
338   {//crate 25
339     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
340     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
341     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
342     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
343     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
344     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
345     {{425.0,425.0,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  
346     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
347     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
348     {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
349   },
350   {//crate 26
351     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
352     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
353     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
354     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
355     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
356     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
357     {{387.5,387.5,400.0,400.0,400.0},{412.5,425.0,425.0,425.0,425.0}},//slot 9, chain  
358     {{425.0,437.5,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
359     {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  
360     {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain 
361   },
362   {//crate 27
363     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
364     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
365     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
366     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
367     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
368     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
369     {{425.0,425.0,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  
370     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
371     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
372     {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
373   },
374   {//crate 28
375     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
376     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
377     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
378     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
379     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
380     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
381     {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  
382     {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
383     {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  
384     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain 
385   },
386   {//crate 29
387     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
388     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
389     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
390     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
391     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
392     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
393     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  
394     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
395     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
396     {{525.0,525.0,512.5,525.0,525.0},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain   
397   },
398   {//crate 30
399     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
400     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
401     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
402     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
403     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
404     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
405     {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  
406     {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
407     {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  
408     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
409   },
410   {//crate 31
411     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
412     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
413     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
414     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
415     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
416     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
417     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  
418     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
419     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
420     {{525.0,525.0,512.5,525.0,525.0},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
421   },
422   {//crate 32
423     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
424     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain 
425     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
426     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
427     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
428     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,387.5,387.5,400.0}},//slot 8, chain  
429     {{387.5,387.5,387.5,387.5,400.0},{412.5,412.5,425.0,412.5,425.0}},//slot 9, chain
430     {{425.0,425.0,425.0,425.0,425.0},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
431     {{462.5,462.5,462.5,475.0,475.0},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  
432     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
433   },
434   {//crate 33
435     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
436     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
437     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
438     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
439     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
440     {{375.0,375.0,375.0,375.0,375.0},{400.0,400.0,400.0,400.0,400.0}},//slot 8, chain  
441     {{412.5,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  
442     {{437.5,437.5,437.5,437.5,437.5},{462.5,462.5,462.5,450.0,462.5}},//slot 10, chain  
443     {{487.5,487.5,487.5,475.0,475.0},{512.5,512.5,512.5,500.0,500.0}},//slot 11, chain  
444     {{525.5,512.5,512.5,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
445   },
446   {//crate 34
447     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
448     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain
449     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
450     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
451     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
452     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,387.5,387.5,400.0}},//slot 8, chain  
453     {{387.5,387.5,387.5,387.5,400.0},{412.5,412.5,425.0,412.5,425.0}},//slot 9, chain  
454     {{425.0,425.0,425.0,425.0,425.0},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
455     {{462.5,462.5,462.5,475.0,475.0},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  
456     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
457   },
458   {//crate 35
459     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
460     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
461     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
462     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
463     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
464     {{375.0,375.0,375.0,375.0,375.0},{400.0,400.0,400.0,400.0,400.0}},//slot 8, chain  
465     {{412.5,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  
466     {{437.5,437.5,437.5,437.5,437.5},{462.5,462.5,462.5,450.0,462.5}},//slot 10, chain  
467     {{487.5,487.5,487.5,475.0,475.0},{512.5,512.5,512.5,500.0,500.0}},//slot 11, chain  
468     {{525.5,512.5,512.5,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
469   },
470   {//crate 36
471     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
472     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain
473     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
474     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
475     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
476     {{350.0,362.5,350.0,362.5,362.5},{387.5,400.0,400.0,400.0,412.5}},//slot 8, chain  
477     {{387.5,387.5,400.0,400.0,412.5},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
478     {{425.0,425.0,425.0,437.5,437.5},{475.0,450.0,450.0,462.5,462.5}},//slot 10, chain  
479     {{475.0,475.0,475.0,487.5,487.5},{500.0,500.0,500.0,500.0,500.0}},//slot 11, chain  
480     {{512.5,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
481   },
482   {//crate 37
483      {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain
484      {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain
485      {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain
486      {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain
487      {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain
488      {{387.5,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain
489      {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain
490      {{450.0,450.0,450.0,450.0,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain
491      {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,512.5}},//slot 11, chain
492      {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
493   },
494   {//crate 38
495     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
496     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
497     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
498     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
499     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
500     {{350.0,362.5,350.0,362.5,362.5},{387.5,400.0,400.0,400.0,412.5}},//slot 8, chain  
501     {{387.5,387.5,400.0,400.0,412.5},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
502     {{425.0,425.0,425.0,437.5,437.5},{475.0,450.0,450.0,462.5,462.5}},//slot 10, chain  
503     {{475.0,475.0,475.0,487.5,487.5},{500.0,500.0,500.0,500.0,500.0}},//slot 11, chain  
504     {{512.5,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
505   },
506   {//crate 39
507     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
508     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
509     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
510     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
511     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
512     {{387.5,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  
513     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  
514     {{450.0,450.0,450.0,450.0,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
515     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,512.5}},//slot 11, chain  
516     {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
517   },
518   {//crate 40
519     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
520     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
521     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
522     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
523     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
524     {{350.0,362.5,350.0,362.5,362.5},{387.5,400.0,400.0,400.0,412.5}},//slot 8, chain  
525     {{387.5,387.5,400.0,400.0,412.5},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
526     {{425.0,425.0,425.0,437.5,437.5},{475.0,450.0,450.0,462.5,462.5}},//slot 10, chain  
527     {{475.0,487.5,487.5,487.5,487.5},{500.0,500.0,500.0,500.0,500.0}},//slot 11, chain  
528     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
529   },
530   {//crate 41
531     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
532     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
533     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
534     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
535     {{337.5,337.5,325.0,325.0,325.0},{362.5,326.5,350.0,350.0,350.0}},//slot 7, chain  
536     {{375.0,375.0,375.0,375.0,387.5},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  
537     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  
538     {{450.0,450.0,450.0,450.0,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
539     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain
540     {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
541   },
542   {//crate 42
543     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
544     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
545     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
546     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
547     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
548     {{350.0,362.5,350.0,362.5,362.5},{387.5,400.0,400.0,400.0,412.5}},//slot 8, chain  
549     {{387.5,387.5,400.0,400.0,412.5},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
550     {{425.0,425.0,425.0,437.5,437.5},{475.0,450.0,450.0,462.5,462.5}},//slot 10, chain  
551     {{475.0,487.5,487.5,487.5,487.5},{500.0,500.0,500.0,500.0,500.0}},//slot 11, chain  
552     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
553   },
554   {//crate 43
555     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
556     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
557     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
558     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
559     {{337.5,337.5,325.0,325.0,325.0},{362.5,326.5,350.0,350.0,350.0}},//slot 7, chain  
560     {{375.0,375.0,375.0,375.0,387.5},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  
561     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  
562     {{450.0,450.0,450.0,450.0,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
563     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
564     {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
565   },
566   {//crate 44
567     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
568     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
569     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
570     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
571     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
572     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
573     {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  
574     {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
575     {{475.0,487.5,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  
576     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
577   },
578   {//crate 45
579     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
580     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
581     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
582     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
583     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
584     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
585     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  
586     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
587     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
588     {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
589   },
590   {//crate 46
591     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
592     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
593     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
594     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
595     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
596     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
597     {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  
598     {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
599     {{475.0,487.5,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  
600     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
601   },
602   {//crate 47
603     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
604     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
605     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
606     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
607     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
608     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
609     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  
610     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
611     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
612     {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
613   }, 
614   {//crate 48
615     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
616     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
617     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
618     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
619     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
620     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
621     {{387.5,387.5,400.0,400.0,400.0},{400.0,400.0,412.5,412.5,412.5}},//slot 9, chain  
622     {{437.5,437.5,437.5,437.5,437.5},{462.5,462.5,462.5,462.5,462.5}},//slot 10, chain  
623     {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  
624     {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
625   },
626   {//crate 49
627     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
628     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
629     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
630     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
631     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
632     {{375.0,375.0,375.0,375.0,375.0},{412.5,400.0,400.0,400.0,400.0}},//slot 8, chain  
633     {{437.5,425.0,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  
634     {{450.0,450.0,437.5,437.5,437.5},{475.0,475.0,475.0,475.0,462.5}},//slot 10, chain  
635     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
636     {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
637   },
638   {//crate 50
639     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
640     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
641     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
642     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
643     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
644     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,412.5}},//slot 8, chain  
645     {{387.5,387.5,400.0,400.0,412.5},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
646     {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,450.0,450.0}},//slot 10, chain  
647     {{475.0,475.0,475.0,487.5,487.5},{487.5,487.5,487.5,500.0,500.0}},//slot 11, chain  
648     {{500.0,500.0,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
649   },
650   {//crate 51
651     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
652     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
653     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
654     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
655     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
656     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,412.5}},//slot 8, chain  
657     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,425.0,425.0,425.0}},//slot 9, chain  
658     {{450.0,450.0,437.5,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
659     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
660     {{525.0,525.0,525.0,512.5,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
661   },
662   {//crate 52
663     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
664     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
665     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
666     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
667     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
668     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
669     {{387.5,387.5,400.0,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
670     {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
671     {{475.0,475.0,475.0,0,0},{487.5,487.5,487.5,0,0}},//slot 11, chain  
672     {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain
673   },
674   {//crate 53
675     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
676     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
677     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
678     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
679     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
680     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
681     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,425.0,425.0}},//slot 9, chain  
682     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
683     {{0,0,0,487.5,487.5},{0,0,0,512.5,500.0}},//slot 11, chain  
684     {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain
685   },
686   {//crate 54
687     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
688     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
689     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
690     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
691     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
692     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
693     {{387.5,387.5,400.0,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
694     {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
695     {{475.0,475.0,475.0,0,0},{487.5,487.5,487.5,0,0}},//slot 11, chain  
696     {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain
697   },
698   {//crate 55
699     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
700     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
701     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
702     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
703     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
704     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
705     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,425.0,425.0}},//slot 9, chain  
706     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
707     {{0,0,0,487.5,487.5},{0,0,0,512.5,500.0}},//slot 11, chain  
708     {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain
709   },
710     {//crate 56
711     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
712     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
713     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
714     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
715     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
716     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
717     {{387.5,387.5,400.0,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
718     {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
719     {{462.5,462.5,475.0,0,0},{487.5,487.5,487.5,0,0}},//slot 11, chain  
720     {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain
721   },
722   {//crate 57
723     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
724     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
725     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
726     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
727     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
728     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
729     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,425.0,425.0}},//slot 9, chain  
730     {{450.0,450.0,450.0,437.5,437.5},{475.0,462.5,462.5,462.5,462.5}},//slot 10, chain  
731     {{0,0,0,487.5,487.5},{0,0,0,512.5,500.0}},//slot 11, chain  
732     {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain
733   },
734  {//crate 58
735     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
736     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
737     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
738     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
739     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
740     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
741     {{387.5,387.5,400.0,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
742     {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
743     {{462.5,462.5,475.0,0,0},{487.5,487.5,487.5,0,0}},//slot 11, chain  
744     {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain
745   },
746   {//crate 59
747     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
748     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
749     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
750     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
751     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
752     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
753     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,425.0,425.0}},//slot 9, chain  
754     {{450.0,450.0,450.0,437.5,437.5},{475.0,462.5,462.5,462.5,462.5}},//slot 10, chain  
755     {{0,0,0,487.5,487.5},{0,0,0,512.5,500.0}},//slot 11, chain  
756     {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain
757   },
758    {//crate 60
759     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
760     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
761     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
762     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
763     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
764     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain     
765     {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
766     {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
767     {{475.0,475.0,487.5,0,0},{487.5,487.5,487.5,0,0}},//slot 11, chain  
768     {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain
769   },
770   {//crate 61
771     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
772     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
773     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
774     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
775     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
776     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  
777     {{425.0,425.0,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  
778     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
779     {{0,0,0,487.5,487.5},{0,0,0,512.5,500.0}},//slot 11, chain  
780     {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain
781   },
782   {//crate 62
783     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
784     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
785     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
786     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
787     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
788     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain     
789     {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
790     {{425.0,425.0,437.5,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
791     {{475.0,475.0,487.5,0,0},{487.5,487.5,487.5,0,0}},//slot 11, chain  
792     {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain
793   },
794   {//crate 63
795     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
796     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
797     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
798     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
799     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
800     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  
801     {{425.0,425.0,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  
802     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
803     {{0,0,0,487.5,487.5},{0,0,0,512.5,500.0}},//slot 11, chain  
804     {{0,0,0,0,0},{0,0,0,0,0}} //slot 12, chain
805   },
806   {//crate 64
807     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
808     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
809     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
810     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
811     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
812     {{350.0,362.5,350.0,362.5,362.5},{387.5,400.0,400.0,400.0,400.0}},//slot 8, chain  
813     {{387.5,387.5,400.0,400.0,412.5},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
814     {{425.0,425.0,425.0,437.5,437.5},{475.0,450.0,450.0,462.5,462.5}},//slot 10, chain  
815     {{475.0,475.0,475.0,487.5,487.5},{500.0,500.0,500.0,500.0,500.0}},//slot 11, chain  
816     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
817   },
818   {//crate 65
819     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
820     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
821     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
822     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
823     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
824     {{375.0,375.0,375.0,375.0,387.5},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  
825     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  
826     {{450.0,450.0,450.0,450.0,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
827     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
828     {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
829   },
830   {//crate 66
831     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
832     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
833     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
834     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
835     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
836     {{350.0,362.5,350.0,362.5,362.5},{387.5,400.0,400.0,400.0,400.0}},//slot 8, chain  
837     {{387.5,387.5,400.0,400.0,412.5},{412.5,412.5,425.0,425.0,425.0}},//slot 9, chain  
838     {{425.0,425.0,425.0,437.5,437.5},{475.0,450.0,450.0,462.5,462.5}},//slot 10, chain  
839     {{475.0,475.0,475.0,487.5,487.5},{500.0,500.0,500.0,500.0,500.0}},//slot 11, chain  
840     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
841   },
842   {//crate 67
843     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
844     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
845     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
846     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
847     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
848     {{375.0,375.0,375.0,375.0,387.5},{412.5,412.5,412.5,400.0,400.0}},//slot 8, chain  
849     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,437.5}},//slot 9, chain  
850     {{450.0,450.0,450.0,450.0,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
851     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
852     {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
853   },
854   {//crate 68
855     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
856     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
857     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
858     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
859     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
860     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
861     {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  
862     {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
863     {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  
864     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain
865   },
866   {//crate 69
867     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
868     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
869     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
870     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
871     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
872     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
873     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  
874     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
875     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
876     {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
877   },
878   {//crate 70
879     {{0,0,0,0,0},{0,0,0,0,0}},//slot 3, chain  
880     {{175.0,175.0,175.0,187.5,187.5},{200.0,200.0,212.5,212.5,212.5}},//slot 4, chain  
881     {{212.5,237.5,225.0,237.5,237.5},{250.0,262.5,262.5,262.5,262.5}},//slot 5, chain  
882     {{262.5,262.5,275.0,275.0,275.0},{287.5,287.5,300.0,300.0,300.0}},//slot 6, chain  
883     {{312.5,300.0,312.5,312.5,325.0},{337.5,325.0,337.5,337.5,350.0}},//slot 7, chain  
884     {{350.0,362.5,350.0,362.5,362.5},{387.5,387.5,400.0,400.0,400.0}},//slot 8, chain  
885     {{387.5,387.5,387.5,400.0,400.0},{412.5,412.5,412.5,425.0,425.0}},//slot 9, chain  
886     {{425.0,425.0,425.0,437.5,437.5},{462.5,450.0,450.0,462.5,450.0}},//slot 10, chain  
887     {{475.0,475.0,487.5,487.5,487.5},{487.5,487.5,500.0,500.0,500.0}},//slot 11, chain  
888     {{500.0,512.5,512.5,512.5,512.5},{525.0,537.5,537.5,537.5,550.0}} //slot 12, chain    
889   },
890   {//crate 71
891     {{162.5,0,0,0,0},{175.0,0,0,0,0}},//slot 3, chain  
892     {{187.5,200.0,200.0,187.5,187.5},{212.5,225.0,225.0,212.5,212.5}},//slot 4, chain  
893     {{250.0,250.0,237.5,237.5,237.5},{275.0,275.0,275.0,262.5,262.5}},//slot 5, chain  
894     {{287.5,287.5,287.5,275.0,275.0},{312.5,312.5,312.5,300.0,300.0}},//slot 6, chain  
895     {{337.5,337.5,325.0,325.0,325.0},{362.5,362.5,350.0,350.0,350.0}},//slot 7, chain  
896     {{375.0,375.0,375.0,375.0,375.0},{412.5,412.5,412.5,412.5,400.0}},//slot 8, chain  
897     {{425.0,412.5,412.5,412.5,412.5},{437.5,437.5,437.5,437.5,425.0}},//slot 9, chain  
898     {{450.0,450.0,450.0,437.5,437.5},{475.0,475.0,475.0,462.5,462.5}},//slot 10, chain  
899     {{487.5,487.5,487.5,487.5,487.5},{512.5,512.5,512.5,512.5,500.0}},//slot 11, chain  
900     {{525.0,525.0,525.0,525.0,512.5},{550.0,550.0,537.5,537.5,537.5}} //slot 12, chain
901   }
902 };
903     
904 //_____________________________________________________________________________
905 AliTOFCableLengthMap::AliTOFCableLengthMap(){
906   //
907   // AliTOFCableLengthMap default constructor
908   //
909   
910 }
911 //_____________________________________________________________________________
912 AliTOFCableLengthMap::~AliTOFCableLengthMap(){
913   //
914   // AliTOFCableLengthMap destructor
915   //
916 }
917 //_____________________________________________________________________________
918 Float_t  AliTOFCableLengthMap::GetCableLength(Int_t icrate, Int_t islot, Int_t ichain, Int_t itdc)  {
919   //
920   //   return the length of the cable (in cm) that comes out from:
921   //   crate# icrate,
922   //   slot# islot,
923   //   chain# ichain,
924   //   tdc# itdc 
925   //
926   Int_t dummyTdc= itdc / 3;
927   Int_t dummySlot= islot - 3;
928   
929   return  fgkCableLength[icrate][dummySlot][ichain][dummyTdc];
930 }
931 //_____________________________________________________________________________
932 Float_t  AliTOFCableLengthMap::GetCableTimeShift(Int_t icrate, Int_t islot, Int_t ichain, Int_t itdc) {
933   //
934   //   return the time shift (in ns) due to cable 
935   //   according its length:
936   //   it's 5.13 -measured- (4.35 nominal) ns per meter
937   //   that is 0.0513 (0.0435) ns per cm
938   //
939  
940   Int_t dummyTdc= itdc / 3;
941   Int_t dummySlot= islot - 3;
942   
943   //Float_t cableTimeShift = fgkCableLength[icrate][dummySlot][ichain][dummyTdc] * 0.0435; // nominal
944   //Float_t cableTimeShift = fgkCableLength[icrate][dummySlot][ichain][dummyTdc] * 0.0513; // measured
945   Float_t cableTimeShift = fgkCableLength[icrate][dummySlot][ichain][dummyTdc] * fgkPropagationDelay;
946
947   return  cableTimeShift;
948 }
949
950 //_____________________________________________________________________________
951
952 Int_t AliTOFCableLengthMap::GetCableTimeShiftBin(Int_t icrate, Int_t islot, Int_t ichain, Int_t itdc)
953 {
954   //
955   //   return the time shift (in bin number) due to cable 
956   //   according its length:
957   //   it's 5.13 -measured- (4.35 nominal) ns per meter
958   //   that is 0.0513 (0.0435) ns per cm
959   //
960
961   Float_t timeNS = GetCableTimeShift(icrate, islot, ichain, itdc);
962   timeNS*=1000.;
963   timeNS/=AliTOFGeometry::TdcBinWidth();
964
965   Int_t dummy = (Int_t)(timeNS);
966
967   //Int_t dummy = (Int_t)(GetCableTimeShift(icrate, islot, ichain, itdc)*1000./AliTOFGeometry::TdcBinWidth());
968
969   return dummy;
970
971 }