source: trunk/MagicSoft/Mars/mgeom/MGeomCamMagic.cc@ 3038

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