/[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.11 - (hide annotations) (download)
Thu May 11 23:53:15 2006 UTC (18 years, 6 months ago) by cafagna
Branch: MAIN
Changes since 3.10: +15 -1 lines
File MIME type: text/plain
More bugs fixed in the CALO ntple structure filling

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

  ViewVC Help
Powered by ViewVC 1.1.23