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

Diff of /gpamela/history/v_100.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3.2 by pamela, Thu Dec 5 10:17:42 2002 UTC revision 3.12 by pam-ba, Thu May 18 10:52:32 2006 UTC
# Line 1  Line 1 
1    
2  #  #
3  # $Id: v_100.txt,v 3.1.1.1 2002/07/11 16:01:59 cafagna Exp $  # $Id: v_100.txt,v 3.11 2006/05/11 23:53:15 cafagna Exp $
4  #  #
5  # $Log: v_100.txt,v $  # $Log: v_100.txt,v $
6    # Revision 3.11  2006/05/11 23:53:15  cafagna
7    # More bugs fixed in the CALO ntple structure filling
8    #
9    # Revision 3.10  2006/04/10 11:07:43  cafagna
10    # GEN data card updated, ZDGEN added
11    #
12    # Revision 3.9  2005/12/14 03:34:40  cafagna
13    # An update of the history and inform readme files.
14    #
15    # Revision 3.8  2005/12/14 03:16:08  cafagna
16    # Neutron detector added. Geometry and GPCALOR package
17    #
18    # Revision 3.7  2005/10/18 08:24:35  cafagna
19    # History updated
20    #
21    # Revision 3.6  2005/07/25 11:53:21  cafagna
22    # Several updates. See history for details
23    #
24    # Revision 3.5  2004/04/06 10:33:46  pamela
25    # NON-REPRODUCIBILITY problem of a GPAMELA RUN fixed; bug found and fixed filling in the hit structure of the calorimeter
26    #
27    # Revision 3.4  2003/12/17 11:32:50  pamela
28    # CALO SIMULATION COMPLETED: geometry and special tracking parameters updated and simulation checked by a comparison with the Trieste's standalone Monte Carlo simulation
29    #
30    # Revision 3.3  2002/12/05 17:27:59  pamela
31    # New GARFIELD.GAR file added and GPAMELA.FFR cleaned and updated
32    #
33    # Revision 3.2  2002/12/05 10:17:42  pamela
34    # Update CAS and CALO geometries and positions. Makefile updated as well
35    #
36  # Revision 3.1.1.1  2002/07/11 16:01:59  cafagna  # Revision 3.1.1.1  2002/07/11 16:01:59  cafagna
37  # First GPAMELA release on CVS  # First GPAMELA release on CVS
38  #  #
# Line 17  Line 48 
48  #CMZ :  1.00/03 30/04/96  12.23.59  by  Francesco Cafagna  #CMZ :  1.00/03 30/04/96  12.23.59  by  Francesco Cafagna
49  #CMZ :  1.00/02 05/04/96  15.31.25  by  Francesco Cafagna  #CMZ :  1.00/02 05/04/96  15.31.25  by  Francesco Cafagna
50  #CMZ :  1.00/01 28/11/95  18.51.23  by  Francesco Cafagna  #CMZ :  1.00/01 28/11/95  18.51.23  by  Francesco Cafagna
51  #-- Author :    Francesco Cafagna   28/11/95  #-- Author :    Francesco Cafagna   28/11/95
52    
53    May 2006, Bari & Florence
54    
55    CAL HIT STRUCTURE BUGS FIXED
56    
57       The maximum number of hit is now different for the two hit
58       structures: CALST and CALI. Vectors inizialization and HBOOK
59       ntple booking have been updated. The GPDCAL routine has been fixed
60       so to handle the case in wich hits stored are more than the maximum
61       number of hit.
62       In this case in the ntple up to the maximum number of hits will be stored.
63    
64    April 2006, Bari
65    
66    TOF GEOMETRY AND POSITIONS UPDATED AND NEW MIXTURES ADDED
67    
68       The TOF geometry has been modified. The following boxes have been
69       added: POL1, POL2 and POLY made of polystyrene, S11M, S12M, S21M,
70       S22M, S31M and S32M made of mylar, S1A, S2A and S3 made of air and
71       S1 and S2 made of aluminum. Each scintillator paddle has been put
72       in his mylar box and the other materials: air, polystyrene, and
73       aluminum have been added at their nominal positions.  According to
74       Naples people the araldite glue has been simulated has an air
75       gap. For this work two new materials: the Mylar (MYLAR) and the
76       polystyrene (POLYSTYRENE) with a density of 35 g/l have been
77       defined as a mixture.  The positions of the three bottom
78       scintillator planes that contain respectively the S12X, S22Y and
79       S32X paddles have been regulated according on their official
80       positions in PAMELA.
81    
82    Mar 2006, Bari
83    
84    GEN DATA CARD UPDATED
85    
86       To enable generation on a surface perpendicular to the XY plane,
87       GEN gata card has been updated addingh a new parameter: ZDGEN. This is
88       the dimension, along Z axis , of the generation surface. The Z
89       position will be randomply chosen according to: Z= ZDGEN*RNDM_NUMBER +
90       ZGEN, i.e. Z= GEN(6)*RNDM_NOMBER + GEN(3).
91    
92    Nov 2005, Bari
93    
94    GUHADR AND GUPHAD UPDATED
95    
96       To use GCALOR package the hadronic routines have been updated. The
97       inizialization routine call CALSIG, while the other calls GCALOR.
98    
99    NEW GPKEY ADDED: GPCALOR
100    
101       This logical has been added to enable the GCALOR package. This flag
102       is set to true in GPDAT if the data card: HPAK, is set to
103       'GCAL'. The gpkey.inc has been update accordingly.
104    
105      
106    NEUTRON DETECTOR ADDED. NEW DIR: GPND
107    
108       The neutron detector has been added. At the moment it is just the
109       geometry. The directory structure of the repository has been
110       updated as well. Dimensions has been taken from picture and
111       literature. A full upgrade to the drawing is needed.
112    
113    GCALOR PACKAGE ADDED. NEW DIRs: GPCALOR, GPCALORDES
114    
115       GCALOR package contins the CALOR simulation code and an interface
116       to use it in GEANT. The important feature for us is the usage of
117       the MICAP code. This is facused on the low energy neutron
118       simulation. for details see:
119       http://www.staff.uni-mainz.de/zeitnitz/Gcalor/gcalor.html
120       This package should be distributed with the GEANT library but is
121       not up to date. I did download the latest release and stored into
122       gpcalor directory of the gpamela tree.
123       Then I did clean up the code substituting the explicit inclusion of
124       the commons with a #include cpp directive. In parallel I did
125       extract the commons to include files having the same common name. I
126       did store the include files into a newly created directory:
127       gpcalordes.
128       The Makefile has been updated accordingly.
129       Please note that to avoid conflict with CRENLIB distribution the gcalor source file has been named gpcalor.F
130       NOTE: There are still problem due to different common sizes. In
131       particular the common MICFIL is maller in the geant library
132       libgeant.a . There the subroutines: gmorin, gmxsec, gmplxs, are
133       present and linked using a wrong version of the common. This still needs to be debuged.
134       NOTE2: The auxiliary files with the cross sections: chetc.dat.gz
135       and xsneut.dat.gz, have been added to the aux directory and moved
136       to the working directory, i.e. GPAMELA_BIN. The GCALOR routine will
137       look for CERN_ROOT environment variable. If found files are
138       searched there at first, then in the working directory. A fool
139       proof policy has to be implemented to avoid problem with
140       synchronization fo these files.
141      
142    
143    The GCALOR package
144    
145    June 2005, Bari
146    
147    TOF SCINTILLATOR PADDLES UPDATED
148    
149       The dimensions and the number of the scintillator paddles for each
150       TOF planes have been updated.
151    
152    May 2005, Bari
153    
154    Some updates on the latest modification done in the past year.
155    
156    NEW DATA CARD ADDED: HFSF
157    
158       To define a policy for the random number initial seeds
159       definition. Using this card is possible to override GEANT seeds
160       defined via NRDM card. The policy is selected according to the
161       values:
162    
163       - 1: The seeds are initialized to the initial values found in a user
164            defined file or the default file: INPUTSEED.DAT
165      
166       - 2: The seeds are initialized to the final values found in a user defined
167            file or the default file: INPUTSEED.DAT
168    
169       The case 1 must be used in case the user needs to reproduce the
170       random chain of a previous run. In this case the user can save the
171       initial seeds, used in the run he would like to reproduce, in a
172       binary file and pass the filename to the program using the *FLSF
173       data card. In case the user file is not specified the default
174       INPUTSEED.DAT will be used.
175      
176       The case 2 must be used in case the user needs to chain several
177       GPAMELA run and likes to be sure he is starting the random
178       generator using the right sequence. In this case the user must
179       specify an input binary file using the *FLSF data card, otherwise
180       the INPUTSEED.DAT file will be used.
181    
182    NEW DATA CARD ADDED: *FSFI
183    
184       Using this card the user can specify the logical unit and name of
185       the file storing the initial seeds to be used to initialize the
186       random number generator. This file must be a FORTRAN binary one
187       storing four integer numbers. The first two are the number to be
188       used in the case: HFSF=1, the other two will be used in the case:
189       HFSF=2. This file can be one created by GPAMELA or by the user
190       filled with his own seeds. For this purpose an utility program:
191       writeseeds.f, has been added in the aux directory.  In case the
192       *FSFI card is not specified the default values: 24 and INPUTSEEDS.DAT, will
193       be used as LUN and file name respectively.
194      
195    NEW DATA CARD ADDED: *LSFI
196    
197       Using this card the user can specify the logical unit and name of
198       the file storing the first and last seeds used in the GPAMELA
199       run. This file is a FORTRAN binary one. This file can be used as
200       input one specifying it in the *FSFI data card of the next GPAMELA
201       run.  In case the *LSFI card is not specified the default values: 26
202       and HBOOKFILENAME.DAT (as sepified in *HFI), will be used as LUN
203       and file name respectively.
204      
205    NEW UTILITY PROGRAMS ADDED: writeseeds.f, readseeds.f
206    
207       These new programs have been added in the aux directory. Using these a
208       user defined seed file can be created and re-read.
209    
210    NEW VOLUMES ADDED: MSHE, BSPH; PRESSURIZED CONTAINER ADDED
211    
212       Alexey Bakaldin, in MEPHI, did add the PAMELA pressurized container to
213       the simulation. He did defined new volumes filled with aluminum and
214       placed inside the mother volume. Positions have been fine tuned by
215       Marialuigia Ambriola and compared to the CAD drawings.
216       Two new volumes have been added to simulate the container:
217       - MSHE, a tube simulating the middle part of the container
218       - BSPH, the spherical bottom part of the container
219    
220       To better simulate the upper part the SHEL volume has been modified
221       into a cone. Dimentions of the top cover: TSPH, have been modified
222       accordingly.
223    
224    DETECTOR POSITIONS REVIEWED
225    
226       All detector Z positions have been reviewd to fit into the
227       simulated pressurized container.
228    
229    TRD GEOMETRY AND CALIBRATION REVIEWD
230    
231       The TRD geometry has been deeply reviewed. Using the CAD drawings
232       the carbon fiber frames have been simulated and radiator dimentions
233       corrected. For this reason the calibration done on the beam tests
234       has been revied and new sets of calibration constants calculated
235       comparing the beam test data with the GPAMELA results. The new
236       constants are about 3% larger than the previous ones.
237      
238    TRACKER GEOMETRY REVIEWED. NEW VOLUME DEFINED: THBP, TPAS, TPAI
239      
240       Thanks to Lorenzo Bonechi for the drawings and explanations. Now the
241       hybrd cards have been put into the simulation and the geometry updated
242       considering the dead zones in the silicon detectors. The hybrid zone
243       has been simulated as well. At the moment the hybrid is simulated as
244       a G10 plates. The full height of the tracker magnet has been
245       reviewed as well.
246    
247       The tracker ladder is now simulated inside a nitrogen box: TPAS,
248       placed inside an aluminum frame: TRPB. Each silicon ladder has been
249       simulated using two silicon blocks: TRSL, into each of this block a
250       smaller silicon detector: TPAI, has been placed inside the larger
251       silicon block TRSL. In this way the subdivided silicon ladder can
252       be upgraded with an indipendend roto-translation for each sensor.
253      
254       The TRPB aluminum frame has been enlarged to fit the external
255       magnet canister frame.
256      
257       The last plane has been flipped with a 180 degree rotation around
258       the X axis.
259      
260    TRACKER HIT STRUCTURE REVIEWED
261    
262       Taking into account the new version of the tracker geometry, the hit
263       structure for this detector has been revied.
264    
265    CALORIMETER GEOMETRY REVIEWED
266    
267       Marco Albi reviewed the calorimeter dimentions and positioning.
268    
269    
270    29 March 2004, Bari
271    
272    NON-REPRODUCIBILITY PROBLEM OF A GPAMELA RUN FIXED.
273       The non-reproducibility of a GPAMELA run was due to the random number
274       initialization in the GARFIELD code. In GARFIELD by default, the initial
275       seeds of the random number generators are always the same while the random
276       number generators are called a given number of times (determined by the
277       hour of the day) during the initialization phase (see init.f subroutine in
278       the GARFIELD code for details). Follows that different runs produce
279       different results without changing the initial seeds. To have identical
280       results in different runs, the GARFIELD program has to start typing the
281       noRNDM_initialisation switch. To avoid of specifying this switch
282       by the user,
283       the GARFIELD package has been upgraded with a patch. In this way the problem
284       is partially solved because, now, the initial seeds of the random generators
285       in GARFIELD will be always the same even if the RNDM GEANT data card is
286       activated by the user for changing the initial seeds in the GPAMELA program.
287       Work is in progress for a more general correction of this problem.
288       Please, use the updated GARFIELD code released with the CVS version v4r1
289       to fix this problem.  
290    
291    
292    RNDM ROUTINE REPLACED BY THE GRNDM ROUTINE IN GPXTR AND NPOISS.
293       The obsolete RNDM random number generator has been replaced by the GEANT
294       GRNDN routine in the gpxtr.F subroutine and in the npoiss.F function.
295    
296    BUG FOUND AND FIXED: the set and detector calorimeter addresses (ISCAL
297       and IDCASI variables) used in GUTREV were respectively set to a fixed
298       values of 12 and 1. The correct values of these variables are stored in
299       the GPSED common when the set and the detector ZEBRA banks are filled
300       during a run. In general the values of the set and detector addresses
301       depend on the number of active detectors in a given run. ISCAL=12 and
302       IDCASI=1 are only right when all the detectors of GPAMELA are active.
303    
304    9 December 2003, Bari
305    
306       CALORIMETER SIMULATION completed! The update of the geometry and of the
307       special tracking parameters and the tuning of the calorimeter have been
308       successfully done. A great quantity of simulated data have been produced
309       in the calorimeter for different particles (muons, electrons and pions)
310       and momenta (5 and 40 GeV/c) and the output data have been analyzed. The
311       distributions of the total energy deposited in the calorimeter and the
312       total number of strips hit have been compared with the respective
313       distributions produced by the Trieste's tuned standalone Monte Carlo
314       simulation program of the PAMELA calorimeter. The accord between the
315       two simulations is excellent. Many thanks to Mirko for his collaboration.
316    
317       Working in progress on TRD. The GARFIELD interface to the HEED program is not
318       optimized to track particle with a charge greater than one and photons. The
319       program print a warning message to advise the user when it is the case.
320    
321    18 April 2003, Bari
322    
323       The buffer size of each column of the GPAMELA Ntuple has been increased to
324       4096 and set equal to the record length, defined by a call to the HROPEN
325       routine.
326       Also the length of the common /PAWC/ (parameter NWPAW) has been increased
327       to 1.34E8, according to the rule that it has to be larger than the number
328       of columns times the buffer size.
329    
330    10 April 2003, Bari
331    
332       The variables in the HIT STRUCTURE of the CALORIMETER and their way to be
333       filled have been changed according to the electronics system of the real
334       detector. In fact, because each silicon detector (module) consists of
335       32 strips and each strip is connected to those belonging to the two detectors
336       of the same row (or column) for forming 24 cm long strips, the sum of the
337       deposited energies in the strips forming a `long strip' is now calculated for
338       each event (gpucal.F subroutine) and it is stored in a hit only at the
339       end of the event (gutrev.F subroutine).
340       The output variables of the GPAMELA en-tuple are then filled in the vectors
341       ICAPLANE(NTHCAL), ICASTRIP(NTHCAL), ENESTRIP(NTHCAL) and ICAMOD(NTHCAL),
342       by a call to the GPDCAL subroutine:
343       -ICAPLANE(i) contains the number of hit plane;
344       -ICASTRIP(i) contains the number of hit strip;
345       -ICAMOD(i) can assume different values based on the number of times and
346                  positions in which a `long strip' has been hit.
347       -ENESTRIP(i) contains the deposited energy in the hit strip;
348       where i is the number of hit (1<i<4224).
349       Note that in the calorimeter each hit is filled at the end of the event and
350       that there is a hit for each `long strip' hit from
351       the particle. This use of the hit structure is different for the other
352       detectors and it has been considered to avoid a too big number of hit in the
353       calorimeter due to the showers. Follows that NTHCAL, which is the
354       max number of hit in the calorimeter, is equal to 4224, the total
355       number of `long strips'. So, for each event, the real number of hit will
356       be less or equal to 4224.
357       ICAMOD(i) is an additional information that does not exist in the real
358       detector: if the strip i (i=1,32) of the module 1 or 2 or 3
359       is hit, the value of ICAMOD(i) is respectively incremented of 1, 100, 10000.
360       Analogously it is done, if it is the strip j (j=33,64) of the modules 4, 5
361       and 6 or if it is the strip k (k=65,96) of the modules 7, 8 and 9.
362       For example if we consider the hit 1 of an event, we could read:
363       ICASTRIP(1)=30, ICAPLANE(1)=21, ENESTRIP(1)=0.5E-03 and ICAMOD(1)=10001.
364       It means that the hit 1 contains the information that in the strip 30 of the
365       plane 21 has been deposited a total energy of 0.5E-03 GeV. In addition the
366       `long strip 30' has been hit two times, one in the first module and the
367       other in the third one.
368    
369       The energy deposited in the calorimeter is calculated in GeV.
370    
371       To store the hits in the calorimeter the subroutine GSAHIT is used instead of
372       GSCHIT.
373    
374       To retrieve the hit structure the call to the routine GPRHIT is done instead
375       of a call to the GFHITS subroutine.
376    
377    25 February 2003, Bari
378    
379    BUG found:
380       DCUTEAER, DCUTEAL, DCUTECE, DCUTECP, DCUTEFE, DCUTEG10C, DCUTEG10, DCUTEKAP,
381       DCUTEN2G, DCUTEROA, DCUTESCIN, DCUTESICA, DCUTETRAD, DCUTEW2,
382       DCUTEW, DCUTEXE variables missed in the commons: gpaer.inc, gpal.inc, gpce.inc,
383       gpcp.inc, gpfe.inc, gpg10c.inc, gpg10.inc, gpkap.inc, gpn2g.inc, gproa.inc,
384       gpscin.inc (obsolete), gpscint.inc, gpsica.inc, gptrad.inc, gpw2.inc, gpw.inc,
385       gpxe.inc, gpdaer.inc, gpdal.inc, gpdce.inc, gpdcp.inc, gpdfe.inc, gpdg10c.inc,
386       gpdg10.inc, gpdkap.inc, gpdn2g.inc, gpdroa.inc, gpdscin.inc, gpdsica.inc,
387       gpdtrad.inc, gpdw2.inc, gpdw.inc, gpdxe.inc.
388       They have been added in these commons and they have been initialized in the
389       GPSTM subroutine.
390    
391       Updated the special tracking parameters SICALO, TUNGA, KAOLINITE and G10C
392       in the subroutines gpsica.F, gpw2.F, gpw.F, gpce.F and gpg10c.F. They were
393       suggested by Mirko Boezio.
394    
395       Updated the value of the absorption length for silicon in the calorimeter
396       and tracker although this parameter is ignored by GEANT. For this reason
397       it was equal to the radiation length.
398    
399       Updated the relative positions of the calorimeter planes. The corrected
400       shifting are:
401    
402       first view: (Dxo,Dyo)=(0.10,0.05) cm
403       second view: (Dxo,Dyo)=(-0.05,0.10) cm
404       third view: (Dxo,Dyo)=(-0.10,-0.05) cm
405       fourth view: (Dxo,Dyo)=(0.05,-0.10) cm
406    
407  4 November 2002, Bari  4 November 2002, Bari
408    
409  CAS detectors distances modified  CAS detectors distances modified
410    
411  The distances between the CAS detectors has been modified based on the     The distances between the CAS detectors have been modified based on the
412  latest CAD drawings.     latest CAD drawings.
413    
414  2 November 2002, Bari  2 November 2002, Bari
415    
416  CALORIMETER geometry upgrade  CALORIMETER geometry upgrade
417    
418  The volumes CAPD and CAAD have been taken off from the calorimeter.     The volumes CAPD and CAAD have been taken off from the calorimeter.
419  In addition the logical tree has been slightly changed to make the shifts of     In addition the logical tree has been slightly changed to make the shifts of
420  the silicon planes into the calorimeter box easier, i.e. the CAPL volume,     the silicon planes into the calorimeter box easier, i.e. the CAPL volume,
421  which was made of the CASI, CAKP, CAGL, C10C and CAKA volumes, has     which was made of the CASI, CAKP, CAGL, C10C and CAKA volumes, has
422  been split up in the volumes CANS and CAPL. Now CANS is made of the CAKP,     been split up in the volumes CANS and CAPL. Now CANS is made of the CAKP,
423  CAGL, C10C and CAKA volumes while CAPL contains the CASI volume, that has to     CAGL, C10C and CAKA volumes while CAPL contains the CASI volume, that has to
424  be shifted as a function of the vertical position in the calorimeter. Also the     be shifted as a function of the vertical position in the calorimeter. Also the
425  dimensions of some volumes have been upgraded, including the external ones:     dimensions of some volumes have been upgraded, including the external ones:
426  CALB and CALS. CALS is an aluminum box of dimensions: 48.4*48.4*21.278 cm^3,     CALB and CALS. CALS is an aluminum box of dimensions: 48.4*48.4*21.278 cm^3,
427  having side-walls 1 cm thick and a bottom of 1 mm. The real box is more     having side-walls 1 cm thick and a bottom of 1 mm. The real box is more
428  complicated and the configuration of the bottom should be upgraded if we want     complicated and the configuration of the bottom should be upgraded if we want
429  a reliable description of the event in the S4 scintillator.     a reliable description of the event in the S4 scintillator.
430    
431  22 October 2002, Stockholm  22 October 2002, Stockholm
432    
# Line 158  TRACK COMMAND CALLED BY GPGARIN Line 543  TRACK COMMAND CALLED BY GPGARIN
543    
544  TRD IONIZATION ENERGY LOSS GENERATED NOW BY GARFIELD  TRD IONIZATION ENERGY LOSS GENERATED NOW BY GARFIELD
545     To generate the ionization in the TRD straw tubes the HEED program     To generate the ionization in the TRD straw tubes the HEED program
546     interfaced by GARFIELD is used (GEANT does not simulate the ionization     interfaced by GARFIELD is used (GEANT does not correctly simulate
547     in thin layer and in the gas, correctly). The idea is that GEANT tracks     the ionization in thin layer and in the gas). The idea is that GEANT
548     the particle in the gas and then passes the coordinates, translated in     tracks the particle in the gas and then passes the coordinates,
549     the DRS, to GARFIELD. The GARFIELD subroutines are called by GPUTRD.     translated in the DRS, to GARFIELD. The GARFIELD subroutines are
550     The energy loss and the number of clusters in TRD are stored in the     called by GPUTRD. The energy loss and the number of clusters in TRD
551     variables EGARTRD and NGARTRD of the CWN-tplu.     are stored in the variables EGARTRD and NGARTRD of the CWN-tplu.
552    
553   1 May 2001, Bari   1 May 2001, Bari
554    
# Line 242  NEW SEQUENCES ADDED: $XPRINTPLOT,$PRINTP Line 627  NEW SEQUENCES ADDED: $XPRINTPLOT,$PRINTP
627     The definition of the ITRSO detector has been changed in the GPSED routine:     The definition of the ITRSO detector has been changed in the GPSED routine:
628     NVTRD has been forced to 2 for compatibility with GPDTRD.     NVTRD has been forced to 2 for compatibility with GPDTRD.
629    
 3 april 2001, Bari  
   
   
630  28 march 2001, Bari  28 march 2001, Bari
631    
632     ITRSO has been defined as a sensitive detector in GSTMED routine and it has     ITRSO has been defined as a sensitive detector in GSTMED routine and it has

Legend:
Removed from v.3.2  
changed lines
  Added in v.3.12

  ViewVC Help
Powered by ViewVC 1.1.23