/[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.13 - (hide annotations) (download)
Mon Jun 5 13:56:17 2006 UTC (18 years, 8 months ago) by pamela
Branch: MAIN
Changes since 3.12: +18 -2 lines
File MIME type: text/plain
Gigantic resonance added for gamma enetering in the calorimeter absorber

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

  ViewVC Help
Powered by ViewVC 1.1.23