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

  ViewVC Help
Powered by ViewVC 1.1.23