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

Annotation of /gpamela/history/v_100.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3.1.1.1 - (hide annotations) (download) (vendor branch)
Thu Jul 11 16:01:59 2002 UTC (22 years, 7 months ago) by cafagna
Branch: v3r0
CVS Tags: firstrelease
Changes since 3.1: +0 -0 lines
File MIME type: text/plain
First GPAMELA release on CVS

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

  ViewVC Help
Powered by ViewVC 1.1.23