/[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.22 - (hide annotations) (download)
Tue Nov 28 11:43:41 2006 UTC (18 years, 3 months ago) by pam-ba
Branch: MAIN
Changes since 3.21: +12 -11 lines
File MIME type: text/plain
History modified

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

  ViewVC Help
Powered by ViewVC 1.1.23