/[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.21 - (hide annotations) (download)
Tue Nov 28 10:26:15 2006 UTC (18 years ago) by pam-ba
Branch: MAIN
Changes since 3.20: +8 -3 lines
File MIME type: text/plain
S3 positioning completed

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

  ViewVC Help
Powered by ViewVC 1.1.23