/[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.8 - (hide annotations) (download)
Wed Dec 14 03:16:08 2005 UTC (19 years, 2 months ago) by cafagna
Branch: MAIN
Changes since 3.7: +44 -1 lines
File MIME type: text/plain
Neutron detector added. Geometry and GPCALOR package

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

  ViewVC Help
Powered by ViewVC 1.1.23