/[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.27 - (hide annotations) (download)
Tue Oct 2 17:58:32 2007 UTC (17 years, 4 months ago) by cafagna
Branch: MAIN
CVS Tags: v4r13
Changes since 3.26: +27 -1 lines
File MIME type: text/plain
Power law spectra introduced

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

  ViewVC Help
Powered by ViewVC 1.1.23