Fork me on GitHub

source: git/cards/ILCgen/ILCgen_ECAL_Binning.tcl@ 78e55cf

Last change on this file since 78e55cf was d192152, checked in by Aleksander Filip Zarnecki <zarnecki@…>, 4 years ago

Generic ILC detector model for Delphes. First import from iLCSoft/ILCDelphes

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[d192152]1#P.Sopicki: based on plots from D.Jeans:
2# corrected by A.F.Zarnecki
3
4set pi [expr {acos(-1)} ]
5
6# ECAL barrel
7# 0.003 segm in eta and phi(rad) - towers (5x5 mm^2) for |eta| <= 1.1
8
9# to get dphi = 0.003rad/0.17deg -> 360/0.17 /cosh(0.55) =~ 1813 -> 1800
10set PhiBins {}
11 for {set i -900} {$i <= 900} {incr i} {
12 add PhiBins [expr {$i * $pi/900} ]
13 }
14
15#
16# |eta| = 1.1, delta = 0.003 -> 733,(3) =~ 720
17 for {set i 1} {$i <= 720} {incr i} {
18 set eta [expr {-1.1 + $i * 2.2/720} ]
19 add EtaPhiBins $eta $PhiBins
20 }
21
22# ECAL endcaps
23# eta 1.1 - 2 : dphi(rad) and deta = 0.006
24# eta 2 - 2.5 : d = 0.011
25# eta 2.5 - 3 : d = 0.016
26
27#360/0.34/cosh(1.65) : ~387.9 -> 380 divisions
28#0.9/0.006: 150
29set PhiBins {}
30 for {set i -190} {$i <= 190} {incr i} {
31 add PhiBins [expr {$i * $pi/190} ]
32 }
33
34for {set i 1} {$i <= 150} {incr i} {
35 set eta [expr {-2.0 + $i * 0.9/150.0} ]
36 add EtaPhiBins $eta $PhiBins
37 }
38
39for {set i 1} {$i <= 150} {incr i} {
40 set eta [expr {1.1 + $i * 0.9/150.0} ]
41 add EtaPhiBins $eta $PhiBins
42 }
43
44#360/0.63/cosh(2.25) : ~119 -> 120 divisions
45#0.5/0.011: ~45.5 -> 48
46set PhiBins {}
47 for {set i -60} {$i <= 60} {incr i} {
48 add PhiBins [expr {$i * $pi/60} ]
49 }
50
51for {set i 1} {$i <= 48} {incr i} {
52 set eta [expr {-2.5 + $i * 0.5/48.0} ]
53 add EtaPhiBins $eta $PhiBins
54 }
55
56for {set i 1} {$i <= 48} {incr i} {
57 set eta [expr {2.0 + $i * 0.5/48.0} ]
58 add EtaPhiBins $eta $PhiBins
59 }
60
61#360/0.63/cosh(2.75) : ~50 divisions
62#0.5/0.016: ~31 -> 30
63set PhiBins {}
64 for {set i -25} {$i <= 25} {incr i} {
65 add PhiBins [expr {$i * $pi/25} ]
66 }
67
68for {set i 0} {$i <= 30} {incr i} {
69 set eta [expr {-3.0 + $i * 0.5/30.0} ]
70 add EtaPhiBins $eta $PhiBins
71 }
72
73for {set i 1} {$i <= 30} {incr i} {
74 set eta [expr {2.5 + $i * 0.5/30.0} ]
75 add EtaPhiBins $eta $PhiBins
76 }
Note: See TracBrowser for help on using the repository browser.