/[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.4 - (hide annotations) (download)
Wed Dec 17 11:32:50 2003 UTC (21 years, 2 months ago) by pamela
Branch: MAIN
CVS Tags: v4r0
Changes since 3.3: +113 -10 lines
File MIME type: text/plain
CALO SIMULATION COMPLETED: geometry and special tracking parameters updated and simulation checked by a comparison with the Trieste's standalone Monte Carlo simulation

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

  ViewVC Help
Powered by ViewVC 1.1.23