/[PAMELA software]/gpamela/history/v_100.txt
ViewVC logotype

Contents of /gpamela/history/v_100.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3.5 - (show annotations) (download)
Tue Apr 6 10:33:46 2004 UTC (20 years, 8 months ago) by pamela
Branch: MAIN
CVS Tags: v4r1, v4r2
Changes since 3.4: +38 -2 lines
File MIME type: text/plain
NON-REPRODUCIBILITY problem of a GPAMELA RUN fixed; bug found and fixed filling in the hit structure of the calorimeter

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

  ViewVC Help
Powered by ViewVC 1.1.23