1 |
cafagna |
3.1 |
* |
2 |
pamela |
3.9 |
* $Id: gpdhit.inc,v 3.8 2006/05/11 00:15:51 cafagna Exp $ |
3 |
pamela |
3.2 |
* |
4 |
|
|
* $Log: gpdhit.inc,v $ |
5 |
pamela |
3.9 |
* Revision 3.8 2006/05/11 00:15:51 cafagna |
6 |
|
|
* A bug in hits retrival for calorimeter |
7 |
|
|
* |
8 |
cafagna |
3.8 |
* Revision 3.7 2006/05/02 18:00:10 cafagna |
9 |
|
|
* Bugs fixed in TOF set definition, TOF hit back to the original naming scheme |
10 |
|
|
* |
11 |
cafagna |
3.7 |
* Revision 3.6 2006/04/10 00:07:21 cafagna |
12 |
|
|
* The P0 range in ND hit changed |
13 |
|
|
* |
14 |
cafagna |
3.6 |
* Revision 3.5 2006/04/09 23:28:55 cafagna |
15 |
|
|
* Several new things, among this: ND and CARD |
16 |
|
|
* |
17 |
cafagna |
3.5 |
* Revision 3.4 2005/12/20 12:21:04 cafagna |
18 |
|
|
* gpnd directory added along with ND files |
19 |
|
|
* |
20 |
cafagna |
3.4 |
* Revision 3.3 2005/06/21 02:42:09 cafagna |
21 |
|
|
* Major modification to the geometry and to the random number chain |
22 |
|
|
* |
23 |
cafagna |
3.7 |
* Revision 3.2 2003/12/17 11:32:49 pamela CALO SIMULATION COMPLETED: |
24 |
|
|
* geometry and special tracking parameters updated and simulation |
25 |
|
|
* checked by a comparison with the Trieste's standalone Monte Carlo |
26 |
|
|
* simulation |
27 |
cafagna |
3.3 |
* |
28 |
pamela |
3.2 |
* Revision 3.1.1.1 2002/07/11 16:01:59 cafagna |
29 |
|
|
* First GPAMELA release on CVS |
30 |
cafagna |
3.1 |
* |
31 |
|
|
* |
32 |
|
|
* |
33 |
|
|
* gpdhit.inc |
34 |
|
|
* |
35 |
|
|
*CMZ : 3.00/00 25/01/2002 16.54.40 by Marialuigia Ambriola |
36 |
|
|
*CMZ : 2.03/00 31/10/2000 09.49.36 by Francesco Cafagna |
37 |
|
|
*CMZ : 2.01/00 05/04/2000 14.35.17 by Marialuigia Ambriola |
38 |
|
|
*CMZ : 2.00/00 25/02/2000 19.00.48 by Francesco Cafagna |
39 |
|
|
*CMZ : 1.02/00 22/10/99 15.38.16 by Francesco Cafagna |
40 |
|
|
*CMZ : 1.00/02 04/04/96 15.41.47 by Francesco Cafagna |
41 |
|
|
*-- Author : Francesco Cafagna 13/02/96 |
42 |
|
|
* |
43 |
|
|
* Data block for GPHIT common |
44 |
|
|
* |
45 |
|
|
#if defined(GPAMELA_INTER) |
46 |
|
|
* Interactive case. The average position inside the set has been stored |
47 |
|
|
DATA CHTOF/'XAVE','YAVE','ZAVE','XOUT','YOUT','ZOUT', |
48 |
cafagna |
3.7 |
+ 'EREL','TIME','PATH','IPAR','P0 '/ |
49 |
cafagna |
3.1 |
C ML: |
50 |
|
|
C DATA CHTRD/'XAVE','YAVE','ZAVE','XOUT','YOUT','ZOUT', |
51 |
|
|
C + 'EREL','PATH','IPAR','P0 '/ |
52 |
|
|
DATA (CHTRD(I),I=1,12)/'XAVE','YAVE','ZAVE','XOUT','YOUT','ZOUT', |
53 |
|
|
+ 'EREL','PATH','IPAR','P0 ','ETR ','NTR '/ |
54 |
|
|
C END ML. |
55 |
|
|
DATA CHCAT/'XAVE','YAVE','ZAVE','XOUT','YOUT','ZOUT', |
56 |
|
|
+ 'EREL','TIME','PATH','IPAR','P0 '/ |
57 |
|
|
DATA CHCAS/'XAVE','YAVE','ZAVE','XOUT','YOUT','ZOUT', |
58 |
|
|
+ 'EREL','TIME','PATH','IPAR','P0 '/ |
59 |
|
|
DATA CHSPE/'XAVE','YAVE','ZAVE','XOUT','YOUT','ZOUT', |
60 |
|
|
+ 'EREL','PATH','IPAR','P0 '/ |
61 |
cafagna |
3.4 |
DATA CHND/ 'XAVE','YAVE','ZAVE','XOUT','YOUT','ZOUT', |
62 |
cafagna |
3.5 |
+ 'EREL','TIME','PATH','IPAR','P0 '/ |
63 |
|
|
DATA CHCARD/'XAVE','YAVE','ZAVE','XOUT','YOUT','ZOUT', |
64 |
|
|
+ 'EREL','TIME','PATH','IPAR','P0 '/ |
65 |
cafagna |
3.1 |
#endif |
66 |
|
|
#if !defined(GPAMELA_INTER) |
67 |
|
|
DATA CHTOF/'XIN ','YIN ','ZIN ','XOUT','YOUT','ZOUT', |
68 |
cafagna |
3.7 |
+ 'EREL','TIME','PATH','IPAR','P0 '/ |
69 |
cafagna |
3.1 |
C ML: |
70 |
|
|
C DATA CHTRD/'XIN ','YIN ','ZIN ','XOUT','YOUT','ZOUT', |
71 |
|
|
C + 'EREL','PATH','IPAR','P0 '/ |
72 |
|
|
DATA (CHTRD(I),I=1,12)/'XIN ','YIN ','ZIN ','XOUT','YOUT','ZOUT', |
73 |
|
|
+ 'EREL','PATH','IPAR','P0 ','ETR ','NTR '/ |
74 |
|
|
C END ML. |
75 |
|
|
DATA CHCAT/'XIN ','YIN ','ZIN ','XOUT','YOUT','ZOUT', |
76 |
|
|
+ 'EREL','TIME','PATH','IPAR','P0 '/ |
77 |
|
|
DATA CHCAS/'XIN ','YIN ','ZIN ','XOUT','YOUT','ZOUT', |
78 |
|
|
+ 'EREL','TIME','PATH','IPAR','P0 '/ |
79 |
|
|
DATA CHSPE/'XIN ','YIN ','ZIN ','XOUT','YOUT','ZOUT', |
80 |
|
|
+ 'EREL','PATH','IPAR','P0 '/ |
81 |
|
|
C ML: |
82 |
cafagna |
3.4 |
DATA CHND/ 'XIN','YIN','ZIN','XOUT','YOUT','ZOUT', |
83 |
cafagna |
3.5 |
+ 'EREL','TIME','PATH','IPAR','P0 '/ |
84 |
|
|
DATA CHCARD/'XIN ','YIN ','ZIN ','XOUT','YOUT','ZOUT', |
85 |
|
|
+ 'EREL','TIME','PATH','IPAR','P0 '/ |
86 |
|
|
|
87 |
cafagna |
3.1 |
C +SELF. |
88 |
|
|
#endif |
89 |
|
|
#if defined(GPAMELA_GARFIELD) |
90 |
|
|
DATA CHTRD(13),CHTRD(14)/'EGAR','NGAR'/ |
91 |
|
|
#endif |
92 |
|
|
C END ML. |
93 |
|
|
DATA CHCAL/'XAVE','YAVE','ZAVE','EREL'/ |
94 |
cafagna |
3.3 |
DATA CHCALI/'MAP ','ESTR'/ |
95 |
cafagna |
3.1 |
* No packing required for the last CAL hit to use the GSCHIT routine |
96 |
|
|
DATA NBHTOF/NHTOF*32/,NBHTRD/NHTRD*32/, |
97 |
|
|
+ NBHCAT/NHCAT*32/,NBHCAS/NHCAS*32/,NBHSPE/NHSPE*32/, |
98 |
cafagna |
3.8 |
+ NBHCAL/NHCAL*32/,NBHCALI/NHCALI*32/,NBHND/NHND*32/, |
99 |
|
|
+ NBHCARD/NHCARD*32/ |
100 |
cafagna |
3.1 |
* The coordinates have to be always positive. We need microns for XYZ and eV. |
101 |
|
|
* Time is in second but we need psec. |
102 |
|
|
DATA OHTOF/6*100.,0.,0.,0.,0.,0./, |
103 |
|
|
*ML: |
104 |
|
|
* + FHTOF/6*10000.,1.E9,1.E12,10000.,1.,1.E3/ |
105 |
cafagna |
3.7 |
+ FHTOF/6*10000.,1.E9,1.E12,10000.,1.,1.E3/ |
106 |
cafagna |
3.1 |
*END ML. |
107 |
|
|
C ML: |
108 |
|
|
C DATA OHTRD/6*100.,0.,0.,0.,0./, |
109 |
|
|
C + FHTRD/6*10000.,1.E12,10000.,1.,1.E3/ |
110 |
|
|
#if !defined(GPAMELA_GARFIELD) |
111 |
|
|
DATA OHTRD/6*100.,0.,0.,0.,0.,0.,0./, |
112 |
|
|
+ FHTRD/6*10000.,1.E12,10000.,1.,1.E7,1.E12,1./ |
113 |
|
|
#endif |
114 |
|
|
#if defined(GPAMELA_GARFIELD) |
115 |
|
|
DATA OHTRD/6*100.,0.,0.,0.,0.,0.,0.,0.,0./, |
116 |
|
|
+ FHTRD/6*10000.,1.E12,10000.,1.,1.E7,1.E12,1.,1.E12,1./ |
117 |
|
|
#endif |
118 |
|
|
C END ML. |
119 |
|
|
DATA OHCAT/6*100.,0.,0.,0.,0.,0./, |
120 |
|
|
+ FHCAT/6*10000.,1.E9,1.E12,10000.,1.,1.E3/ |
121 |
|
|
DATA OHCAS/6*100.,0.,0.,0.,0.,0./, |
122 |
|
|
+ FHCAS/6*10000.,1.E9,1.E12,10000.,1.,1.E3/ |
123 |
cafagna |
3.5 |
DATA OHCARD/6*100.,0.,0.,0.,0.,0./, |
124 |
|
|
+ FHCARD/6*10000.,1.E9,1.E12,10000.,1.,1.E3/ |
125 |
cafagna |
3.1 |
DATA OHSPE/6*100.,0.,0.,0.,0./, |
126 |
|
|
+ FHSPE/6*10000.,1.E9,10000.,1.,1.E3/ |
127 |
|
|
*EM: |
128 |
pamela |
3.2 |
*ml: 21/03/2003: |
129 |
|
|
c DATA OHCAL/3*100.,0./,FHCAL/3*10000.,1.E9/ |
130 |
|
|
cml DATA OHCAL/3*100.,0./,FHCAL/3*10000.,1.E5/ |
131 |
cafagna |
3.1 |
c DATA OHCAL/3*100.,0./,FHCAL/3*10000.,1.E9/ |
132 |
pamela |
3.2 |
DATA OHCAL/3*100.,0./,FHCAL/3*10000.,1.E9/ |
133 |
cafagna |
3.3 |
DATA OHCALI/0.,0./,FHCALI/1.,1.E9/ |
134 |
pamela |
3.2 |
*end ml. |
135 |
cafagna |
3.1 |
*END EM. |
136 |
cafagna |
3.5 |
DATA OHND/6*100.,0.,0.,0.,0.,0./, |
137 |
pamela |
3.9 |
+ FHND/6*10000.,1.E9,1.E12,10000.,1.,1.E3/ |