/[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.3 - (hide annotations) (download)
Thu Dec 5 17:27:59 2002 UTC (22 years, 2 months ago) by pamela
Branch: MAIN
CVS Tags: v3r3, v3r2
Changes since 3.2: +5 -2 lines
File MIME type: text/plain
New GARFIELD.CAG file added and GPAMELA.FFR cleaned and updated

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

  ViewVC Help
Powered by ViewVC 1.1.23