/[PAMELA software]/gpamela/history/v_100.txt
ViewVC logotype

Contents of /gpamela/history/v_100.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3.2 - (show annotations) (download)
Thu Dec 5 10:17:42 2002 UTC (22 years ago) by pamela
Branch: MAIN
CVS Tags: v3r1
Changes since 3.1: +44 -2 lines
File MIME type: text/plain
Update CAS and CALO geometries and positions. Makefile updated as well

1 #
2 # $Id: v_100.txt,v 3.1.1.1 2002/07/11 16:01:59 cafagna Exp $
3 #
4 # $Log: v_100.txt,v $
5 # Revision 3.1.1.1 2002/07/11 16:01:59 cafagna
6 # First GPAMELA release on CVS
7 #
8 #
9 #CMZ : 3.00/00 11/02/2002 20.05.23 by Unknown
10 #CMZ : 2.03/00 06/11/2000 02.14.56 by Francesco Cafagna
11 #CMZ : 2.02/00 12/10/2000 19.22.54 by Francesco Cafagna
12 #CMZ : 2.01/01 05/04/2000 14.37.24 by Marialuigia Ambriola
13 #CMZU: 2.01/00 05/04/2000 09.51.04 by Unknown
14 #CMZ : 2.00/00 03/03/2000 15.22.27 by Francesco Cafagna
15 #CMZ : 1.02/00 15/02/2000 10.19.51 by Francesco Cafagna
16 #CMZ : 1.01/00 23/05/96 16.59.29 by Francesco Cafagna
17 #CMZ : 1.00/03 30/04/96 12.23.59 by Francesco Cafagna
18 #CMZ : 1.00/02 05/04/96 15.31.25 by Francesco Cafagna
19 #CMZ : 1.00/01 28/11/95 18.51.23 by Francesco Cafagna
20 #-- Author : Francesco Cafagna 28/11/95
21
22 4 November 2002, Bari
23
24 CAS detectors distances modified
25
26 The distances between the CAS detectors has been modified based on the
27 latest CAD drawings.
28
29 2 November 2002, Bari
30
31 CALORIMETER geometry upgrade
32
33 The volumes CAPD and CAAD have been taken off from the calorimeter.
34 In addition the logical tree has been slightly changed to make the shifts of
35 the silicon planes into the calorimeter box easier, i.e. the CAPL volume,
36 which was made of the CASI, CAKP, CAGL, C10C and CAKA volumes, has
37 been split up in the volumes CANS and CAPL. Now CANS is made of the CAKP,
38 CAGL, C10C and CAKA volumes while CAPL contains the CASI volume, that has to
39 be shifted as a function of the vertical position in the calorimeter. Also the
40 dimensions of some volumes have been upgraded, including the external ones:
41 CALB and CALS. CALS is an aluminum box of dimensions: 48.4*48.4*21.278 cm^3,
42 having side-walls 1 cm thick and a bottom of 1 mm. The real box is more
43 complicated and the configuration of the bottom should be upgraded if we want
44 a reliable description of the event in the S4 scintillator.
45
46 22 October 2002, Stockholm
47
48 ANTICOINC. GEOMETRY UPGRADE
49
50 The AC geometry has been updated. The top AC scintillator (CAT) now
51 consists of 1 single sheet of scintillator with a hole in the middle
52 and the correct geometry(*). The side AC scintillators (CAS) also
53 have the correct shape. The AC scintillators are placed in aluminum
54 boxes with plastic rims inside. For these rims a 'new' material, PLAS,
55 was defined. PLAS has all the characteristics of SCIN but is
56 non-sensitive. No PMTs or PMT holders have been modelled.
57 (*)-The interfaces on CAT where the PMTs should be located are
58 slightly different from the real case.
59
60 11 February 2002, Bari
61
62 MACRO CLEAN-UP
63
64 Before the new release a bit of macro clean-up. Both GPEXE and
65 GPXINT in the $KUMACS directory have been cleaned. Some commented
66 out code has been deleted and the g77 option flags and libraries
67 updated.
68
69 LIBGARFIELD-7.A ADDED TO THE MACRO
70
71 The libgarfield-7.a library has been permanently added to the GPEXE
72 and GPXINT macro. So the user doesn't need to pass it through the
73 uslib macro flag.
74
75 8 February 2002, Bari
76
77 SUBROUTINE cross.f renamed crossgar.f in the GARFIELD library.
78 To avoid a bad interference between GEANT and GARFIELD due
79 to the same name adopted for two different functions, one in
80 GEANT and the other in GARFIELD, the function cross.f, in the
81 GARFIELD library, named libgarfield-7.a, has been renamed
82 crossgar.f.
83
84 5 February 2002, Bari
85
86 HIT and CWN revised for TRD
87 The TRD HIT structure has been extended to include the infos about TR
88 process. The TRD structure is now:
89 # DATA (CHTRD(I),I=1,12)/'XIN ','YIN ','ZIN ','XOUT','YOUT','ZOUT',
90 # + 'EREL','PATH','IPAR','P0 ','ETR ','NTR '/
91 #+SELF,IF=GARFIELD
92 # DATA CHTRD(13),CHTRD(14)/'EGAR','NGAR'/
93 #+SELF.
94 where ETR and NTR are respectively the energy and the number of photons
95 converted in the gas mixture in the straw tube for TR, EREL is now the
96 energy released in the straw for ionization by GEANT, which must be zero
97 when GARFIELD is on.
98 The TRD CWN structure has been modified also:
99 -ELOSTRD is the energy released for ionization by GEANT (EREL in the HIT
100 structure),
101 -ETRTRD is the energy released for TR (ETR in the HIT structure),
102 -NTRTRD is the number of TR photons (NTR in the HIT structure),
103 -ERELTRD is now the the total energy released in a straw (the sum of
104 EGARTRD and ETRTRD).
105
106 TRANSITION RADIATION PROCESS IMPLEMENTED IN THE GPAMELA CODE
107 A new subroutine, GPXTR (called by GUSTEP), has been written to
108 generate the transition radiation (TR) spectrum in the TRD carbon fibers
109 radiators for charged tracks with a Lorentz factor greater than 100
110 (standard GEANT3.21 does not). The emission of TR spectrum, depending
111 on the atomic number and the velocity of the particle and the length of
112 the track in the radiator, is simulated following analytical formulas
113 (see for example M.L. Cherry et al., Phys. Rev. D10 (1974), 3594).
114 Once a TR spectrum is produced, it is partially absorbed by dead
115 material (radiator itself and kapton walls of the straw tubes) before
116 reaching the Xe-C02 mixture inside the straw tubes where it is partially
117 absorbed and partially transmitted. The absorbed spectrum in Xe-C02
118 is finally converted in a suitable number of TR photons of suitable energy.
119 The model of TR emission is referred to a regular radiator. Also, but not
120 only for this reason, this model of simulation was carefully tuned with TRD
121 test-beam measurements (PS and SPS at CERN).
122
123 ZEBRA MEMORY PROBLEM SOLVED IN THE JVERTX DATA STRUCTURE
124 To record the initial kinematic of a track and save it till the end
125 of the event, the elements of the vector IFLGK(IG) were put to 1 in
126 GUSTEP, where IG is the particle number in the current step. In this
127 way, the vertixes of all particles, except neutrinos, were stored in
128 the permanent data structure JVERTEX. Due to the limit in the ZEBRA
129 structural links, fixed to 64K links, the data structure JVERTEX was
130 easily exceeded in memory giving a fatal error with a crash of the
131 GPAMELA program. For this reason the IFLGK(IG) is now put to 0 for
132 each secondary particle and the particle is stored only on the
133 temporary stack JSTAK to be transported.
134
135 14 may 2001, Bari
136
137 SCALE FACTOR TO PACK THE HIT VALUE OF MOMENTUM IN TRD INCREASED
138 The FHTRD(10) scale factor applied before packing the hit value of
139 momentum in TRD has been increased from 1.E3 to 1.E7 in the GPDHIT
140 data common. With this value an accuracy of 1/10 of keV can be estimated.
141
142 9 may 2001, Bari
143
144 IONIZATION IN TRD'S STRAW TUBES SWITCHED OFF IN GEANT
145 The ILOSS,(IMULS) and IDRAY variables have been set to zero in the
146 GPXE routine (variable LOSSXE, DRAYXE (and MULSXE)). In this way the
147 energy loss for ionization in the straw tubes is generated only from
148 GARFIELD. To store the energy loss by GARFIELD in the hit structure
149 of TRD (routine GPUTRD), the IMEC control flag, which controls the
150 presence of the ionization by GEANT, has been eliminate in GPUTRD.
151 To avoid to store photons in the hit structure of the TRD it has
152 been added a control on the charge of the particle.
153
154 TRACK COMMAND CALLED BY GPGARIN
155 The track command of GARFIELD is now initialized in GPGARIN and
156 passed by user with the GAFI key.
157 With this command the options for the cluster generation can be set.
158
159 TRD IONIZATION ENERGY LOSS GENERATED NOW BY GARFIELD
160 To generate the ionization in the TRD straw tubes the HEED program
161 interfaced by GARFIELD is used (GEANT does not simulate the ionization
162 in thin layer and in the gas, correctly). The idea is that GEANT tracks
163 the particle in the gas and then passes the coordinates, translated in
164 the DRS, to GARFIELD. The GARFIELD subroutines are called by GPUTRD.
165 The energy loss and the number of clusters in TRD are stored in the
166 variables EGARTRD and NGARTRD of the CWN-tplu.
167
168 1 May 2001, Bari
169
170 GPGARIN CALLED BY UGINIT
171 The call to GPGARIN has been added in UGINIT
172
173 NEW KEY ADDED: GAFI
174
175 A new key has been added to pass the file name and logical unit to
176 be used by GARFIELD in reading in the &GAS and &CELL definition. To
177 implement the key as usual a 21 words long integer vector has been
178 added to $GPKEY and init in $GPDKEY: NGARFILE.
179
180 GAFI keyword has been defined in FFKEY routine.
181
182 As usual in FFUSER routine an action has been defined in case of
183 the *GAFI call. Simply the first word of NGARFILE is passed into
184 LUGAR variable and the remaining words converted to carachter into
185 CHGAR variable. Both LUGAR and CHGAR have been added to the GPUNIT
186 common.
187
188 GARFIELD COMMONS ADDED: $XINPUT, $INPUT
189 These sequences has been added into the GPGAR patch.
190
191 GARFIELD FILE READOUT ADDED
192 GPGAIN has been modified to add the file readout. The file logical
193 unit and name are passed to the GARFIELD routine DSNOPN to open
194 it. The LUN variable in the INPUT common is set to the LUGAR value
195 as well.
196
197 Both GARFIELD, $INPUT, and GPAMELA, $GPUNIT, sequences containing
198 the above variables have been added to the deck.
199
200 NEW FLAG ADDED: GARFIELD
201 To select all the GARFIELD code the flag GARFIELD must be used !
202
203 GPEXE AND GPXINT KUMACS UPDATED
204 To enable the use of and user flag and libraries both kumacs have
205 been updated adding the USFLAG and USLIB input variables.
206
207 ALL GARFIELD COMMONS COPIED to GPGAR
208 All the commons (sequences) from //garfield-7/commons have been
209 copied to the gPGAR patchy.
210
211 DIMENSIONS SEQUENCE ADDED TO GPGARIN
212 To avoid confusions in the PARAMETER settings, i.s. max value of
213 something, the common DIMENSIONS has been added.
214
215 30 April 2001, Bari
216
217 NEW PATCH CREATED: GPGAR
218 A new Patch has been created in the main file: GPGAR. This patch
219 should contain all the subroutines (deck) related to the
220 GPAMELA-GARFIELD (HEED) interface.
221
222 NEW DECK ADDED: GPGAIN
223 This subroutine (deck) should contain the GARFIELD initialization
224 and the readout of the init file. This file has the same structure
225 of the "macro" file used by garfield.
226 This routine has been adapted from the original GARFIELD main.
227 Several sections (Headers in the GARFIELD jargon) have been skipped.
228
229 NEW SEQUENCES ADDED: $XPRINTPLOT,$PRINTPLOT
230
231 These are used ($PRINTPLOT mainly) by GPGAIN. These have been added
232 to the GPGAR patch for the moment. Will see later if an "ad hoc"
233 patch should be created for the GARFIELD commons.
234
235 6 april 2001, Bari
236
237 A new common block, GPTOTR, has been created to store the Transition
238 Radiation (TR) informations useful for the user. The variables of this
239 common block are initialized to zero in GPUTRE, filled in the subroutine
240 GPUSTEP and declared in GPHBK for booking in the Ntuple.
241
242 The definition of the ITRSO detector has been changed in the GPSED routine:
243 NVTRD has been forced to 2 for compatibility with GPDTRD.
244
245 3 april 2001, Bari
246
247
248 28 march 2001, Bari
249
250 ITRSO has been defined as a sensitive detector in GSTMED routine and it has
251 been assigned as a detector in the JSET data structure by the GSDET routine.
252 It is because the information of the path in the kapton is needed for the
253 the transition radiation simulation. The hit parameters for this
254 detector are not defined and the hit structure is not filled by the routine
255 GPUTRD because it is not of physical interest.
256
257 20 march 2001, Bari
258
259 BUG FOUND: ISVOL, FIELDM, TMAXFD, STEMAX, EPSIL, STMIN were declared in
260 two different common blocks: GPMED and GCTMED. These variables have been
261 respectively renamed FIELDMGP, TMAXFDGP, STEMAXGP, EPSILGP, STMINGP in the
262 GPMED common block.
263
264 23 December 2000, Bari
265
266 BUG FOUND: Radiation length for nitrogen had the value for nitrogen
267 liquid instead of the nitrogen gas. It has been changed for the
268 nitrogen gas.
269
270 14 November 2000, Trieste
271
272 KAOL volume name changed into CAKA
273 GLUE volume name changed into CAGL
274 KAPT volume name changed into CAKP
275 All the subroutines referring to these volumes have been changed
276 accordingly. Now all the calorimeter's name are in the gpamela standard.
277
278 BUG FOUND: volume CG10C had a name longer than 4 letters and was confused
279 with volume CG10; fixed, CG10C volume name changed into C10C and variable
280 CG10C into C10C, all the subroutines referring to this volume and this
281 variable have been changed accordingly.
282
283 BUG FOUND: with the data card "SPTM 'W2 '" enabled gpamela crash due memory
284 fault in the case of electrons with energy greater than ~15 GeV.
285 NOT ALREADY FIXED!!! A temporary solution is to disable "SPTM 'W2 '".
286
287 ANTICOINCIDENCE UPDATED.
288 Dimension of CAS and dimension and shape of CAT changed following
289 Jens indication.
290 Added the aluminum anti-coincidence cradles.
291
292 NEW VOLUMES ADDED: CSSX, CSSY, CATH, CATF, CATO, CATP.
293 To take account of the cradles and of the new shape of CAT.
294 To allow the correct disposition of CAS two variable (CASXD,CASYD)
295 has been added.
296 The sequences: $GPGEO and $GPDGEO, as well as the routines:
297 GPCASV, GPCATV and GPDAT has been modified to take account of changement.
298 CAS quote is now different from the SPEC one: ZCAS=51.25 (ZSPEC=50.6)
299
300 6 November 2000, Trieste
301
302 NEW MACRO ADDED: GPCONDOR.KUMAC
303 The macro condor.kumac has been added to compile a non interactive
304 version of gpamela to be run under condor.
305
306 SPTM for G10C upgraded.
307 Now it is important to enable ALWAYS the SPTM 'CE ' 'SICA' 'G10C' 'W2 '
308 to obtain the correct data from calorimeter.
309
310 6 November 2000, LNGS
311 ::::::::> VERSION NUMBER UPDATED <::::::::
312 The version number has been updated to: 2.03/00.
313
314 NEW DATA CARDS ADDED: CAS, CAT, TOF, TRD, SPE, CAL, S4
315 To allow the simulation of a detector geometry without the physics,
316 i.e. hits, and/or the n-tple, new data cards have been added: CAS,
317 CAT, TOF, TRD, SPE, CAL, S4. All of them work in the same way. The
318 user can define NVOL, NPHY, NHBK for each card. These user options
319 perform:
320 - NVOL, similar to the NDET actions, the whole detector is NOT
321 simulated
322 - NPHY, just the physics is not simulated. SET, DETECTOR
323 and HITS definitions are skipped and the n-tple as well.
324 - NHBK, just the n-tple is disabled
325
326 The NVOL option does automatically set the other two, while the NPHY
327 option does set the NHBK one. The old NDET card is kept for
328 compatibility but does still have the priority on these cards,
329 i.e. if the user does requires a detector cancellation via NDET the
330 action is considered as the NVOL option and the card content is not
331 even checked. For example:
332 NDET 'TOF '
333 TOF 'NHBK'
334 Is considered as a request for TOF cancellation, the program does
335 not disable just the TOF n-tple.
336
337 As usual the $GPDKEY, $GPKEY, GPFFR and GPDAT banks and routines
338 have been modified. A new logical variable for each detector has
339 been introduced to control the NPHY action: PCAS, PCAT, PTOF, PTRD,
340 PSPE, PCAL, PS4. These variables are now controlling the definition
341 of SETS, DETECTORS and HITS into GPSED and GPHIT routines. With
342 these also the GUDIGI has been modified and the detector
343 digitization is performed if the Pxxx variable is TRUE for each
344 detector.
345
346 NOTE: S4 is not jet separated from the TOF !!!!!! So the TOF data
347 card does eliminate S4. S4 data card does nothing
348
349 30 October 2000, Trieste
350
351 CHANGED MISURE UNIT FOR CALORIMETER ENERGY
352 The energy is now stored in MIP in the entuple. 1 MIP = 108.5200 KeV obtained
353 from the Landau distribution fo the energy in the strips in the case of a
354 run of muons of 40 GeV.
355 To take account of this change $GPUCAL and $GPDHIT has been modified.
356 IMPORTANT: to obtain the correct energy value for the calorimeter the
357 Special Tracking Parameter "SICA" MUST be enabled!!
358
359 12 October 2000, LNGS
360 ::::::::> VERSION NUMBER UPDATED <::::::::
361 The version number has been updated to: 2.02/00.
362
363 NEW VOLUMES ADDED: CAPD, CAAD
364 Actually the calorimeter last plane has been substituted by the
365 read-out cards. So the plane will be replaced by two aluminum
366 support for the g10 electronics cards. So to account for this
367 modification two new volumes have been created: CAPD, CAAD. CAPD is
368 exactly the same as CAPL but it doesn't contain the glue, kapton and
369 silicon sandwich. CAAD is the absorber, CAAB, but with the tungsten
370 replaced by the aluminum.
371
372 To allow changes in the number of dummy planes the variable NCAPLD
373 has been added, it has the same function of the NCAPL one. So a
374 general loop on the number of this dummy planes has been implemented
375 in GPCALV to position them into CALB.
376
377 The sequences: $GPGEO and $GPDGEO, as well as the routines: GPDAT,
378 GPCALV, has been modified to account for the dimension calculation,
379 the definition and positioning of these new volumes respectively.
380
381 NEW DATA CARD ADDED: NCPL
382 To exclude from the simulation any calorimeter silicon plane a new
383 data card has been added: NCPL. This is an array of 44 integer, one
384 for each calorimeter plane. The user can enter the plane number
385 corresponding to the excluded one in any of this 44
386 location. Please note that the original numbering will be kept for
387 compatibility, i.e. the remaining plane will be numbered as there
388 was the full calorimeter simulation. The correspondence between the
389 random 44 data card and the plane to be excluded is done in the
390 GPDAT routine.
391 The sequences $GPKEY and $GPDKEY has been modified, routines:
392 GPDAT, GPFFR, GPCALV as well.
393
394 NEW DATA CARD ADDED: NCSI
395 To exclude from the simulation any of the 9 silicon detector in any
396 silicon calorimeter plane a new data card has been added: NCSI. It
397 works like the NCPL but having to specify 9 integer instead of
398 44. Also in this case the original numbering in the plane is
399 preserved. The same routines and sequences as for NCPL have been
400 modified
401
402 NEW DATA CARD ADDED: NCAB
403 To exclude from the simulation any of the 22 calorimeter absorber
404 planes a new data card has been added: NCAB. It works like the
405 previous two but using 22 integers. The original numbering is
406 preserved as well. The same routines and sequences as for NCPL and
407 NCSI have been modified.
408
409 11 October 2000, LNGS
410
411 Bug found in $GPMAT
412 The new material number for the detector were declared but not
413 included in the common. Fixed.
414
415 GPEXE kumac updated
416 Has been dofied to account for the ALPHA UNIX case.
417 libcrypt library has been disabled and the f77 compiler has been used as
418 default one.
419
420 10 October 2000, LNGS
421
422 GPXINT kumac updated
423 Some modification done in GPXINT. It does now consider the case ALPHA
424 UNIX and define f77 as compiler and does not use the libcrypt.
425
426 9 October 2000, Trieste
427
428 NEW VOLUMES ADDED: KAOL, KAPT, GLUE
429 An upgrade of the calorimeter structure is done; it's introduced the fine
430 structure of the plane with Kaolinita (an insulator), Kapton and Glue.
431 So to account for this modification three new volumes have been created:
432 CAKA, CAKP and CAGL.
433
434 NEW MIXTURE ADDED: W2, CERA, G10C
435 W2 is the correct tungsten/nichel/copper mixture that compose an absorber
436 plane of the calorimeter
437 CERA is Kaolinite, an electric insulator for the calorimeter
438 G10C is the mixture of the electronic cards of the calorimeter; this
439 mixture is used instead of G10 in the old volume CG10.
440
441 To implement these cards the following routines and commons have
442 been modified: GPMAT, GPMED.
443
444 3 NEW DATA CARDS added to tag tracking parameters of these new materials
445
446 With these cards is now possible to set any of the five tracking
447 parameters: TMAXFD, STEMAX, DEEMAX, EPSIL and STMIN; for each of
448 the new 3 tracking media. Every data card is a real vector of 5
449 elements, that store respectively TMAXFD, STEMAX, DEEMAX, EPSIL and
450 STMIN. These elements are passed to the GSTMED routine call in the
451 GPMED procedure.
452
453 To implement these cards the following routines and commons have
454 been modified: $GPKEY, $GPDKEY, GPDAT, GPMED, GPFFR. Each data card
455 value is initialized to -1111. in $GPDKEY. These cards are checked
456 for selection in GPMED. If these cards have been set these values
457 override the ones set by the global data cards: TMAX, STMA, DEEM,
458 EPSI, STMI; or the defaults set in GPDAT.
459
460 CHANGED DIMENSIONS OF VOLUMES FOR CALORIMETER
461 The following routines and data set are changed to take account of the
462 correct dimensions of the calorimeter: GPGEO, GPCALV, GPDAT.
463
464 6 April 2000, Bari
465 ::::::::> VERSION NUMBER UPDATED <::::::::
466 The version number has been updated to: 2.01/01.
467
468 5 April 2000, Bari
469 ::::::::> VERSION NUMBER UPDATED <::::::::
470 The version number has been set to: 2.01/00, updating all the decks.
471
472 5 April 2000, Bari
473 14 NEW DATA CARDS added to tag tracking parameters of each material.
474
475 With these cards is now possible to set any of the five tracking
476 parameters: TMAXFD, STEMAX, DEEMAX, EPSIL and STMIN; for each of
477 the fourteen tracking media. Every data card is a real vector of 5
478 elements, that store respectively TMAXFD, STEMAX, DEEMAX, EPSIL and
479 STMIN. These elements are passed to the GSTMED routine call in the
480 GPMED procedure.
481
482 To implement these cards the following routines and commons have
483 been modified: $GPKEY, $GPDKEY, GPDAT, GPMED, GPFFR. Each data card
484 value is initialized to -1111. in $GPDKEY. These cards are checked
485 for selection in GPMED. If these cards have been set these values
486 override the ones set by the global data cards: TMAX, STMA, DEEM,
487 EPSI, STMI; or the defaults set in GPDAT.
488
489
490 6 March 2000, Bari
491 PAW MEMORY incremented in GPCDES:
492 The paw memory has been set to 36.65E6 words, because of the
493 incremented maximum number of hits in the TRD (from 100 to 200).
494
495 TRD hits increased in GPCDES:
496 The maximum number of hits has been set equal to 200 instead of 100.
497 Like calorimeter, for TRD is no more necessary to modify both the
498 maximum number of hits, in sequence $GPPHIT, and the HBNAME call
499 in GPHBK routine. The CWN block is now booked directly using the
500 maximum number of hit found in the $GPPHIT parameters. If the number
501 of hits is greater than 200, the GPDTRD sets the last hit equal to 201
502 and exit. In this way all the CWN variables corresponding to this hit
503 are null for the TRD.
504
505 3 March 2000, Bari
506 GPXINT macro modified
507 This macro now save gpamela[grap].f code file instead of a simple
508 gpamela.f . This is to avoid conflicts with the GPEXE macro that
509 create the executable to be used in batch mode. Please note that
510 [grap] is tipically, 99.999% of the time, set to X11.
511
512 1 March 2000, Bari
513 New DATA CARDS PHI and THETA added:
514 These data cards have been introduced to select a range for
515 the zenith (THETA) and the azimuth (PHI).
516 With these cards the user can override the default values: [0,90]
517 and [0.360] degree, respectively for THETA and PHI, choosing its own
518 maximum and minimum values.
519 If these values are equal the generation is performed at a fixed
520 angle for all the events.
521
522 No more flat generation on cos**2(THETA)
523 The flat generation on cos**2(THETA) has been deleted in GUKINE.
524
525 29 feb 2000, Bari
526 HBOOK Filename corrected.
527 The HBOOK user filename, passed via *HBFI card, was
528 incorrect. Unwanted character were added at the end of the
529 string. It has been fixed initializing the data card variable to
530 the null string.
531
532 MEMORY incremented in GPCDES:
533 The memory of paw and geant have been increased to process
534 electrons of 200 GeV, both for interactive and not-interactive
535 case. In particular, the geant memory is set now to 3500000 words
536 and the paw memory to 35.42E6 words. This increment is taking into
537 account the augmented number of hits for the calorimeter (It is now
538 possible to store an hit for each of the 4224 calorimeter
539 channels).
540
541 Calorimeter hits increased in GPCDES:
542 To store all hits produced in the calorimeter, its maximum number
543 of hits has been set equal to its number of channels (4224). For
544 this detector is no more necessary to modify both the maximum
545 number of hits, in sequence $GPPHIT, and the HBNAME call in GPHBK
546 routine. The CWN block is now booked directly using the maximum
547 number of hit found in the $GPPHIT parameters.
548
549 Insufficient number of bits for variable CASI in GPSED:
550 The number of bits in which to pack the copy number of volume CASI is
551 now 4 instead of 3.
552
553 S4 hit structure modified.
554 Because of its position S4 was overwhelmed by particles produced in
555 the calorimeter. This caused an abnormal use of memory, for this
556 detector, having to store a number of hits larger than the
557 maximum. Now S4 hits are stored in a calorimeter-like fashion using
558 the GSCHIT routine instead of the GSAHIT one. This forces the
559 number of hit to one and sums up just the energy released into the
560 scintillator. For this purpose also the position of the energy
561 released variable has been changed placing it at the end of the hit
562 record.
563 24 FEB 2000, BARI
564 Paolo "bachetto" fixed
565 In GPDTRD the "filling" index INDEX has been substituted with I.
566
567 IRUN and IEVNT increment
568 These variables were not incremented. Now they are set initially in
569 GPDAT; initial value is the one set by RUNG GEANT general data
570 card. IEVNT is then incremented into GUTREV at the beginning of
571 each new event. IRUN is left untouched.
572
573 23 Feb 2000, Bari
574 New data card GEN enabled.
575 Data card GEN was implemented but not enabled ..... (See 20
576 Mar. 1997 notes) It has been enabled now setting XYZGEN vector to
577 -1111 in the $GPDKEY data declaration sequence for $GPKEY
578 common. In GPDAT it will check if these values have been
579 overwritten by the GEN data card and take appropriate action in
580 GUKINE.
581
582 15 Feb 2000, Bari
583 ::::::::> VERSION NUMBER UPDATED <::::::::
584 The version number has been updated in its release part: 1.02/00, is the
585 actual version.
586
587 11 Feb 2000, Bari
588 Changes in TRD geometry. GPTRDV modified.
589
590 1. Now TRSO is inside TRSI. For this, the external radius of
591 TRSI has been set equal to the external radius of TRSO. Data
592 assignment in GPGEO modified.
593 2. Each TRBS volume (the Trd Boxes for Sraw Tubes) has been shifted
594 to avoid dead spaces between two adjacent modules.
595 For this, the two lateral TRBS boxes of the planes with 3 modules have
596 been shifted of one TRSI radius, the central boxes of the planes with
597 4 modules have been shifted of an half radius while the lateral
598 boxes have been shifted of 3/2 radius.
599
600 Subroutine GSCHIT modified in GPUCAL
601 There was an error. All the quantities were cumulatively summed up
602 instead of just the energy. This caused a missalignment of the hits.
603 Now just the energy is summed up.
604
605 19 Gen. 1999, Bari
606 Paolo "bachetto" fixed
607 In GPDSPE the "filling" index INDEX has been substituted with I.
608 31 Dec. 1999, Barletta
609 TRD dimensions reviewed
610 The angular pieces have been reviewed. In the actual design they
611 are "L" shaped. Here they are simulated as square piaces 3.5x3.5 cm^2,
612 2mm thick.
613 The TRD virtual box TRDB has been reviewd as well. It is now tall:
614 10 frames plus 11 angular pieces plus one top piece.
615
616
617 30 Dec. 1999, Barletta
618 TRD dimensions reviewed
619 Based on the original Aereostudi drawings the TRFR volume dimenions
620 have been reviewd. The frame is 350mm in length, 380mm width, 4mm
621 tick. The frame itself is 35mm width.
622 The 32 straw module as an overall length of 361mm, for placement
623 easiness 360mm has been used.
624 WARNING: The angle piece is .5mm taller than the module!
625 Once again 2cm has been used instead of 2.05mm, for easiness.
626
627 5 Nov. 1999, LNGS
628 GPHBK Modified
629 The strip number is now 32 instead of 22, the CWN has been modified
630 accordingly on both long an short version.
631
632 TRD Frames added.
633 Two new volumes added: TRFR, TRFI. TRFR is the carbon fiber frame,
634 TRFI is the internal volume. These frames have been added into the
635 $GPGEO, $GPDGEO definitions and into GPTRDV routine as well.
636
637 22 Oct. 1999, Bari
638 NEW magnetic field read-out
639 Instead of a raw binary file the magnetic field has been saved into a
640 CWN-tplu stored in a RZ file. This guarantees portability between
641 different OS. In GPDAT the FIELD is read-out from the CWN.
642
643 CWN booking and filling reviewd.
644 CWN-tplue structure reviewed. All the variable names have been unified
645 and updated accordingly to the new hit structure.
646 The CWN fill has been reviewed as well.
647
648 HLON Data card introduced.
649 To select a more detailed, let's say verbose, CWN-tple a new
650 card has been introduced. Setting HLON 1, the long version will be
651 selected.
652
653 PAOLO flag declared OBSOLETE !!!
654 See the next entry.
655
656 SPE DIGI structure OBSOLETE !!!
657 The spectrometer DIGI structure has been declared obolete by the author.
658 Dr. Papini forced Dr. Cafagna to move all the routines: GPSPEHD and GPSDINI,
659 from the directory GPSPE to the newly created GPOBSOLETE one.
660 The GPDSPE common has been commented out as well.
661
662 HIT structure reviewed.
663 Hit structure has been reviewed. For all detectors the volume PAME
664 and the detector container have been deleted. So the detector
665 identifier has been reduced by two numbers.
666 Besides the SPE hit structure has been enlarged adding the IPAR
667 hit, storing the particle number.
668 The CALO hit structure has been reduced eliminating the IPA0 and
669 PA0 hits from the structure.
670 All the routines and commons pertaning to the hit structure has
671 been reviewd and updated.
672
673 21 Oct. 1999, Bari
674 DZSH data card added
675 A new data card DZSH has been added to adjust the height of the external
676 shel : SHEL.
677
678 NDET flag changed. SPHE instead of SPHI
679 The data card NDET 'SPHI' is now obsolete.
680 The data card NDET 'SPHE' is now used to select spherical or flat
681 top. Using NDET 'SPHE' one automatically delete the spherical top
682 and substituted it with a flat one.
683 TSHE name changed into TFLA
684 TSHE volume has been named into TFLA. All the subroutines
685 referring to this volume have been changed accordingly.
686
687 TSHI name changed into TSPH
688 TSHI volume has been named into TSPH. All the subroutines
689 referring to this volume have been changed accordingly.
690
691 SHEI deleted
692 SHEI is no more created neither positioned inside PAMELA.
693 GPGEO has been modified accordingly, besides the dimensions are
694 left into the $GPGEO common.
695
696 S4 quote changed
697 S4 is now automatically positioned underneath the calorimeter box.
698 ZS4 is calclulated in GPDAT
699
700 CAS dimensions and positions modified
701 CAS is now a single counter instead of Five.
702 CAS dimensions modified after PAOLO simulation and Tom design. Here
703 are the new dimensions:
704 DATA CASX/15.25,0.55,5*4.6/
705 DATA CASY/0.55,14.75,5*4.6/
706 CAS position inside PAMELA has been modified accordingly in GPGEO.
707
708 CAT dimension modified
709 CAT dimensions modified after PAOLO simulation and Tom design. Here
710 are the new dimensions:
711 DATA CATB/22.05,21.05,0.55/
712 DATA CATL/15.75,6.675,0.55/
713 DATA CATT/6.3,14.375,0.55/
714 DATA ZCAT/75.75/
715
716 SC13/4 name modified in SC21/2
717 SC13/4 name have been changed. So all the occurences of SC13/4 string have
718 been changed accordingly. This means that also the name of the
719 volumes, detectos, hits etc. etc. referring to SC13/4 have been changed
720 in SC21/2
721
722 SC2n name modified in SC3n
723 SC2n name have been changed. So all the occurences of SC2 string have
724 been changed accordingly. This means that also the name of the
725 volumes, detectos, hits etc. etc. referring to SC2n have been changed
726 in SC2n
727 .
728 S14 name modified in S22
729 S14 name have been changed. So all the occurences of S14 string have
730 been changed accordingly. This means that also the name of the
731 volumes, detectos, hits etc. etc. referring to S14 have been changed
732 to S22.
733
734 S13 name modified in S21
735 S13 name have been changed. So all the occurences of S13 string have
736 been changed accordingly. This means that also the name of the
737 volumes, detectos, hits etc. etc. referring to S13 have been changed
738 to S21.
739
740 S2n name modified in S3n
741 S2n name have been changed. So all the occurences of S2 string have
742 been changed accordingly. This means that also the name of the
743 volumes, detectos, hits etc. etc. referring to S2n have been changed
744 to S3n.
745
746 S3 name modified in S4
747 S3 name have been changed. So all the occurences of S3 string have
748 been changed accordingly. This means that also the name of the
749 volumes, detectos, hits etc. etc. referring to S3 have been changed
750 to S4.
751
752 CALO modified
753 .....
754 $GPDGEO modified
755 Magnet dimensions where wrong !!!!! Internal not bending half
756 dimension is 6.55cm. External not bending half dimension is
757 11.4cm. So now:
758 DATA MGPL/12.,11.4,4.05/
759 DATA MGPI/8.05,6.55,4.05/
760 GPGEO mod.
761 GPGEO has been modified. The TRD doesn't have an external box
762 anymore. So, volume definitions for TRDS & TRDT have been left in
763 GPTRDV but they are no more placed into PAME mother volume.
764 20 Mar. 1997, Bari
765 GPXINT update
766 Using an UNIX machine I have update GPXINT to create executable on a
767 UNIX machine. To be used on alboot I created the WORK kumac.
768
769 #GPAMELA updated
770 The pilot patchy, *GPAMELA, was updated inserting the GPHYS patchy.
771
772 GPDTOFx routien deleted
773 The old digitization routine GPDTOFx, x being 'T' 'M' 'B', has been
774 deleted in the patchy GPTOF.
775
776 CHERENKOV detector deleted
777 All the GPCHE patchy containing CHERENKOV specific code has been deleted.
778 All the other routines containing code specific for the Cherenkov
779 has been updated and the cherenkov code deleted.
780 Please note that the AEROGEL definitio are still in place.
781
782 NEW GENERATION SURFACE DEFINITION
783 The generation surface is now definited in GPDAT using the S11
784 dimentions. New variables have been added to the GPGEO common: XGEN,
785 YGEN, ZGEN, XDGEN, YDGEN; representing the origin, quote and
786 dimentions of the generation surface.
787
788 NEW DATA CARD ADDED GEN
789 With this data card the user can pass all the five above mentioned
790 geneeration surface variables.
791
792 19 Mar. 1997, Bari
793 CASD and NCAS data card gone.
794 This card are no more needed for the calorimeter.
795
796 GPDAT UPDATE
797 GPDAT has been updated checking the SSTR new data card to look for
798 new DELTA2 parameter passed.
799
800 CALO user division removed.
801 It's no more possible to choose between a whole silicon plane or
802 smaller block.
803
804 18 Mar. 1997, Bari
805 New PATCH added GPHYS
806 A new patch has been added GPHYS to store the PHYSICS related routines.
807
808 GFLUCT routine copied from GEANT code
809 The GFLUCT routine has been copied from the GEANT code. This routine
810 takes care of the energy fluctuations inside each "physics" routine
811 in GEANT.
812
813 Gaussian straggling added to the GFLUCT routine
814 The gaussian straggling has been adedd to the GFLUVT routine. This
815 routine has been modified adding at the end the Paolo Paini code to
816 calculate the straggling into the silicons detectors. The DELTA2
817 parameters needed for the calculation has been retrived from the
818 JMATE structure.
819
820 NEW CMZ flag added: NOGFLUCT
821 This new flag select the place in wich the straggling is
822 calculating. The default is into GFLUCT routine, a GEANT routine
823 miodified for us. Using this flag the straggling will be selected
824 into the GPUSPE and GPUCAL routine. This means that is calulated
825 after each step in a given detector.
826
827 User words added to JMATE structure
828 The variables needed for the gaussian straggling have been added to
829 the Silicon material definition for both calorimeter and tracking.
830
831 New data card added: SSTR
832 SSTR data card added. This word controls the gaussian straggling in
833 silicon. The first word is the straggling flag, the other two are
834 the DELTA2 for calorimeter and tracker. See $INFORM for details.
835
836 17 Mar. 1997, Bari
837 GAUSSIAN straggling added to the calorimeter
838 The gaussian straggling after the ionization losses has been adedd
839 to the calorimeter too. Before saving an hit into GPUCAL the
840 gaussian straggling has been added. This depend on the path in the
841 silicon also, the PATH variable is stored entering the volume and
842 the PATH calculated before adding the straggling.
843
844
845 Adjusting the DIGI spectrometer structure
846 The gaussian straggling has been added into the GPUSPE routine when
847 the particle is leaving the detector: IACT = 3.
848
849 15 Mar. 1997, Bari
850 NEW hits for CAS and CAT
851 CAT and CAS hits are now the same as the TOF.
852 TIME and P0 has been added to the hit structure.
853 All the routine involved, GPDCAS and CAT, GPUCAS and CAT, GPHBK and
854 the commons $GPCAS, $GPCAT have been modified, as well.
855
856
857
858 6-7 Mar. 1997, Bari
859
860 NEW geometry for TRD
861 TRD geometry has been reviewed. There are no more three different
862 sets of straw tube, depending on the lenght, but just one
863 lenght. Besides the box containing the straws and radiator has been
864 changed. Here is the new geometrical tree:
865
866 MOTHER SUBVOLUME NAME DESCRIPTION
867 TRDS No subvolume TRD external aluminum shell
868 TRDT No subvolume TRD TOP and BOTTOM aluminum cover
869 TRDB TRD Box, internal gas volume
870 TRBS TRd Box for Sraw, contains the 32
871 straws and a radiator "pillow" on
872 top
873 TRRA TRd RAdiator, just one extra plane
874 on top of the TRD straw pyramid
875 TRBD TRSO TRd Straw Out, external mylar straw
876 tube, 32 volumes placed on two
877 shifted line
878 TRRA TRd RAdiator, placed on top of
879 these two straw layers
880 TRSO TRSI TRd Straw Internal, internal gas
881 volume
882 Please note that the TRBS geometry is now totally changed. The two
883 straw layers aren't placed on the middle of the volume anymore. They are
884 placed on the bottom of the TRBS, this to accomodate more easly a
885 geometry with a double radiator layer on top and no radiator on bottom.
886
887 Sets and detectors definition have been updated with the new structure.
888
889 NEW geometry for the MAGNET
890 The magnet geometry has been reviewed diminuishing the internal window.
891
892 NEW geometry for CALORIMETER
893 The calorimeter structure has been "rationalized". All the different
894 possibilities of having a block or a full plane structure and the
895 division inside each block, have been thrown away. There is now a
896 basic block consituted of a 8x12 cm^2 silicon paddle, divided in 22
897 stripes. This because the three 8x8cm^2 silicon blocks will be bound
898 with stripes having one and an half lenght of the basic block.
899
900 Besides there are no more X & Y planes but a single plane type that,
901 once rotated and turned over, plays the role of the Y view plane. This
902 configuration is more easy to handle for the PAMELA calorimeter case,
903 where the first plane is just a Y one and the last one a X.
904
905 In detail, the way in wich the geometry for the calorimeter is
906 calculated and definited:
907 - The box height is subdivided in NPLAN division
908 - This height is reduced by the height of the absorber
909 - The result is divided by two, this represent the height of an active
910 plane: CAPL
911 - The calorimeter silicon paddles, CASI are placed into
912 CAPL.
913 - The calorimeter box is filled with CASI, rotated and flipped
914 for Y view, interleaved with the absorber.
915
916 NEW hit added for the calorimeter
917 The momemtum module has been added as hit for the calorimeter too.
918 All the routines have been changed consequently.
919
920 NEW geometry for the TRACKER.
921 The tracker geometry has been changed. In particular the ladder
922 supports are now two carbon fiber rods placed on the left and right
923 sided of each ladder. The roacell and kapton plane have been
924 eliminated.
925
926 NEW parameter for the TRACKER digitization
927 Paolo updated the tracker DIGIt parameter using the ones calculated on
928 the basis of the PSI test beam.
929 Some small bugs in the digitization routines have been fixed as well.
930
931 NEW detectors quote.
932 Each detector has now the quote from the mechanical drawings. There is
933 no more autocalculation of these position. In particulare the quotes are:
934 ZS11 =107.8
935 ZS12 =106.8
936 ZS13 =74.9
937 ZS14 =74.1
938 ZS21 =27.1
939 ZS22 =26.3
940 ZS3 =2.3
941 ZCAT =75.75
942 ZTRD =90.55
943 ZSPEC=50.6
944 ZCAL =13.05
945 These are the quote of the MARS of each detectors, means that half
946 detector height has been added to each quote.
947
948 NEW top shell
949 The top shell is no more a sphere but is a flat cylinidrical plane.
950
951 NEW variables usefull for the geometry definition
952 In particular the gep between the top shell and the TRD box is user
953 definited in the variable GAPTOP.
954 Is also possible to define the gap between the bottom TRD plane and
955 the TRD box: GAPTRD.
956 To keep into count the dead zone at the edge of the calorimeter paddle
957 is it possible to start subdividing the calorimeter paddle into NCASTR
958 stripes starting from CASIOFF centimeters from the paddle edge.
959 Is it also possible to define the number of calo stripes to be used:
960 NCASTR; and their width:CALSTWID.
961
962 NEW CAS and CAT geometry
963 The CAT geometry has been reviewed. Just smaller paddle has been used.
964 The CAS are now placed horizontally.
965
966 NEW Magnetic field map
967 The new magnet definition has also a new magnetic field that Paolo calculated
968
969 6 Mar. 1997, Bari
970
971 NEW geometry for TOF
972 The TOF geometry has been updated. The volume name are the same of
973 the proposal. Besides the paddle structure has been considered with the
974 carbon fiber planes that should consitute the mechanical structure
975 of the plane. Each plane but S3 should be composed of N paddle along X
976 or Y and a top and bottom layer of carbon fiber to stiffen the
977 structure. For the name we have used the proposal name for the mother box,
978 the subvolume are named as follow:
979 MOTHER SUBVOLUME NAME
980 S11 S11X , Scint paddle
981 SC11 , Carbon fiber plane
982 S12 S12Y , Scint paddle
983 SC12 , Carbon fiber plane
984 S13 S13X , Scint paddle
985 SC13 , Carbon fiber plane
986 S14 S14Y , Scint paddle
987 SC14 , Carbon fiber plane
988 S21 S21Y , Scint paddle
989 SC21 , Carbon fiber plane
990 S22 S22X , Scint paddle
991 SC22 , Carbon fiber plane
992 S3 No subvolumes
993
994 Please note that we saved the direction of measurement for the paddle name.
995 The S3 is leaved as a big scint paddle without any segmentation.
996 The number of paddle for each plane has been added into the common. So the
997 variables: NS11X,NS12Y,NS13X,NS14Y,NS21Y,NS22X; contain the number of each
998 Snnd (nn: number, d: direction) detector for each plane.
999 The $GPGEO sequence has been changed accordingly.
1000 Please note that the Snnd volume dimention are automatically calculated
1001 using the Snn, SCnn dimentions and the number of paddle to be positioned
1002 inside the Snn. As usual these calculation are preformed in GPDAT.
1003 The quote for each Snn has been added into the GPGEO common as well.
1004
1005 HIT and CWN revised for TOF
1006 The time of flight and momentum infos for the tracking particles have
1007 been added. The routine GPUTOF has a new input variable with the
1008 time-of-flight, this quantities has been added as hit no. 8. The module
1009 of the momentum has been added as hit no. 10. This is taken directly
1010 from the VECT array in GPUTOF. The TOF structure is now:
1011 DATA CHTOF/'XAVE','YAVE','ZAVE','XOUT','YOUT','ZOUT',
1012 + 'EREL','TIME','PATH','IPAR','P0 '/
1013
1014 The CWN booking and filling has been revised as well. In particulare
1015 the CWN variables for TOF block have been merged into a big vector
1016 contining all the TOF hits infos.
1017
1018 The GPDTOF routine has been created from the previous separated
1019 routine used for TOFT, TOFM, TOFB. This routine is now just filling in
1020 the CWN variables.
1021
1022 28 May. 1996, Bari
1023 BUG FIXED IN GPUSED
1024 The Paolo's stragling was not activated because the code checked on IFL
1025 variable instead of IMEC one. Fixed.
1026
1027 27 May. 1996, Bari
1028 ::::::::> VERSION NUMBER UPDATED <::::::::
1029 The version number has been updated in its level part: 1.01/01, is the
1030 actual version.
1031 22 May. 1996, Bari
1032 ::::::::> VERSION NUMBER UPDATED <::::::::
1033 The version number has been updated in its release part: 1.01/00, is the
1034 actual version.
1035 2 May - 22 May 1996, Bari
1036 BUG FIXED IN CREAGPXINT.COM
1037 The CREATE command in this OPEN-VMS command file was used after an IF
1038 statements on a new line, this caused the command to wait for a Ctrl-Z to
1039 exit, hunging up all the procedure.
1040 TWO NEW KUMACS ADDED
1041 To facilitate the GPAMELA executable build up two new MACROS have been
1042 added: GPLIB, GPEXE.
1043 The first one creates a GPLIB.OLB file containing all the GPAMELA routines
1044 but GPMAIN.
1045 The second create a GPAMELA.FOR with GPMAIN and all the routines stored in
1046 the CMZ decklist buffer. If you specify the option USER=Y at the GPEXE
1047 macro it will add all the user's action routines to your buffer. Please note
1048 that this last macro, will create the CREAGP.COM file containing all the dcl
1049 procedures to link GPAMELA, in particular the /INCLUDE option is mandatory in
1050 the link command to avoid the dummy GEANT user routines, i.e. GUKINE, to be
1051 linked instead of the GPAMELA ones.
1052
1053 CUSTOM STRAGLING ADDED TO GEANT CODE
1054 After a number of test and an "official" confirmation we reach the conclusion
1055 that the GEANT code is not fine tuned for energy stragling in silicon.
1056 Following some references (in particular see: Hall, NIM 220 (1984) 356) Paolo
1057 developed a routine to add ad hoc stragling to the energy released in silicon.
1058 This is at the moment performed in the GPUSPE routine at the hit level.
1059 Before storing the his the routines uses the path length to calculate the
1060 gaussian spread to be used to convolve the usual Landau-like energy loss
1061 distribution.
1062
1063 SPECTROMETER DIGITIZATION ADDED
1064 Paolo Papini digitization for the spectrometer has been added.
1065 In GPDSPE a call to GPSPEHD performs the digitization of the HIT.
1066 GPSPEHD calculates the charge read out from each strip in both views.
1067 NOTE: Respect to the original Paolo's code the GEANT capability in storing
1068 and retriving the geometrical informations for each detector has been
1069 used. In this way one can change the geometrical definition for the
1070 spectrometer having small or no changes on the digitization code.
1071 You can select the original Paolo's code slecting the option PAOLO.
1072
1073 GPSTSPE SUBROUTINE UPDATED
1074 For the digitization routine we need to set up special tracking parameters.
1075 The specific routine has been updated with the parameters needed.
1076
1077 DCUTESITR VARIABLE ADDED TO $GPSITR COMMON
1078 DCUTESITR variable was miss in $GPSITR common added.
1079
1080 SUBROUTINE GPRHIT UPDATE
1081 GPRHIT routine update to use GPRSHT. The first hit to be red has been added.
1082 All the calls to the GPRHIT routines have been updated as well.
1083
1084 SUBROUTINE GPRSHT ADDED
1085 This routine allows a hit retrival starting from a specific hit. Basically it
1086 is a modified version of GFHITS with an extra parameter, the first hit to be
1087 started with. It is useful if one needs to retrive the structure hit by hit.
1088
1089 INTEGER FUNCTION GPNHIT ADDED
1090 An integer function GPNHIT has been added to count the number of hits
1091 stored in the HITS structure for CSET set and CDET detector.
1092
1093 UGINIT ROUTINE UPDATED
1094 UGINIT routine has been updated to call GPADIGI.
1095
1096 $GPSPE COMMON AND GPHBK UPDATED
1097 The common /GPSPE/ containing the spectrometer infos passed to the CWN has
1098 been updated with the DIGIT data.
1099 The booking touyine, GPHBK, has been updated as well.
1100
1101 GPSDINI UPDATED
1102 The GPSDINI routine has been update to use the newly creted commons.
1103 Besides the UDSPE vector contining the digitization user's parameters has
1104 been added, The vector length NUDSPE, i.e. the number of digitzation user's
1105 parameters, has been added as parameter in $GPPDIGI sequence.
1106
1107 COMMONS $GPDIGI, $GPDDIGI, $GPPDIGI, $GPDSPE, $GPDDSPE, ADDED
1108 The commons $GPDIGI, $GPDDIGI, $GPPDIGI, $GPDSPE, $GPDDSPE have been added.
1109 They contains the DIGI definition and bit length, for each instruments (only
1110 spectrometer filled at the moment), the DATA statements for the GPDIGI
1111 common, the parameters for the DIGI part, the DIGI parameters and quantities
1112 for the spectrometer, the DATA statements for the GPDSPE common.
1113
1114 USER'S PARAMETERS STORED IN DIGI STRUCTURE
1115 At the moment the following 19 user's parameter have been stored in the DIGI
1116 structure, please note that the conversion factors are store at first, in
1117 this way you can retrive them more easily with GFDETU:
1118 ADCX , Conversion factor charge to ADC channels for X view
1119 ADCY , Conversion factor charge to ADC channels for X view
1120 PIEDX , Pedestal for X view, in ADC channels
1121 PIEDY , Pedestal for Y view, in ADC channels
1122 ENOISX, Noise for X view, in electrons
1123 ENOISY, Noise for Y view, in electrons
1124 NPCHXY, Number of point along X and Y for integeration
1125 NPCHZ , Number of point along Z for integeration
1126 WXSTR , Strip width in X view
1127 WYSTR , Strip width in Y view
1128 D , Silicon height
1129 TVX , Diffusion temperature (Volt), X view
1130 TVY , Diffusion temperature (Volt), Y view
1131 UD , Volt (junction)
1132 UU , Volt (external)
1133 PX1 , C1-x
1134 PX2 , C2-X
1135 PY1 , C1-Y
1136 PY2 , C2-Y
1137
1138 NEW SUBROUTINE GPSDINI ADDED
1139 GPSDINI routine calculates all the qunatities needed for the spectrometer
1140 digitization routines. It calculates the capacitive coupling integrals and
1141 stores all the digitization constant, 19 at the moment, in the user reserved
1142 bank area in JSET bank.
1143
1144 NEW SUBROUTINE GPUDIGI ADDED
1145 To manage the user's action in GPADIGI the GPUDIGI subroutine has been
1146 created. It's called at the end of GPADIGI.
1147
1148 NEW SUBROUTINE GPADIGI ADDED
1149 To manage the DIGI definition for each instrument a new subroutine GPADIGI
1150 has been added. It is similar to GPHIT.
1151 Please note that the name is anomalus, it started with GPA, this is because a
1152 GPDIGI routine is used in GEANT code.
1153
1154 NEW FUNCTION GPGAUS ADDED
1155 A new real function GPGAUS have been added to generate normal distributed
1156 random number, with unitary standard deviation and centered on zero.
1157
1158 2 May. 1996, Bari
1159 GPFIL CALL MOVED IN UGINIT SUBROUTINE AND GPDUNIT ADDED
1160 To enable the user file name and LUNIT to be used opening the HBOOK file, the
1161 GPFIL call has been moved after the GFFGO one.
1162 To avoid the user filename to be overwritten, the sequence GPDUNIT has been
1163 moved from GPDAT to UGINIT.
1164
1165 NEW DATA CARD ADDED. TO MANAGE HBOOK FILE NAME
1166 To define a user HBOOK file name a new data card has been added: HBFI.
1167 The card must be used with an '*' preceding it. The user must specifies the
1168 Logical Unit number to be used.
1169 Please note that the max string length for file name is 80 characters.
1170 This card overwrites the default GPAMELA.HIS name on LUNIT=34. See $INFORM
1171 for card usage.
1172
1173 30 Apr. 1996, Bari
1174 BUG FIXED IN GUFLD
1175 A bug in GUFLD cause the magnetic filed to be interbolated with steps of 0.5
1176 cm instead of 2cm, along the Z axis. Fixed.
1177
1178 30 Apr. 1996, Bari
1179 ::::::::> VERSION NUMBER UPDATED <::::::::
1180 The version number has been updated in its level part: 1.00/03, is the actual
1181 version.
1182
1183 30 Apr. 1996, Bari
1184 USER ACTION IN SOME ROUTINES
1185 A user action has been enabled in several routine via user's dummy routines.
1186 The new routines added are: GPUDAT, GPUFFR, GPUFIL, GPUGEO, GPUHBK, GPUHIT,
1187 GPUINI, GPUKIN, GPULAS, GPUMAT, GPUMED, GPUOUT, GPUSED, GPUSTEP, GPUTRA,
1188 GPUTRE.
1189 The control is passed from the following routines: GPDAT, GPFFR, GPFIL,
1190 GPGEO, GPHBK, GPHIT, UGINIT, GUKINE, UGLAST, GPMAT, GPMED, GUOUT, GPSED,
1191 GUSTEP, GUTRAK, GUTREV.
1192 Routines: GPUKIN, GPUSTEP, GPUTRA, GPUTRE, are called twice in the main
1193 routine. A flag is passed with value 1 or 2 depending on the call sequence.
1194 More detailes in the routines' comment.
1195
1196 29 Apr. 1996, Bari
1197 GSCIN ROUTINE RENAMED
1198 The GSCIN routine, to set the special tracking parameter for scintilators,
1199 has the same name of an inner GEANT routine, not reported in the manual (!).
1200 This routine has been renamed to GPSCINT now.
1201
1202 BUG FIXED IN GUSTEP
1203 Sometimes a particle is stopped by GEANT having an energy released in the
1204 step. In GUSTEP the mechanisms LOSS and STOP were looked for in a
1205 complementary way causing mainly a delta ray stopped having an energy release
1206 to not be counted in the hit.
1207 Now a particle is considered for the hit filling if:
1208 1. Ionization present
1209 2. Particle stopped for Electrons (Delta)
1210 3. Ionization present and particle stopped for Electrons (Delta).
1211
1212 BUG FIXED IN GPHBK
1213 The IMTPAR and IBTPAR were mistyped in defining TOFM and TOFB blocks.
1214
1215 BUG FIXED IN GPMED
1216 The tracking parameters were not backuped for each material separately.
1217 So if a parameter was changed once the changed one was used in the folowing
1218 calls to GPMED.
1219 Now each parameter has is own tracking parameter set.
1220
1221 MODS IN GPMED
1222 Now only parameters selected with the AUTM data cards are passed as negative.
1223
1224 NEW DATA CARDS ADDED
1225 To manage the tracking parameter 6 new data cards have been added:
1226 AUTM, TMAX, STMA, DEMA, EPDI, STMI.
1227 With AUTM is possible to tag tracking parameter for automatic calculation in
1228 GEANT regardless of AUTO value, i.e. they are passed negative to GSTMED.
1229 With the cards TMAX, STMAX, DEMA, EPDI, STMI is possible to pass the value
1230 for the respective tracking parameter: TMAXFD, STEMAX, DEEMAX, EPSIL, STMIN.
1231 (See GEANT manual at CONS200-1).
1232 See $INFO patchy for usage examples.
1233 15 Apr. 1996, Bari
1234 ::::::::> VERSION NUMBER UPDATED <::::::::
1235 The version number has been updated in its level part: 1.00/02, is the actual
1236 version.
1237
1238 5 Apr. 1996, Bari
1239
1240 NEW DATA CARD ADDED: HPAK
1241 To select a specific hadronic intercation program a new data card ha been
1242 added: HPAK. Specifing: HPAK 'FLUK'; in your .FFR file, you will select the
1243 FLUKA package for the hadronic interaction.
1244
1245 USER HADRONIC ROUTINES ADDED
1246 The routines: GUPHAD, GUHADR; have been added into /GPAMELA directory.
1247 These routine are called every time there is an hadronic intercation. Action
1248 to control hadronic process can be performed in these routines.
1249
1250 BUGS FIXED IN GUKINE
1251 The two +SELF statement required to select the non interactive or debug state
1252 had a bad logic. Fixed.
1253
1254 BUG FIXED IN GPDCAL
1255 The NUMD1 and NUMV1 vectors, required in case of the NO stripes division,
1256 were declared REAL instead of INTEGER.
1257
1258 4 Apr. 1996, Bari
1259
1260 GPDAT UPDATED
1261 The GPDAT routines has been upadate to use the GPLOOK function and the
1262 routines to manage the special tracking parameters. I hope is more clean now.
1263
1264 NEW SUBROUTINES ADDED.
1265 The following desks have been added: GPAMELA/GPAL,GPAMELA/GPN2G,GPCAL/GPG10,
1266 GPCAL/GPW,GPCAL/GPSICA,GPSPE/GPFE,GPSPE/GPKAP,GPSPE/GPROA,GPSPE/GPCP,
1267 GPSPE/GPSITR,GPTRD/GPTRAD,GPTRD/GPXE,GPTOF/GPSCIN,GPCHE/GPAER.
1268 These to manage the Special tracking parameter for each detector. The user
1269 have to change the parameter in these routines now.
1270
1271 NEW FUNCTION GPLOOK ADDED
1272 This function is TRUE if a 4 letter string is found into an integer
1273 vector. Is a mask on GLOOK.
1274
1275 NEW HIT ADDED, PARTICLE NUMBER
1276 To help in studing the interaction inside the TOF, the anticoincidence
1277 detectors and the delta rays productions inside the TRD a new word in the
1278 HITS structures for this detector. It is the particle number.
1279 It is added at the end of the structure. No compression have been requested.
1280
1281 GPUxxx AND GPDxxx ROUTINES REVIEWED
1282 To accomodate the enlarged hit structure for some detectros the GPUxxx
1283 routines are now called with and extra input word. The CALL sequnece and
1284 the SUBROUTINEs definition have been changed. The change being implemented
1285 on all the GPUxxx routines foreseeing a possible use of the particle numbers
1286 for the other detectors.
1287 Just the GPDxxx routines corresponding to the detector with the new hits
1288 structure have been changerd.
1289
1290 GPHBK ROUTINE AND $GPTOF, $GPTRD, $GPCAS AND $GPCAT COMMONS UPDATED
1291 The CWN structure has been updated including the id number of the particle
1292 producing the hit. This has been done for TOF, CAT, CAS and TRD detectors.
1293 The common storing the CWN variables have been updated as well.
1294
1295 3 Apr. 1996, Bari
1296 NEW VOLUME CONTROL ADDED TO NDET DATA CARD
1297 With NDET data card is now possible to eliminate the inner shell, SHEI.
1298 As usual NDET 'SHEI', will cancel the SHEI and TSHI volumes from the
1299 simulation. The $INFORM patchy has been updated as well.
1300
1301 INNER SHELL ADDED
1302 To simulate the inner shell, to vent PAMELA, proposed by russian guys two
1303 volumes have been added: TSHI, SHEI.
1304 The latter being a tube, having the same height of the external one but
1305 a radius 2cm smaller. The former being a dome sector having the same radius
1306 of the external one but the lower opening angle of just 5degree.
1307 The shells thickness have been set to 0.1cm. As for TSHE case the maximum
1308 theta angle of the spherical sector and its position inside PAME is
1309 calculated on the base of SHEI dimention.
1310
1311 GEOMETRY REVIEWED
1312 The shell thickness was 1cm, corrected to 0.1cm.
1313 The CAS X&Y positions were calculated on the base of CATB dimentions; they
1314 are now calculated on the base of the CAS dimentions. In this way the
1315 anticoincidence counters are placed around the spectrometer and there is no
1316 uncovered space between them.
1317 The quote of the top tof is now calculated not counting the cherenkov if
1318 this ddetector is not requested.
1319
1320 2 Apr. 1996, Bari
1321 NEW VOLUME ADDED
1322 The TSHE volume has been added. It's the satellite dome.
1323 At the moment the radius is 130mm. The opening angle is calculated on the
1324 base of SHEL volume dimentions.
1325
1326 UPDATED GDRAWS ROUTINE ADDED
1327 To draw a spherical sector an updated GDRAWS routine to draw SPHE volume have
1328 been added into /GPAMELA directory. Respect to the standard routine is able
1329 to draw spherical segment.
1330
1331 28 Mar. 1996, Bari
1332 BUG FIXED IN GPSED
1333 In defining the TRD detectors the TRSn volume mane were used instead of the
1334 actual TBSn to specify the TrdBoxStraw
1335
1336 BUGS FIXED IN GPDTOFx
1337 In these routines the NTHTPADx variables have been substituted by NTHTOFx.
1338 The latter being the actual variables use to book the CWN-tple.
1339
1340 BUGS FIXED IN GPHBK
1341 The ERCAT & ERCAS variables where mistyped in ERRCAT & ERRCAS. Bugs fixed.
1342
1343 BUG FIXED IN GPSED
1344 The bin to be used to store the detector number CASI and CSNW were calculate
1345 from the NCASIX*NCASIY number. The actual number is twice the latter because
1346 we have X & Y view. Now the number of bins is calculated from 2*NCASIX*NCASIY
1347
1348 27 Mar. 1996, Bari
1349 BUGS FIXED IN GPDxxx
1350 In the GPD routines referring to set zith multiple detector a bug was
1351 found. The hits were read shifted by the number of hits of the previous
1352 detector. This end-up with an abnormal number of zeros, and to the absence
1353 of certain detector numbers.
1354
1355 25 Mar. 1996, Bari
1356 BUG FIXED IN GUFLD
1357 The GUFLD routine calculate the magnetic field in a volume with all the
1358 coordinates positive, then calculate the actual field mirroing the field
1359 component. To actual position is compared to a grid of not decimal value.
1360 This comparison were made using the actual position value not the absolute
1361 value. This have been fixed now.
1362
1363 WARNING PRINTOUT IN GPDxxx AND GPRHIT
1364 The warning printouts have been update adding the run and event number, in
1365 the GPDxxx and GPRHIT routine.
1366
1367 20 Mar. 1996, Bari
1368 COMPILATION WARNING REDUCED
1369 The GPDxxx routine have been modified to avoid IF acting on parameter.
1370 The IF is used to check a remote error on SET and DET definition.
1371 The IF acts on two integer now. This will avoid the compilation warnings.
1372 LINK WARNING REDUCED
1373 More dummy routine added in CRAGPXINT to simulate some MULTINET routines.
1374 The errors now are reducet to one warning linking the no-MULTINET case.
1375
1376 19 Mar. 1996, Bari
1377 LINK WARNING REDUCED
1378 The CREAGPXINT VMS script has been modified.
1379 The CERNLIB command parameter sequence has been modified and the undefined
1380 symbols errors on PACKLIB reduced to 1 for MULTINET case, and to the MULTINET
1381 related routine to the non multinet one.
1382
1383 BUG FIND IN GUSTEP IN LOOKING FOR THE MECHANISM ACTIVE
1384 The NAMEC vector in GCTRAK common doesn't contain the "list of the mechanism
1385 name for the current step", as they say, besides just the list of the names.
1386 So you need to look at LMEC vector to have the correct mechanisms active in
1387 the step.
1388
1389 MANAGMENT OF DELTA RAYS IN GUSTEP
1390 The delta ray were not collected in GUSTE. This because in GUSTEP we look for
1391 an ioniwation only. The energy of the delta is so low that they survive for
1392 justr a couple of step. The first one being a NULL one ( just entering the
1393 volume), in the second one the particle energy falling below threshold so
1394 having just the STOP mechanism active.
1395 Now if there is an electron and a positron and the STOP mechanism is present
1396 the IN varible is set to 2 to force the hit storage.
1397
1398 BUGS FOUND IN GPDCAL & GPUCAL
1399 In GPDCAL the last hit was retrived from the seventhn word of the vector VHIT
1400 Instead of the fourth.
1401 In GPUCAL the GSCHIT was called with 4 as latest hits to be summed up. This
1402 caused all the 4 hits to be summed up, the correct value for this is 1.
1403
1404 NEW MATERIAL DEFINITED: SILICON CA
1405 Due to the fact that we can select special parameter in GEANT for each
1406 tracking media, more tracking media cannot refer to the same material.
1407 Infact GEANT will append the special parameter to the material structure. Due
1408 to this two materials have been definited for the tracker and the calorimeter
1409 silicon: SILICON CA, SILICON TR.
1410 The SILICON TR has the number 21 and 22 the other. The tracking media
1411 corresponding to this materials now point to each material separately.
1412 The new material numbers are:
1413 17. Plast. sci: H 50%, C 50% , Rho=1.032 g/cm**3 from P.D.Book
1414 18. G10 : SiO2 60%, Epoxy 40%, Rho=1.7 g/cm**3 from P.D.Book
1415 Epoxy from CRC handbook (Raw estimation)
1416 19. N2 (Gas) : A=14.01, Z=7, Rho=1.25 g/l
1417 20. Silicon TR: A=28.09, Z=14,Rho=2.33 g/cm**3, X0=9.36 from P.D.Book
1418 21. Silicon CA: A=28.09, Z=14,Rho=2.33 g/cm**3, X0=9.36 from P.D.Book
1419 22. Xenon : A=131.29, Z=54,Rho=5.858 g/l, X0=1447.6cm from P.D.Book
1420 23. TRD rad. : Carbon fiber with density 0.060 g/cm**3, used in TS93
1421 24. Aerogel : A=96.11, Z=54 (Comp. n(SiO2)+2n(H2O)), Rho=.2g/cm**3 (Ave.),
1422 X0=150 cm, from P.D.Book
1423
1424 CALO HITS STRUCTURE CHANGED AGAIN
1425 The calorimeter set 'CAL ' have been definited and two detector in it:
1426 'CAST', 'CASN'. Corresponding to the strip in the plane with and without
1427 tungsten respectively.
1428 The routine GPSED, GPHIT, GUSTEP, GPDCAL have been updated.
1429
1430 TRD GEOMETRY UPDATED
1431 The TRD has a new geometry. There are three different straw lenghts.
1432 Besides the 32 straws set are 6x4, 5x4, 4x4, starting from the top.
1433 So the volume TRBS, TRSO, TRSI, TRRA have been deleted and the TBSx, TSOx,
1434 TSIx, TRAx (x being 1,2,3 respectively) have been created.
1435 The set structure has been revised as well. The set 'TRD ' has been left
1436 but tree detector have been definited for this set.
1437 The corresponding identifier in /GPSED/ common have been created.
1438 The routines GPTRDV, GPDTRD, GPSED, GPHIT have been updated to the new
1439 geometry.
1440
1441 14 Mar. 1996, Bari
1442 TRACKING MEDIA PARAMETER UPDATED FOR SICA, W AND G10 MEDIA
1443 The tracking media parameter STEMAX has been set to .5 for SICA and .15 for W
1444 and G10 following the M. Masini & M.P. De PAscale suggestion.
1445
1446 CHANGES IN GPTMED ROUTINE
1447 To allow the automatic calculation of non critical parameters for tracking
1448 media, the tracking media default value, initialized in GPDAT, have been
1449 turned to negative value. In this way they are automatically calculated by
1450 GEANT also if you select AUTO 0.
1451
1452 DATA CARD SPTM ADDED TO MANAGE SPECIAL TRACKING PARAMETER
1453 To manage the special tracking parameter definition the SPTM card have been
1454 added. As usual specifying a tracking material as data card argument will
1455 force an action in GPDAT. Here the SPTM data words are scanned and the
1456 parameter for the selected medium are changed.
1457 SPTM option are: 'AL ', 'G10 ', 'N2G ', 'W ', 'FE ', 'KAP ', 'TRAD',
1458 'ROA ', 'CP ', 'SCIN', 'SICA', 'SITR', 'XE ', 'AER '.
1459 NOTE: The parameter must been CHARACTER*4
1460
1461 SPECIAL TRACKING PARAMETER MANAGEMENT
1462 To manage different settings of tracking parameter specialized for each
1463 tracking media a routine has been added: GPSPTM; and a common as
1464 well:/GPSPTM/. (In //GPAMELA/GPAMELA and //GPAMELA/GPCDES respectivelly)
1465 In the sequence $GPDSPTM all the available GEANT tracking media parameter are
1466 initializated to -111., for all the 14 media definited in GPAMELA.
1467 In GPDAT these parameter are changed. In GPSPTM the GSTPAR GEANT routine is
1468 called only if the corrisponding parameter to be changed is different from
1469 -111.
1470 For the moment only the SICA and W media has been changed following M. Masini
1471 & M.P. De Pascale suggestions.
1472
1473 13 Mar. 1996, Bari
1474 HOUSEKEEPING OF CALO ROUTINES
1475 Some bugs were found into GPCALV. The Y view plane is now rotated,
1476 wasn't before.
1477
1478 CHERENKOV DETECTOR MOVED
1479 The CHE variable has been forced to FALSE in GPDAT. This will cause
1480 the skiping of all the CHE definition.
1481
1482 MAX NUMBER OF HITS CHANGED
1483 The max number of hits to be retrived for each detector is changed.
1484 It's no more the same but the calorimeter, now the GPPHIT sequence
1485 contains the NHMxxx parameter, xxx being the detector name. Thie paremeter
1486 is used in the corresponding GPDxxx routine and stored into the generic NHM
1487 variable.
1488 The CWN definition in GPHBK routine has been changed accordingly.
1489
1490 CALO HITS STRUCTURE CHANGED
1491 GEANT doesn't understand if two detector with the same name depend from
1492 sets. It just doesn't consider them detectors. This is the case for CASI or
1493 CAST in CAL and CANW.
1494 Now a new detector has been introduced CANW to describe the NO tungsten
1495 calorimeter plane case.
1496
1497 12 Mar. 1996, Bari
1498 HCNW DATA CARD ADDED
1499 A data card to control the CWN booking and filling has been added.
1500 HCWN 1
1501 will enable the CWN booking and filling of the group corresponding to the
1502 detector in use.
1503 This measn that the CWN will not be enable for the detector deleted with the
1504 NDET card.
1505 The DATA card check is performed in GPDAT. The UGINIT, GPHB, GUOUT, UGLAST
1506 routines has been updated considering this new data card.
1507
1508 THE NCWN PARAMETER ADDED.
1509 The CWN number is now passed into a parameter filled up in the sequence
1510 GPPNTP. This sequence contains the record size and the number of the standard
1511 n-tple. The routine the n-tpla is called from are been updated as well, i.e.
1512 GPHBK, GPOUT.
1513
1514 SPETCROMETER DIMENTIONS CHANGED
1515 Following Paolo I have changed some magnet and tracker ladders dimentions.
1516 Here follow the changes:
1517 SPEB/12.1,11.6,0./,MGPL/12.1,11.6,4./,MGPI/8.1,7.1,4./,TRPB/12.1,11.6,0.4/
1518 TRPL/8.,7.,0.4/,TRSL/0.,7.,0./,TSPA/0.,3.5,0.015/,TSKP/2.6666,7.,0.0025/
1519 TRCP/8.,7.,0.015/,TRRP/8.,7.,0.25/,NTRSL/3/
1520
1521 11 Mar. 1996, Bari
1522 HITS STRUCTURE FILL UP CHANGED
1523 The HIT structure is now filled only if there is an ionization loss into the
1524 corresponding detector.
1525 The SAVE logical ha been added to all the GPUxxx routines. This is switched
1526 TRUE if an ionization has been encountered.
1527 This action to avoid the gamma to be counted.
1528
1529 MAGNET DIMENTIONS UPDATED
1530 The magnet dimentions have been updated following Paolo Papini update.
1531 Here are the new dimentions: SPEB/12.1,11.6,0./,MGPL/12.1,11.6,4./,
1532 MGPI/8.1,7.1,4./,TRPB/12.1,11.6,0.35/
1533
1534 28 Feb. 1996, Bari-Rome
1535 REVIEW OF THE HITS RETRIVAL PROCEDURE
1536 The GIUDIGI routine has been created. There is a call for each instrument.
1537 The corresponding routines are named GPDxxx, xxx being the detector name.
1538 Each routine simply call GPRHIT, a genral pourpuse routine that retrives the
1539 hit structure corresponding to the IS-th and ID-th set and detector.
1540 Each routine needs the GPRHIT sequence containing the arrays to be passed to
1541 the GPRHIT routine.
1542 The GPPHIT sequence has been updated adding new parameter to fiw the maximum
1543 number of hits to be read for each detector.
1544 The GPHBK routine has been changed accordingly.
1545
1546 21 Feb. 1996, Bari
1547 CHANGE IN CAL HIT STRUCTURE
1548 After the GPAMELA meeting in Bari, the CAL hist structure have been reduced.
1549 Due to the great number of tracks we will be deling with following an e.m.
1550 shower, is it convinient to have just the XYZ coordinates of the origin of
1551 the detector, i.e. the strip, instead of the IN and OUT coord.
1552 The Path lenght is meaningless as well.
1553
1554 GPHBK UPDATES & HBOOK CWN SEQUENCE ADDED
1555 The GPTOFT, GPTOFM, GPTOFB, GPCHE, GPTRD, GPCAT, GPCAS, GPSPE, GPCAL
1556 sequences have been added. These commons conting the variable to be stored
1557 into the standard CWN ntple filled by GPAMELA.
1558 The GPHBK routine have been updated accordling, both INTER and -INTER cases
1559 have been considered.
1560
1561 20 Feb. 1996, Bari
1562 NEW SEQUENCES ADDED.
1563 THE GPCDES/$GPUNIT & $GPDUNIT, have been added.
1564 The commons contining the logical unit numbers and the file name for all the
1565 files open from GPAMELA have been stored.
1566
1567 16 Feb. 1996, Bari
1568 MAGNETIC FIELD ADDED
1569 The GPFIELD patchy has been added. The GUFLD routine as well.
1570 This routine call FIN3 to interpolated the mangetic field value red from the
1571 GPFIELD.MAP. This file is red into GPDAT routine, it's opened into GPFIL and
1572 closed in GULAST.
1573
1574 13 Feb. 1996, Bari
1575 CALO DIVISION AND CONTROL CARD ADDED
1576 To create calorimeter divisions a DATA CARD word is checked. Using:
1577 GEOM 'DCAL'
1578 will force the CALDIV variable in /GPKEY/ to TRUE and the CASI detector,
1579 CAlorimeter SIlicon paddle, will be divided into NCALSTR division along X
1580 axis.
1581 The new volume will be called CAST, CAlorimeter STrip.
1582
1583 12 Feb. 1996, Bari
1584 NEW VOLUME ADDED
1585 To correctly simulate the aluminium shell the SHEL volume has been added with
1586 the previous PAME dimention. The PAME volume is now a full tube filled uo
1587 with nitrogen.
1588
1589 8 Feb. 1996, Bari
1590 NEW CALORIMETER GEOMETRY
1591 After the PAMELA week in Dec. 95 the calorimeter geometry has been changend.
1592 No more two silicon layer glued back to back and place into a ceramic support
1593 but a sandwich of two G10 planes interleaved with a radiator, tungsten, plate
1594 supports two planes of silicon "chips". The Y view is place on the top of
1595 this layer and the X on the back. This simplifies the calorimeter geometry
1596 gratly. It is now definited just one volume, CASI, for the silicon 6x6 cm^2
1597 chip. These volumes are place on the top and back sandwich plane into che
1598 CAPL volume that simulate a clorimeter plane.
1599 Due to the still indefined number of chips for each plane two variable, NCISX
1600 and NCISY, have been definited to fix the number of si chips along X and Y
1601 dimentions respectively. The CAPL, CALB volume dimentions are calculate
1602 accordling. Besides the variable DCASIX & DCASIY have been introduced to take
1603 care of the distance between two chip along X and Y view.
1604
1605 CAS VARIABLE NAME CHANGED
1606 The name of the vector with the side anticoincidence counters, CAS, have been
1607 changed from CAS to CASP
1608
1609 NEW ROUTINES FOR CAS AND CAT GEOMETRY DEFINITION
1610 The CAT and CAS, anticoincidence counters, volume definition have been moved
1611 from GPTOFV routine to GPCATV and GPCASV, brand new routines. In this way is
1612 much more easy to exclude these detectors from the simulation (see NEW KEY
1613 "NDET" DEFINITED note).
1614
1615 NEW KEY "NDET" DEFINITED
1616 A new user data card has been definited: NDET.
1617 Its action is to exclude single detector from the simulation.
1618 It has 7 values: TOF, CHE, TRD, CAT, CAS, SPE, CAL.
1619 NOTE. This has to be character*4 !!!!!!
1620 Usage:
1621 NDET 'TOF ' 'SPE '
1622 the previous line in the DATA CAD file, will exclude from the simulation the
1623 TOF, TOP, MIDDLE and BOTTOM ones, and the whole spectrometer, i.e. silicon
1624 ladders and magnet planes.
1625 Please note, for the SPE case the magnetic field is not excluded, the MAGN
1626 data card is responsible for switching on or off the magnetic field.
1627
1628 7 Feb. 1996, Bari
1629 MATERIAL AND TRACKING MEDIA ADDENDUM
1630 More material definited and tracking media correspondly.
1631 For general comment see the 6th of Feb. HISTORY.
1632 Please note, for the moment the KAPTON, ROACELL and CARBON FIBER materials
1633 are substituted by scintillator.
1634 Here follows the updated list:
1635
1636 17. Plast. sci: H 50%, C 50% , Rho=1.032 g/cm**3 from P.D.Book
1637 18. G10 : SiO2 60%, Epoxy 40%, Rho=1.7 g/cm**3 from P.D.Book
1638 Epoxy from CRC handbook (Raw estimation)
1639 19. N2 (Gas) : A=14.01, Z=7, Rho=1.25 g/l
1640 20. Silicon : A=28.09, Z=14,Rho=2.33 g/cm**3, X0=9.36 from P.D.Book
1641 21. Xenon : A=131.29, Z=54,Rho=5.858 g/l, X0=1447.6cm from P.D.Book
1642 22. TRD rad. : Carbon fiber with density 0.060 g/cm**3, used in TS93
1643 23. Aerogel : A=96.11, Z=54 (Comp. n(SiO2)+2n(H2O)), Rho=.2g/cm**3 (Ave.),
1644 X0=150 cm, from P.D.Book
1645
1646 The left numbers are the materiale namber has declared to GEANT.
1647
1648 Tracking media:
1649 Not sensitive:
1650 1. ALUMINIUM
1651 2. G10
1652 3. N2 GAS
1653 4. TUNGSTEN
1654 5. IRON
1655 6. KAPTON
1656 7. TRD RADIATOR
1657 8. ROACELL
1658 9. CARBON FIBER
1659
1660 Sensitive:
1661 10. SCINTILLATOR
1662 11. SICALO
1663 12. SITRACKER
1664 13. XENON
1665 14. AEROGEL
1666
1667 6 Feb. 1996, Bari
1668 NEW GEOMETRY DEFINITION
1669 After the PAMELA week the geometrical structure of the tracker has been
1670 modified. Is now possible to select the number of silicon paddle to be placed
1671 into a silicon ladder. The dimentions are scaled accordling. Change the
1672 NTRSL variable initialization into the deck //GPAMELA/GPCDES/GPDGEO,
1673 containing DATA statement for the geometry.
1674
1675 MATERIAL AND TRACKING MEDIA DEFINITION
1676 Some material has been definited, namely:
1677
1678 17. Plast. sci: H 50%, C 50% , Rho=1.032 g/cm**3 from P.D.Book
1679 18. G10 : SiO2 60%, Epoxy 40%, Rho=1.7 g/cm**3 from P.D.Book
1680 Epoxy from CRC handbook (Raw estimation)
1681 19. N2 (Gas) : A=14.01, Z=7, Rho=1.25 g/l
1682 20. Silicon : A=28.09, Z=14,Rho=2.33 g/cm**3, X0=9.36 from P.D.Book
1683 21. Xenon : A=131.29, Z=54,Rho=5.858 g/l, X0=1447.6cm from P.D.Book
1684
1685 The left numbers are the materiale namber has declared to GEANT.
1686 Tracking media have been definited as well:
1687 Not sensitive:
1688 1. ALUMINIUM
1689 2. G10
1690 3. N2 GAS
1691 4. TUNGSTEN
1692 5. IRON
1693 Sensitive:
1694 6. SCINTILLATOR
1695 7. SICALO
1696 8. SITRACKER
1697 9. XENON
1698
1699 The numbers are the tracking media ones.
1700 The tracking media parameter has been initialized into GPDAT routine but
1701 EPSIL. This is a critical parameter and define the tracking precision. M.
1702 Boezio suggested to set it as 1% of the volume thickness. This is way this
1703 parameter is set directly into GPMED routine, where the tracking media are
1704 definited. Please note that for the aluminium the value of 10 microns have
1705 been used.
1706 Here there are the tracking parameter used as user default:
1707 FIELDM = 40.
1708 TMAXFD = 1.
1709 STEMAX = 100.
1710 DEEMAX = 0.05
1711 STMIN = 0.0005
1712 The FFIELD variable, switching ON or OFF the magnetic field, is definited via
1713 the DATA card MAGN
1714
1715 28 Nov. 1995, Gran Sasso
1716 FILE ORGANIZATION
1717 The CMZ file GPAMELA has been created. The overall structure of $HISTORY,
1718 $INFORM, $VERSION and the pilot patchy *GPAMELA has been created.

  ViewVC Help
Powered by ViewVC 1.1.23