source: trunk/MagicSoft/Mars/mgui/MGeomCamMagic.cc@ 1350

Last change on this file since 1350 was 1330, checked in by tbretz, 23 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 45.0 KB
Line 
1/* ======================================================================== *\
2!
3! *
4! * This file is part of MARS, the MAGIC Analysis and Reconstruction
5! * Software. It is distributed to you in the hope that it can be a useful
6! * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
7! * It is distributed WITHOUT ANY WARRANTY.
8! *
9! * Permission to use, copy, modify and distribute this software and its
10! * documentation for any purpose is hereby granted without fee,
11! * provided that the above copyright notice appear in all copies and
12! * that both that copyright notice and this permission notice appear
13! * in supporting documentation. It is provided "as is" without express
14! * or implied warranty.
15! *
16!
17!
18! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de>
19! Author(s): Harald Kornmayer 1/2001
20!
21! Copyright: MAGIC Software Development, 2000-2002
22!
23!
24\* ======================================================================== */
25
26/////////////////////////////////////////////////////////////////////////////
27//
28// MGeomCamMagic
29//
30// This class stores the geometry information of the Magic camera.
31// All information are copied from tables, see source code.
32//
33////////////////////////////////////////////////////////////////////////////
34
35#include "MGeomCamMagic.h"
36
37#include "TCanvas.h"
38
39#include "MLog.h"
40#include "MLogManip.h"
41
42#include "MGeomPix.h"
43
44ClassImp(MGeomCamMagic);
45
46// --------------------------------------------------------------------------
47//
48// Magic camera has 577 pixels. For geometry and Next Neighbor info see
49// CreateCam and CreateNN
50//
51MGeomCamMagic::MGeomCamMagic(const char *name)
52 : MGeomCam(577, 17, name, "Geometry information of Magic Camera")
53{
54 CreateCam();
55 CreateNN();
56 CalcMaxRadius();
57}
58
59// --------------------------------------------------------------------------
60//
61// This fills the geometry information from a table into the pixel objects.
62//
63void MGeomCamMagic::CreateCam()
64{
65 //
66 // fill the geometry class with the coordinates of the MAGIC camera
67 //
68 *fLog << inf << " Creating Magic geometry " << endl ;
69
70 //
71 // here define the hardwire things of the magic telescope
72 //
73 const Float_t xtemp[577] = {
74 +000.000, 30.000, 15.000, -15.000, -30.000, -15.000, 15.000, 60.000, // 0
75 +045.000, 30.000, 0.000, -30.000, -45.000, -60.000, -45.000, -30.000, // 8
76 +000.000, 30.000, 45.000, 90.000, 75.000, 60.000, 45.000, 15.000, // 16
77 -015.000, -45.000, -60.000, -75.000, -90.000, -75.000, -60.000, -45.000, // 24
78 -015.000, 15.000, 45.000, 60.000, 75.000, 120.000, 105.000, 90.000, // 32
79 +075.000, 60.000, 30.000, 0.000, -30.000, -60.000, -75.000, -90.000, // 40
80 -105.000, -120.000, -105.000, -90.000, -75.000, -60.000, -30.000, 0.000, // 48
81 +030.000, 60.000, 75.000, 90.000, 105.000, 150.000, 135.000, 120.000, // 56
82 +105.000, 90.000, 75.000, 45.000, 15.000, -15.000, -45.000, -75.000, // 64
83 -090.000, -105.000, -120.000, -135.000, -150.000, -135.000, -120.000, -105.000, // 72
84 -090.000, -75.000, -45.000, -15.000, 15.000, 45.000, 75.000, 90.000, // 80
85 +105.000, 120.000, 135.000, 180.000, 165.000, 150.000, 135.000, 120.000, // 88
86 +105.000, 90.000, 60.000, 30.000, 0.000, -30.000, -60.000, -90.000, // 96
87 -105.000, -120.000, -135.000, -150.000, -165.000, -180.000, -165.000, -150.000, // 104
88 -135.000, -120.000, -105.000, -90.000, -60.000, -30.000, 0.000, 30.000, // 112
89 +060.000, 90.000, 105.000, 120.000, 135.000, 150.000, 165.000, 210.000, // 120
90 +195.000, 180.000, 165.000, 150.000, 135.000, 120.000, 105.000, 75.000, // 128
91 +045.000, 15.000, -15.000, -45.000, -75.000, -105.000, -120.000, -135.000, // 136
92 -150.000, -165.000, -180.000, -195.000, -210.000, -195.000, -180.000, -165.000, // 144
93 -150.000, -135.000, -120.000, -105.000, -75.000, -45.000, -15.000, 15.000, // 152
94 +045.000, 75.000, 105.000, 120.000, 135.000, 150.000, 165.000, 180.000, // 160
95 +195.000, 240.000, 225.000, 210.000, 195.000, 180.000, 165.000, 150.000, // 168
96 +135.000, 120.000, 90.000, 60.000, 30.000, 0.000, -30.000, -60.000, // 176
97 -090.000, -120.000, -135.000, -150.000, -165.000, -180.000, -195.000, -210.000, // 184
98 -225.000, -240.000, -225.000, -210.000, -195.000, -180.000, -165.000, -150.000, // 192
99 -135.000, -120.000, -90.000, -60.000, -30.000, 0.000, 30.000, 60.000, // 200
100 +090.000, 120.000, 135.000, 150.000, 165.000, 180.000, 195.000, 210.000, // 208
101 +225.000, 270.000, 255.000, 240.000, 225.000, 210.000, 195.000, 180.000, // 216
102 +165.000, 150.000, 135.000, 105.000, 75.000, 45.000, 15.000, -15.000, // 224
103 -045.000, -75.000, -105.000, -135.000, -150.000, -165.000, -180.000, -195.000, // 232
104 -210.000, -225.000, -240.000, -255.000, -270.000, -255.000, -240.000, -225.000, // 240
105 -210.000, -195.000, -180.000, -165.000, -150.000, -135.000, -105.000, -75.000, // 248
106 -045.000, -15.000, 15.000, 45.000, 75.000, 105.000, 135.000, 150.000, // 256
107 +165.000, 180.000, 195.000, 210.000, 225.000, 240.000, 255.000, 300.000, // 264
108 +285.000, 270.000, 255.000, 240.000, 225.000, 210.000, 195.000, 180.000, // 272
109 +165.000, 150.000, 120.000, 90.000, 60.000, 30.000, 0.000, -30.000, // 280
110 -060.000, -90.000, -120.000, -150.000, -165.000, -180.000, -195.000, -210.000, // 288
111 -225.000, -240.000, -255.000, -270.000, -285.000, -300.000, -285.000, -270.000, // 296
112 -255.000, -240.000, -225.000, -210.000, -195.000, -180.000, -165.000, -150.000, // 304
113 -120.000, -90.000, -60.000, -30.000, 0.000, 30.000, 60.000, 90.000, // 312
114 +120.000, 150.000, 165.000, 180.000, 195.000, 210.000, 225.000, 240.000, // 320
115 +255.000, 270.000, 285.000, 330.000, 315.000, 300.000, 285.000, 270.000, // 328
116 +255.000, 240.000, 225.000, 210.000, 195.000, 180.000, 165.000, 135.000, // 336
117 +105.000, 75.000, 45.000, 15.000, -15.000, -45.000, -75.000, -105.000, // 344
118 -135.000, -165.000, -180.000, -195.000, -210.000, -225.000, -240.000, -255.000, // 352
119 -270.000, -285.000, -300.000, -315.000, -330.000, -315.000, -300.000, -285.000, // 360
120 -270.000, -255.000, -240.000, -225.000, -210.000, -195.000, -180.000, -165.000, // 368
121 -135.000, -105.000, -75.000, -45.000, -15.000, 15.000, 45.000, 75.000, // 376
122 +105.000, 135.000, 165.000, 180.000, 195.000, 210.000, 225.000, 240.000, // 384
123 +255.000, 270.000, 285.000, 300.000, 315.000, 360.000, 330.000, 300.000, // 392
124 +270.000, 240.000, 210.000, 150.000, 90.000, 30.000, -30.000, -90.000, // 400
125 -150.000, -210.000, -240.000, -270.000, -300.000, -330.000, -360.000, -360.000, // 408
126 -330.000, -300.000, -270.000, -240.000, -210.000, -150.000, -90.000, -30.000, // 416
127 +030.000, 90.000, 150.000, 210.000, 240.000, 270.000, 300.000, 330.000, // 424
128 +360.000, 420.000, 390.000, 360.000, 330.000, 300.000, 270.000, 240.000, // 432
129 +180.000, 120.000, 60.000, 0.000, -60.000, -120.000, -180.000, -240.000, // 440
130 -270.000, -300.000, -330.000, -360.000, -390.000, -420.000, -420.000, -390.000, // 448
131 -360.000, -330.000, -300.000, -270.000, -240.000, -180.000, -120.000, -60.000, // 456
132 +000.000, 60.000, 120.000, 180.000, 240.000, 270.000, 300.000, 330.000, // 464
133 +360.000, 390.000, 420.000, 480.000, 450.000, 420.000, 390.000, 360.000, // 472
134 +330.000, 300.000, 270.000, 210.000, 150.000, 90.000, 30.000, -30.000, // 480
135 -090.000, -150.000, -210.000, -270.000, -300.000, -330.000, -360.000, -390.000, // 488
136 -420.000, -450.000, -480.000, -480.000, -450.000, -420.000, -390.000, -360.000, // 496
137 -330.000, -300.000, -270.000, -210.000, -150.000, -90.000, -30.000, 30.000, // 504
138 +090.000, 150.000, 210.000, 270.000, 300.000, 330.000, 360.000, 390.000, // 512
139 +420.000, 450.000, 480.000, 540.000, 510.000, 480.000, 450.000, 420.000, // 520
140 +390.000, 360.000, 330.000, 300.000, 240.000, 180.000, 120.000, 60.000, // 528
141 +000.000, -60.000, -120.000, -180.000, -240.000, -300.000, -330.000, -360.000, // 536
142 -390.000, -420.000, -450.000, -480.000, -510.000, -540.000, -540.000, -510.000, // 544
143 -480.000, -450.000, -420.000, -390.000, -360.000, -330.000, -300.000, -240.000, // 552
144 -180.000, -120.000, -60.000, 0.000, 60.000, 120.000, 180.000, 240.000, // 560
145 +300.000, 330.000, 360.000, 390.000, 420.000, 450.000, 480.000, 510.000, // 568
146 +540.000 // 576
147 };
148
149 const Float_t ytemp[577] = {
150 +000.000, 0.000, 25.981, 25.981, 0.000, -25.981, -25.981, 0.000, // 0
151 +025.981, 51.961, 51.961, 51.961, 25.981, 0.000, -25.981, -51.961, // 8
152 -051.961, -51.961, -25.981, 0.000, 25.981, 51.961, 77.942, 77.942, // 16
153 +077.942, 77.942, 51.961, 25.981, 0.000, -25.981, -51.961, -77.942, // 24
154 -077.942, -77.942, -77.942, -51.961, -25.981, 0.000, 25.981, 51.961, // 32
155 +077.942, 103.923, 103.923, 103.923, 103.923, 103.923, 77.942, 51.961, // 40
156 +025.981, 0.000, -25.981, -51.961, -77.942, -103.923, -103.923, -103.923, // 48
157 -103.923, -103.923, -77.942, -51.961, -25.981, 0.000, 25.981, 51.961, // 56
158 +077.942, 103.923, 129.904, 129.904, 129.904, 129.904, 129.904, 129.904, // 64
159 +103.923, 77.942, 51.961, 25.981, 0.000, -25.981, -51.961, -77.942, // 72
160 -103.923, -129.904, -129.904, -129.904, -129.904, -129.904, -129.904, -103.923, // 80
161 -077.942, -51.961, -25.981, 0.000, 25.981, 51.961, 77.942, 103.923, // 88
162 +129.904, 155.885, 155.885, 155.885, 155.885, 155.885, 155.885, 155.885, // 96
163 +129.904, 103.923, 77.942, 51.961, 25.981, 0.000, -25.981, -51.961, // 104
164 -077.942, -103.923, -129.904, -155.885, -155.885, -155.885, -155.885, -155.885, // 112
165 -155.885, -155.885, -129.904, -103.923, -77.942, -51.961, -25.981, 0.000, // 120
166 +025.981, 51.961, 77.942, 103.923, 129.904, 155.885, 181.865, 181.865, // 128
167 +181.865, 181.865, 181.865, 181.865, 181.865, 181.865, 155.885, 129.904, // 136
168 +103.923, 77.942, 51.961, 25.981, 0.000, -25.981, -51.961, -77.942, // 144
169 -103.923, -129.904, -155.885, -181.865, -181.865, -181.865, -181.865, -181.865, // 152
170 -181.865, -181.865, -181.865, -155.885, -129.904, -103.923, -77.942, -51.961, // 160
171 -025.981, 0.000, 25.981, 51.961, 77.942, 103.923, 129.904, 155.885, // 168
172 +181.865, 207.846, 207.846, 207.846, 207.846, 207.846, 207.846, 207.846, // 176
173 +207.846, 207.846, 181.865, 155.885, 129.904, 103.923, 77.942, 51.961, // 184
174 +025.981, 0.000, -25.981, -51.961, -77.942, -103.923, -129.904, -155.885, // 192
175 -181.865, -207.846, -207.846, -207.846, -207.846, -207.846, -207.846, -207.846, // 200
176 -207.846, -207.846, -181.865, -155.885, -129.904, -103.923, -77.942, -51.961, // 208
177 -025.981, 0.000, 25.981, 51.961, 77.942, 103.923, 129.904, 155.885, // 216
178 +181.865, 207.846, 233.827, 233.827, 233.827, 233.827, 233.827, 233.827, // 224
179 +233.827, 233.827, 233.827, 233.827, 207.846, 181.865, 155.885, 129.904, // 232
180 +103.923, 77.942, 51.961, 25.981, 0.000, -25.981, -51.961, -77.942, // 240
181 -103.923, -129.904, -155.885, -181.865, -207.846, -233.827, -233.827, -233.827, // 248
182 -233.827, -233.827, -233.827, -233.827, -233.827, -233.827, -233.827, -207.846, // 256
183 -181.865, -155.885, -129.904, -103.923, -77.942, -51.961, -25.981, 0.000, // 264
184 +025.981, 51.961, 77.942, 103.923, 129.904, 155.885, 181.865, 207.846, // 272
185 +233.827, 259.808, 259.808, 259.808, 259.808, 259.808, 259.808, 259.808, // 280
186 +259.808, 259.808, 259.808, 259.808, 233.827, 207.846, 181.865, 155.885, // 288
187 +129.904, 103.923, 77.942, 51.961, 25.981, 0.000, -25.981, -51.961, // 296
188 -077.942, -103.923, -129.904, -155.885, -181.865, -207.846, -233.827, -259.808, // 304
189 -259.808, -259.808, -259.808, -259.808, -259.808, -259.808, -259.808, -259.808, // 312
190 -259.808, -259.808, -233.827, -207.846, -181.865, -155.885, -129.904, -103.923, // 320
191 -077.942, -51.961, -25.981, 0.000, 25.981, 51.961, 77.942, 103.923, // 328
192 +129.904, 155.885, 181.865, 207.846, 233.827, 259.808, 285.788, 285.788, // 336
193 +285.788, 285.788, 285.788, 285.788, 285.788, 285.788, 285.788, 285.788, // 344
194 +285.788, 285.788, 259.808, 233.827, 207.846, 181.865, 155.885, 129.904, // 352
195 +103.923, 77.942, 51.961, 25.981, 0.000, -25.981, -51.961, -77.942, // 360
196 -103.923, -129.904, -155.885, -181.865, -207.846, -233.827, -259.808, -285.788, // 368
197 -285.788, -285.788, -285.788, -285.788, -285.788, -285.788, -285.788, -285.788, // 376
198 -285.788, -285.788, -285.788, -259.808, -233.827, -207.846, -181.865, -155.885, // 384
199 -129.904, -103.923, -77.942, -51.961, -25.981, 34.641, 86.603, 138.564, // 392
200 +190.526, 242.487, 294.449, 329.090, 329.090, 329.090, 329.090, 329.090, // 400
201 +329.090, 294.449, 242.487, 190.526, 138.564, 86.603, 34.641, -34.641, // 408
202 -086.603, -138.564, -190.526, -242.487, -294.449, -329.090, -329.090, -329.090, // 416
203 -329.090, -329.090, -329.090, -294.449, -242.487, -190.526, -138.564, -86.603, // 424
204 -034.641, 34.641, 86.603, 138.564, 190.526, 242.487, 294.449, 346.410, // 432
205 +381.051, 381.051, 381.051, 381.051, 381.051, 381.051, 381.051, 346.410, // 440
206 +294.449, 242.487, 190.526, 138.564, 86.603, 34.641, -34.641, -86.603, // 448
207 -138.564, -190.526, -242.487, -294.449, -346.410, -381.051, -381.051, -381.051, // 456
208 -381.051, -381.051, -381.051, -381.051, -346.410, -294.449, -242.487, -190.526, // 464
209 -138.564, -86.603, -34.641, 34.641, 86.603, 138.564, 190.526, 242.487, // 472
210 +294.449, 346.410, 398.372, 433.013, 433.013, 433.013, 433.013, 433.013, // 480
211 +433.013, 433.013, 433.013, 398.372, 346.410, 294.449, 242.487, 190.526, // 488
212 +138.564, 86.603, 34.641, -34.641, -86.603, -138.564, -190.526, -242.487, // 496
213 -294.449, -346.410, -398.372, -433.013, -433.013, -433.013, -433.013, -433.013, // 504
214 -433.013, -433.013, -433.013, -398.372, -346.410, -294.449, -242.487, -190.526, // 512
215 -138.564, -86.603, -34.641, 34.641, 86.603, 138.564, 190.526, 242.487, // 520
216 +294.449, 346.410, 398.372, 450.333, 484.974, 484.974, 484.974, 484.974, // 528
217 +484.974, 484.974, 484.974, 484.974, 484.974, 450.333, 398.372, 346.410, // 536
218 +294.449, 242.487, 190.526, 138.564, 86.603, 34.641, -34.641, -86.603, // 544
219 -138.564, -190.526, -242.487, -294.449, -346.410, -398.372, -450.333, -484.974, // 552
220 -484.974, -484.974, -484.974, -484.974, -484.974, -484.974, -484.974, -484.974, // 560
221 -450.333, -398.372, -346.410, -294.449, -242.487, -190.526, -138.564, -86.603, // 568
222 -034.641 // 576
223 };
224
225 const Float_t rtemp[577] = {
226 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 0
227 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 8
228 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 16
229 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 24
230 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 32
231 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 40
232 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 48
233 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 56
234 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 64
235 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 72
236 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 80
237 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 88
238 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 96
239 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 104
240 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 112
241 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 120
242 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 128
243 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 136
244 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 144
245 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 152
246 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 160
247 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 168
248 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 176
249 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 184
250 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 192
251 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 200
252 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 208
253 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 216
254 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 224
255 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 232
256 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 240
257 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 248
258 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 256
259 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 264
260 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 272
261 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 280
262 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 288
263 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 296
264 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 304
265 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 312
266 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 320
267 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 328
268 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 336
269 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 344
270 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 352
271 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 360
272 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 368
273 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 376
274 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, 30.00, // 384
275 30.00, 30.00, 30.00, 30.00, 30.00, 60.00, 60.00, 60.00, // 392
276 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 400
277 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 408
278 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 416
279 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 424
280 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 432
281 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 440
282 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 448
283 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 456
284 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 464
285 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 472
286 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 480
287 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 488
288 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 496
289 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 504
290 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 512
291 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 520
292 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 528
293 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 536
294 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 544
295 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 552
296 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 560
297 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, 60.00, // 568
298 60.00 }; // 576
299
300 //
301 // fill the pixels list with this data
302 //
303
304 for (UInt_t i=0; i<GetNumPixels(); i++)
305 (*this)[i].Set(xtemp[i], ytemp[i], rtemp[i]) ;
306}
307
308// --------------------------------------------------------------------------
309//
310// This fills the next neighbor information from a table into the pixel
311// objects.
312//
313void MGeomCamMagic::CreateNN()
314{
315 const Short_t nn[577][6] = { // Neighbors of #
316 { 1, 2, 3, 4, 5, 6}, // 0
317 { 0, 2, 6, 7, 8, 18},
318 { 0, 1, 3, 8, 9, 10},
319 { 0, 2, 4, 10, 11, 12},
320 { 0, 3, 5, 12, 13, 14},
321 { 0, 4, 6, 14, 15, 16},
322 { 0, 1, 5, 16, 17, 18},
323 { 1, 8, 18, 19, 20, 36},
324 { 1, 2, 7, 9, 20, 21},
325 { 2, 8, 10, 21, 22, 23},
326 { 2, 3, 9, 11, 23, 24},
327 { 3, 10, 12, 24, 25, 26},
328 { 3, 4, 11, 13, 26, 27},
329 { 4, 12, 14, 27, 28, 29},
330 { 4, 5, 13, 15, 29, 30},
331 { 5, 14, 16, 30, 31, 32},
332 { 5, 6, 15, 17, 32, 33},
333 { 6, 16, 18, 33, 34, 35},
334 { 1, 6, 7, 17, 35, 36},
335 { 7, 20, 36, 37, 38, 60},
336 { 7, 8, 19, 21, 38, 39}, // 20
337 { 8, 9, 20, 22, 39, 40},
338 { 9, 21, 23, 40, 41, 42},
339 { 9, 10, 22, 24, 42, 43},
340 { 10, 11, 23, 25, 43, 44},
341 { 11, 24, 26, 44, 45, 46},
342 { 11, 12, 25, 27, 46, 47},
343 { 12, 13, 26, 28, 47, 48},
344 { 13, 27, 29, 48, 49, 50},
345 { 13, 14, 28, 30, 50, 51},
346 { 14, 15, 29, 31, 51, 52},
347 { 15, 30, 32, 52, 53, 54},
348 { 15, 16, 31, 33, 54, 55},
349 { 16, 17, 32, 34, 55, 56},
350 { 17, 33, 35, 56, 57, 58},
351 { 17, 18, 34, 36, 58, 59},
352 { 7, 18, 19, 35, 59, 60},
353 { 19, 38, 60, 61, 62, 90},
354 { 19, 20, 37, 39, 62, 63},
355 { 20, 21, 38, 40, 63, 64},
356 { 21, 22, 39, 41, 64, 65}, // 40
357 { 22, 40, 42, 65, 66, 67},
358 { 22, 23, 41, 43, 67, 68},
359 { 23, 24, 42, 44, 68, 69},
360 { 24, 25, 43, 45, 69, 70},
361 { 25, 44, 46, 70, 71, 72},
362 { 25, 26, 45, 47, 72, 73},
363 { 26, 27, 46, 48, 73, 74},
364 { 27, 28, 47, 49, 74, 75},
365 { 28, 48, 50, 75, 76, 77},
366 { 28, 29, 49, 51, 77, 78},
367 { 29, 30, 50, 52, 78, 79},
368 { 30, 31, 51, 53, 79, 80},
369 { 31, 52, 54, 80, 81, 82},
370 { 31, 32, 53, 55, 82, 83},
371 { 32, 33, 54, 56, 83, 84},
372 { 33, 34, 55, 57, 84, 85},
373 { 34, 56, 58, 85, 86, 87},
374 { 34, 35, 57, 59, 87, 88},
375 { 35, 36, 58, 60, 88, 89},
376 { 19, 36, 37, 59, 89, 90}, // 60
377 { 37, 62, 90, 91, 92, 126},
378 { 37, 38, 61, 63, 92, 93},
379 { 38, 39, 62, 64, 93, 94},
380 { 39, 40, 63, 65, 94, 95},
381 { 40, 41, 64, 66, 95, 96},
382 { 41, 65, 67, 96, 97, 98},
383 { 41, 42, 66, 68, 98, 99},
384 { 42, 43, 67, 69, 99, 100},
385 { 43, 44, 68, 70, 100, 101},
386 { 44, 45, 69, 71, 101, 102},
387 { 45, 70, 72, 102, 103, 104},
388 { 45, 46, 71, 73, 104, 105},
389 { 46, 47, 72, 74, 105, 106},
390 { 47, 48, 73, 75, 106, 107},
391 { 48, 49, 74, 76, 107, 108},
392 { 49, 75, 77, 108, 109, 110},
393 { 49, 50, 76, 78, 110, 111},
394 { 50, 51, 77, 79, 111, 112},
395 { 51, 52, 78, 80, 112, 113},
396 { 52, 53, 79, 81, 113, 114}, // 80
397 { 53, 80, 82, 114, 115, 116},
398 { 53, 54, 81, 83, 116, 117},
399 { 54, 55, 82, 84, 117, 118},
400 { 55, 56, 83, 85, 118, 119},
401 { 56, 57, 84, 86, 119, 120},
402 { 57, 85, 87, 120, 121, 122},
403 { 57, 58, 86, 88, 122, 123},
404 { 58, 59, 87, 89, 123, 124},
405 { 59, 60, 88, 90, 124, 125},
406 { 37, 60, 61, 89, 125, 126},
407 { 61, 92, 126, 127, 128, 168},
408 { 61, 62, 91, 93, 128, 129},
409 { 62, 63, 92, 94, 129, 130},
410 { 63, 64, 93, 95, 130, 131},
411 { 64, 65, 94, 96, 131, 132},
412 { 65, 66, 95, 97, 132, 133},
413 { 66, 96, 98, 133, 134, 135},
414 { 66, 67, 97, 99, 135, 136},
415 { 67, 68, 98, 100, 136, 137},
416 { 68, 69, 99, 101, 137, 138}, // 100
417 { 69, 70, 100, 102, 138, 139},
418 { 70, 71, 101, 103, 139, 140},
419 { 71, 102, 104, 140, 141, 142},
420 { 71, 72, 103, 105, 142, 143},
421 { 72, 73, 104, 106, 143, 144},
422 { 73, 74, 105, 107, 144, 145},
423 { 74, 75, 106, 108, 145, 146},
424 { 75, 76, 107, 109, 146, 147},
425 { 76, 108, 110, 147, 148, 149},
426 { 76, 77, 109, 111, 149, 150},
427 { 77, 78, 110, 112, 150, 151},
428 { 78, 79, 111, 113, 151, 152},
429 { 79, 80, 112, 114, 152, 153},
430 { 80, 81, 113, 115, 153, 154},
431 { 81, 114, 116, 154, 155, 156},
432 { 81, 82, 115, 117, 156, 157},
433 { 82, 83, 116, 118, 157, 158},
434 { 83, 84, 117, 119, 158, 159},
435 { 84, 85, 118, 120, 159, 160},
436 { 85, 86, 119, 121, 160, 161}, // 120
437 { 86, 120, 122, 161, 162, 163},
438 { 86, 87, 121, 123, 163, 164},
439 { 87, 88, 122, 124, 164, 165},
440 { 88, 89, 123, 125, 165, 166},
441 { 89, 90, 124, 126, 166, 167},
442 { 61, 90, 91, 125, 167, 168},
443 { 91, 128, 168, 169, 170, 216},
444 { 91, 92, 127, 129, 170, 171},
445 { 92, 93, 128, 130, 171, 172},
446 { 93, 94, 129, 131, 172, 173},
447 { 94, 95, 130, 132, 173, 174},
448 { 95, 96, 131, 133, 174, 175},
449 { 96, 97, 132, 134, 175, 176},
450 { 97, 133, 135, 176, 177, 178},
451 { 97, 98, 134, 136, 178, 179},
452 { 98, 99, 135, 137, 179, 180},
453 { 99, 100, 136, 138, 180, 181},
454 { 100, 101, 137, 139, 181, 182},
455 { 101, 102, 138, 140, 182, 183},
456 { 102, 103, 139, 141, 183, 184}, // 140
457 { 103, 140, 142, 184, 185, 186},
458 { 103, 104, 141, 143, 186, 187},
459 { 104, 105, 142, 144, 187, 188},
460 { 105, 106, 143, 145, 188, 189},
461 { 106, 107, 144, 146, 189, 190},
462 { 107, 108, 145, 147, 190, 191},
463 { 108, 109, 146, 148, 191, 192},
464 { 109, 147, 149, 192, 193, 194},
465 { 109, 110, 148, 150, 194, 195},
466 { 110, 111, 149, 151, 195, 196},
467 { 111, 112, 150, 152, 196, 197},
468 { 112, 113, 151, 153, 197, 198},
469 { 113, 114, 152, 154, 198, 199},
470 { 114, 115, 153, 155, 199, 200},
471 { 115, 154, 156, 200, 201, 202},
472 { 115, 116, 155, 157, 202, 203},
473 { 116, 117, 156, 158, 203, 204},
474 { 117, 118, 157, 159, 204, 205},
475 { 118, 119, 158, 160, 205, 206},
476 { 119, 120, 159, 161, 206, 207}, // 160
477 { 120, 121, 160, 162, 207, 208},
478 { 121, 161, 163, 208, 209, 210},
479 { 121, 122, 162, 164, 210, 211},
480 { 122, 123, 163, 165, 211, 212},
481 { 123, 124, 164, 166, 212, 213},
482 { 124, 125, 165, 167, 213, 214},
483 { 125, 126, 166, 168, 214, 215},
484 { 91, 126, 127, 167, 215, 216},
485 { 127, 170, 216, 217, 218, 270},
486 { 127, 128, 169, 171, 218, 219},
487 { 128, 129, 170, 172, 219, 220},
488 { 129, 130, 171, 173, 220, 221},
489 { 130, 131, 172, 174, 221, 222},
490 { 131, 132, 173, 175, 222, 223},
491 { 132, 133, 174, 176, 223, 224},
492 { 133, 134, 175, 177, 224, 225},
493 { 134, 176, 178, 225, 226, 227},
494 { 134, 135, 177, 179, 227, 228},
495 { 135, 136, 178, 180, 228, 229},
496 { 136, 137, 179, 181, 229, 230}, // 180
497 { 137, 138, 180, 182, 230, 231},
498 { 138, 139, 181, 183, 231, 232},
499 { 139, 140, 182, 184, 232, 233},
500 { 140, 141, 183, 185, 233, 234},
501 { 141, 184, 186, 234, 235, 236},
502 { 141, 142, 185, 187, 236, 237},
503 { 142, 143, 186, 188, 237, 238},
504 { 143, 144, 187, 189, 238, 239},
505 { 144, 145, 188, 190, 239, 240},
506 { 145, 146, 189, 191, 240, 241},
507 { 146, 147, 190, 192, 241, 242},
508 { 147, 148, 191, 193, 242, 243},
509 { 148, 192, 194, 243, 244, 245},
510 { 148, 149, 193, 195, 245, 246},
511 { 149, 150, 194, 196, 246, 247},
512 { 150, 151, 195, 197, 247, 248},
513 { 151, 152, 196, 198, 248, 249},
514 { 152, 153, 197, 199, 249, 250},
515 { 153, 154, 198, 200, 250, 251},
516 { 154, 155, 199, 201, 251, 252}, // 200
517 { 155, 200, 202, 252, 253, 254},
518 { 155, 156, 201, 203, 254, 255},
519 { 156, 157, 202, 204, 255, 256},
520 { 157, 158, 203, 205, 256, 257},
521 { 158, 159, 204, 206, 257, 258},
522 { 159, 160, 205, 207, 258, 259},
523 { 160, 161, 206, 208, 259, 260},
524 { 161, 162, 207, 209, 260, 261},
525 { 162, 208, 210, 261, 262, 263},
526 { 162, 163, 209, 211, 263, 264},
527 { 163, 164, 210, 212, 264, 265},
528 { 164, 165, 211, 213, 265, 266},
529 { 165, 166, 212, 214, 266, 267},
530 { 166, 167, 213, 215, 267, 268},
531 { 167, 168, 214, 216, 268, 269},
532 { 127, 168, 169, 215, 269, 270},
533 { 169, 218, 270, 271, 272, 330},
534 { 169, 170, 217, 219, 272, 273},
535 { 170, 171, 218, 220, 273, 274},
536 { 171, 172, 219, 221, 274, 275}, // 220
537 { 172, 173, 220, 222, 275, 276},
538 { 173, 174, 221, 223, 276, 277},
539 { 174, 175, 222, 224, 277, 278},
540 { 175, 176, 223, 225, 278, 279},
541 { 176, 177, 224, 226, 279, 280},
542 { 177, 225, 227, 280, 281, 282},
543 { 177, 178, 226, 228, 282, 283},
544 { 178, 179, 227, 229, 283, 284},
545 { 179, 180, 228, 230, 284, 285},
546 { 180, 181, 229, 231, 285, 286},
547 { 181, 182, 230, 232, 286, 287},
548 { 182, 183, 231, 233, 287, 288},
549 { 183, 184, 232, 234, 288, 289},
550 { 184, 185, 233, 235, 289, 290},
551 { 185, 234, 236, 290, 291, 292},
552 { 185, 186, 235, 237, 292, 293},
553 { 186, 187, 236, 238, 293, 294},
554 { 187, 188, 237, 239, 294, 295},
555 { 188, 189, 238, 240, 295, 296},
556 { 189, 190, 239, 241, 296, 297}, // 240
557 { 190, 191, 240, 242, 297, 298},
558 { 191, 192, 241, 243, 298, 299},
559 { 192, 193, 242, 244, 299, 300},
560 { 193, 243, 245, 300, 301, 302},
561 { 193, 194, 244, 246, 302, 303},
562 { 194, 195, 245, 247, 303, 304},
563 { 195, 196, 246, 248, 304, 305},
564 { 196, 197, 247, 249, 305, 306},
565 { 197, 198, 248, 250, 306, 307},
566 { 198, 199, 249, 251, 307, 308},
567 { 199, 200, 250, 252, 308, 309},
568 { 200, 201, 251, 253, 309, 310},
569 { 201, 252, 254, 310, 311, 312},
570 { 201, 202, 253, 255, 312, 313},
571 { 202, 203, 254, 256, 313, 314},
572 { 203, 204, 255, 257, 314, 315},
573 { 204, 205, 256, 258, 315, 316},
574 { 205, 206, 257, 259, 316, 317},
575 { 206, 207, 258, 260, 317, 318},
576 { 207, 208, 259, 261, 318, 319}, // 260
577 { 208, 209, 260, 262, 319, 320},
578 { 209, 261, 263, 320, 321, 322},
579 { 209, 210, 262, 264, 322, 323},
580 { 210, 211, 263, 265, 323, 324},
581 { 211, 212, 264, 266, 324, 325},
582 { 212, 213, 265, 267, 325, 326},
583 { 213, 214, 266, 268, 326, 327},
584 { 214, 215, 267, 269, 327, 328},
585 { 215, 216, 268, 270, 328, 329},
586 { 169, 216, 217, 269, 329, 330},
587 { 217, 272, 330, 331, 332, 396},
588 { 217, 218, 271, 273, 332, 333},
589 { 218, 219, 272, 274, 333, 334},
590 { 219, 220, 273, 275, 334, 335},
591 { 220, 221, 274, 276, 335, 336},
592 { 221, 222, 275, 277, 336, 337},
593 { 222, 223, 276, 278, 337, 338},
594 { 223, 224, 277, 279, 338, 339},
595 { 224, 225, 278, 280, 339, 340},
596 { 225, 226, 279, 281, 340, 341}, // 280
597 { 226, 280, 282, 341, 342, 343},
598 { 226, 227, 281, 283, 343, 344},
599 { 227, 228, 282, 284, 344, 345},
600 { 228, 229, 283, 285, 345, 346},
601 { 229, 230, 284, 286, 346, 347},
602 { 230, 231, 285, 287, 347, 348},
603 { 231, 232, 286, 288, 348, 349},
604 { 232, 233, 287, 289, 349, 350},
605 { 233, 234, 288, 290, 350, 351},
606 { 234, 235, 289, 291, 351, 352},
607 { 235, 290, 292, 352, 353, 354},
608 { 235, 236, 291, 293, 354, 355},
609 { 236, 237, 292, 294, 355, 356},
610 { 237, 238, 293, 295, 356, 357},
611 { 238, 239, 294, 296, 357, 358},
612 { 239, 240, 295, 297, 358, 359},
613 { 240, 241, 296, 298, 359, 360},
614 { 241, 242, 297, 299, 360, 361},
615 { 242, 243, 298, 300, 361, 362},
616 { 243, 244, 299, 301, 362, 363}, // 300
617 { 244, 300, 302, 363, 364, 365},
618 { 244, 245, 301, 303, 365, 366},
619 { 245, 246, 302, 304, 366, 367},
620 { 246, 247, 303, 305, 367, 368},
621 { 247, 248, 304, 306, 368, 369},
622 { 248, 249, 305, 307, 369, 370},
623 { 249, 250, 306, 308, 370, 371},
624 { 250, 251, 307, 309, 371, 372},
625 { 251, 252, 308, 310, 372, 373},
626 { 252, 253, 309, 311, 373, 374},
627 { 253, 310, 312, 374, 375, 376},
628 { 253, 254, 311, 313, 376, 377},
629 { 254, 255, 312, 314, 377, 378},
630 { 255, 256, 313, 315, 378, 379},
631 { 256, 257, 314, 316, 379, 380},
632 { 257, 258, 315, 317, 380, 381},
633 { 258, 259, 316, 318, 381, 382},
634 { 259, 260, 317, 319, 382, 383},
635 { 260, 261, 318, 320, 383, 384},
636 { 261, 262, 319, 321, 384, 385}, // 320
637 { 262, 320, 322, 385, 386, 387},
638 { 262, 263, 321, 323, 387, 388},
639 { 263, 264, 322, 324, 388, 389},
640 { 264, 265, 323, 325, 389, 390},
641 { 265, 266, 324, 326, 390, 391},
642 { 266, 267, 325, 327, 391, 392},
643 { 267, 268, 326, 328, 392, 393},
644 { 268, 269, 327, 329, 393, 394},
645 { 269, 270, 328, 330, 394, 395},
646 { 217, 270, 271, 329, 395, 396},
647 { 271, 332, 396, 397, 432, -1},
648 { 271, 272, 331, 333, 397, -1},
649 { 272, 273, 332, 334, 398, -1},
650 { 273, 274, 333, 335, 398, -1},
651 { 274, 275, 334, 336, 399, -1},
652 { 275, 276, 335, 337, 399, -1},
653 { 276, 277, 336, 338, 400, -1},
654 { 277, 278, 337, 339, 400, -1},
655 { 278, 279, 338, 340, 401, -1},
656 { 279, 280, 339, 341, 401, -1}, // 340
657 { 280, 281, 340, 342, 402, -1},
658 { 281, 341, 343, 402, 403, -1},
659 { 281, 282, 342, 344, 403, -1},
660 { 282, 283, 343, 345, 404, -1},
661 { 283, 284, 344, 346, 404, -1},
662 { 284, 285, 345, 347, 405, -1},
663 { 285, 286, 346, 348, 405, -1},
664 { 286, 287, 347, 349, 406, -1},
665 { 287, 288, 348, 350, 406, -1},
666 { 288, 289, 349, 351, 407, -1},
667 { 289, 290, 350, 352, 407, -1},
668 { 290, 291, 351, 353, 408, -1},
669 { 291, 352, 354, 408, 409, -1},
670 { 291, 292, 353, 355, 409, -1},
671 { 292, 293, 354, 356, 410, -1},
672 { 293, 294, 355, 357, 410, -1},
673 { 294, 295, 356, 358, 411, -1},
674 { 295, 296, 357, 359, 411, -1},
675 { 296, 297, 358, 360, 412, -1},
676 { 297, 298, 359, 361, 412, -1}, // 360
677 { 298, 299, 360, 362, 413, -1},
678 { 299, 300, 361, 363, 413, -1},
679 { 300, 301, 362, 364, 414, -1},
680 { 301, 363, 365, 414, 415, -1},
681 { 301, 302, 364, 366, 415, -1},
682 { 302, 303, 365, 367, 416, -1},
683 { 303, 304, 366, 368, 416, -1},
684 { 304, 305, 367, 369, 417, -1},
685 { 305, 306, 368, 370, 417, -1},
686 { 306, 307, 369, 371, 418, -1},
687 { 307, 308, 370, 372, 418, -1},
688 { 308, 309, 371, 373, 419, -1},
689 { 309, 310, 372, 374, 419, -1},
690 { 310, 311, 373, 375, 420, -1},
691 { 311, 374, 376, 420, 421, -1},
692 { 311, 312, 375, 377, 421, -1},
693 { 312, 313, 376, 378, 422, -1},
694 { 313, 314, 377, 379, 422, -1},
695 { 314, 315, 378, 380, 423, -1},
696 { 315, 316, 379, 381, 423, -1}, // 380
697 { 316, 317, 380, 382, 424, -1},
698 { 317, 318, 381, 383, 424, -1},
699 { 318, 319, 382, 384, 425, -1},
700 { 319, 320, 383, 385, 425, -1},
701 { 320, 321, 384, 386, 426, -1},
702 { 321, 385, 387, 426, 427, -1},
703 { 321, 322, 386, 388, 427, -1},
704 { 322, 323, 387, 389, 428, -1},
705 { 323, 324, 388, 390, 428, -1},
706 { 324, 325, 389, 391, 429, -1},
707 { 325, 326, 390, 392, 429, -1},
708 { 326, 327, 391, 393, 430, -1},
709 { 327, 328, 392, 394, 430, -1},
710 { 328, 329, 393, 395, 431, -1},
711 { 329, 330, 394, 396, 431, -1},
712 { 271, 330, 331, 395, 432, -1},
713 { 331, 332, 398, 432, 433, 434},
714 { 333, 334, 397, 399, 434, -1},
715 { 335, 336, 400, 435, 436, -1},
716 { 337, 338, 399, 401, 437, -1}, // 400
717 { 339, 340, 400, 402, 438, -1},
718 { 341, 342, 401, 403, 438, 439},
719 { 342, 343, 402, 404, 440, 441},
720 { 344, 345, 403, 441, 442, -1},
721 { 346, 347, 404, 442, 443, -1},
722 { 348, 349, 405, 443, 444, -1},
723 { 350, 351, 406, 444, 445, -1},
724 { 352, 353, 407, 409, 445, 446},
725 { 353, 354, 408, 410, 447, 448},
726 { 355, 356, 409, 411, 448, -1},
727 { 357, 358, 410, 412, 449, -1},
728 { 359, 360, 411, 450, 451, -1},
729 { 361, 362, 412, 414, 452, -1},
730 { 363, 364, 413, 415, 452, 453},
731 { 364, 365, 414, 416, 454, 455},
732 { 366, 367, 415, 417, 455, -1},
733 { 368, 369, 418, 456, 457, -1},
734 { 370, 371, 417, 419, 458, -1},
735 { 372, 373, 418, 420, 459, -1},
736 { 374, 375, 419, 421, 459, 460}, // 420
737 { 375, 376, 420, 422, 461, 462},
738 { 377, 378, 421, 462, 463, -1},
739 { 379, 380, 422, 463, 464, -1},
740 { 381, 382, 423, 464, 465, -1},
741 { 383, 384, 424, 465, 466, -1},
742 { 385, 386, 425, 427, 466, 467},
743 { 386, 387, 426, 428, 468, 469},
744 { 388, 389, 427, 429, 469, -1},
745 { 390, 391, 428, 430, 470, -1},
746 { 392, 393, 429, 471, 472, -1},
747 { 394, 395, 430, 432, 473, -1},
748 { 331, 396, 397, 431, 473, 474},
749 { 397, 434, 474, 475, 476, -1},
750 { 397, 398, 433, 435, 476, 477},
751 { 398, 399, 434, 436, 477, 478},
752 { 399, 400, 435, 437, 478, 479},
753 { 400, 401, 436, 438, 479, 480},
754 { 401, 402, 437, 439, 480, 481},
755 { 402, 438, 440, 481, 482, -1},
756 { 403, 439, 441, 483, 484, -1}, // 440
757 { 403, 404, 440, 442, 484, 485},
758 { 404, 405, 441, 443, 485, 486},
759 { 405, 406, 442, 444, 486, 487},
760 { 406, 407, 443, 445, 487, 488},
761 { 407, 408, 444, 446, 488, 489},
762 { 408, 445, 447, 489, 490, -1},
763 { 409, 446, 448, 491, 492, -1},
764 { 409, 410, 447, 449, 492, 493},
765 { 410, 411, 448, 450, 493, 494},
766 { 411, 412, 449, 451, 494, 495},
767 { 412, 413, 450, 452, 495, 496},
768 { 413, 414, 451, 453, 496, 497},
769 { 414, 452, 454, 497, 498, -1},
770 { 415, 453, 455, 499, 500, -1},
771 { 415, 416, 454, 456, 500, 501},
772 { 416, 417, 455, 457, 501, 502},
773 { 417, 418, 456, 458, 502, 503},
774 { 418, 419, 457, 459, 503, 504},
775 { 419, 420, 458, 460, 504, 505},
776 { 420, 459, 461, 505, 506, -1}, // 460
777 { 421, 460, 462, 507, 508, -1},
778 { 421, 422, 461, 463, 508, 509},
779 { 422, 423, 462, 464, 509, 510},
780 { 423, 424, 463, 465, 510, 511},
781 { 424, 425, 464, 466, 511, 512},
782 { 425, 426, 465, 467, 512, 513},
783 { 426, 466, 468, 513, 514, -1},
784 { 427, 467, 469, 515, 516, -1},
785 { 427, 428, 468, 470, 516, 517},
786 { 428, 429, 469, 471, 517, 518},
787 { 429, 430, 470, 472, 518, 519},
788 { 430, 431, 471, 473, 519, 520},
789 { 431, 432, 472, 474, 520, 521},
790 { 432, 433, 473, 521, 522, -1},
791 { 433, 476, 522, 523, 524, -1},
792 { 433, 434, 475, 477, 524, 525},
793 { 434, 435, 476, 478, 525, 526},
794 { 435, 436, 477, 479, 526, 527},
795 { 436, 437, 478, 480, 527, 528},
796 { 437, 438, 479, 481, 528, 529}, // 480
797 { 438, 439, 480, 482, 529, 530},
798 { 439, 481, 483, 530, 531, -1},
799 { 440, 482, 484, 532, 533, -1},
800 { 440, 441, 483, 485, 533, 534},
801 { 441, 442, 484, 486, 534, 535},
802 { 442, 443, 485, 487, 535, 536},
803 { 443, 444, 486, 488, 536, 537},
804 { 444, 445, 487, 489, 537, 538},
805 { 445, 446, 488, 490, 538, 539},
806 { 446, 489, 491, 539, 540, -1},
807 { 447, 490, 492, 541, 542, -1},
808 { 447, 448, 491, 493, 542, 543},
809 { 448, 449, 492, 494, 543, 544},
810 { 449, 450, 493, 495, 544, 545},
811 { 450, 451, 494, 496, 545, 546},
812 { 451, 452, 495, 497, 546, 547},
813 { 452, 453, 496, 498, 547, 548},
814 { 453, 497, 499, 548, 549, -1},
815 { 454, 498, 500, 550, 551, -1},
816 { 454, 455, 499, 501, 551, 552}, // 500
817 { 455, 456, 500, 502, 552, 553},
818 { 456, 457, 501, 503, 553, 554},
819 { 457, 458, 502, 504, 554, 555},
820 { 458, 459, 503, 505, 555, 556},
821 { 459, 460, 504, 506, 556, 557},
822 { 460, 505, 507, 557, 558, -1},
823 { 461, 506, 508, 559, 560, -1},
824 { 461, 462, 507, 509, 560, 561},
825 { 462, 463, 508, 510, 561, 562},
826 { 463, 464, 509, 511, 562, 563},
827 { 464, 465, 510, 512, 563, 564},
828 { 465, 466, 511, 513, 564, 565},
829 { 466, 467, 512, 514, 565, 566},
830 { 467, 513, 515, 566, 567, -1},
831 { 468, 514, 516, 568, 569, -1},
832 { 468, 469, 515, 517, 569, 570},
833 { 469, 470, 516, 518, 570, 571},
834 { 470, 471, 517, 519, 571, 572},
835 { 471, 472, 518, 520, 572, 573},
836 { 472, 473, 519, 521, 573, 574}, // 520
837 { 473, 474, 520, 522, 574, 575},
838 { 474, 475, 521, 575, 576, -1},
839 { 475, 524, 576, -1, -1, -1},
840 { 475, 476, 523, 525, -1, -1},
841 { 476, 477, 524, 526, -1, -1},
842 { 477, 478, 525, 527, -1, -1},
843 { 478, 479, 526, 528, -1, -1},
844 { 479, 480, 527, 529, -1, -1},
845 { 480, 481, 528, 530, -1, -1},
846 { 481, 482, 529, 531, -1, -1},
847 { 482, 530, 532, -1, -1, -1},
848 { 483, 531, 533, -1, -1, -1},
849 { 483, 484, 532, 534, -1, -1},
850 { 484, 485, 533, 535, -1, -1},
851 { 485, 486, 534, 536, -1, -1},
852 { 486, 487, 535, 537, -1, -1},
853 { 487, 488, 536, 538, -1, -1},
854 { 488, 489, 537, 539, -1, -1},
855 { 489, 490, 538, 540, -1, -1},
856 { 490, 539, 541, -1, -1, -1}, // 540
857 { 491, 540, 542, -1, -1, -1},
858 { 491, 492, 541, 543, -1, -1},
859 { 492, 493, 542, 544, -1, -1},
860 { 493, 494, 543, 545, -1, -1},
861 { 494, 495, 544, 546, -1, -1},
862 { 495, 496, 545, 547, -1, -1},
863 { 496, 497, 546, 548, -1, -1},
864 { 497, 498, 547, 549, -1, -1},
865 { 498, 548, 550, -1, -1, -1},
866 { 499, 549, 551, -1, -1, -1},
867 { 499, 500, 550, 552, -1, -1},
868 { 500, 501, 551, 553, -1, -1},
869 { 501, 502, 552, 554, -1, -1},
870 { 502, 503, 553, 555, -1, -1},
871 { 503, 504, 554, 556, -1, -1},
872 { 504, 505, 555, 557, -1, -1},
873 { 505, 506, 556, 558, -1, -1},
874 { 506, 557, 559, -1, -1, -1},
875 { 507, 558, 560, -1, -1, -1},
876 { 507, 508, 559, 561, -1, -1}, // 560
877 { 508, 509, 560, 562, -1, -1},
878 { 509, 510, 561, 563, -1, -1},
879 { 510, 511, 562, 564, -1, -1},
880 { 511, 512, 563, 565, -1, -1},
881 { 512, 513, 564, 566, -1, -1},
882 { 513, 514, 565, 567, -1, -1},
883 { 514, 566, 568, -1, -1, -1},
884 { 515, 567, 569, -1, -1, -1},
885 { 515, 516, 568, 570, -1, -1},
886 { 516, 517, 569, 571, -1, -1}, // 570
887 { 517, 518, 570, 572, -1, -1},
888 { 518, 519, 571, 573, -1, -1},
889 { 519, 520, 572, 574, -1, -1},
890 { 520, 521, 573, 575, -1, -1},
891 { 521, 522, 574, 576, -1, -1},
892 { 522, 523, 575, -1, -1, -1} // 576
893 };
894
895 for (Int_t i=0; i<577; i++)
896 (*this)[i].SetNeighbors(nn[i][0], nn[i][1], nn[i][2],
897 nn[i][3], nn[i][4], nn[i][5]);
898}
Note: See TracBrowser for help on using the repository browser.