Fork me on GitHub

source: git/cards/ILCgen/ILCgen_BeamCalR_Binning.tcl@ 1a8ef08

Last change on this file since 1a8ef08 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: 819 bytes
Line 
1#P.Sopicki: based on plots from D.Jeans:
2# corrected by A.F.Zarnecki
3
4set pi [expr {acos(-1)}]
5
6# BeamCal eta range 4.0 - 5.8 -> 2.099-0.347 =1.752deg
7#
8# Inner part (4.6-5.8): 1.152-0.347 = 0.805 deg
9# 360/0.0973/cosh(5.3) = ~36 => 32 bins (taking key hole into account!!!)
10#
11# Outer part (4.0-4.6): 2.099-1.152 = 0.947 deg
12# 360/0.0973/cosh(4.4) = ~90 => 90 bins
13 #Rear part
14 set PhiBins {}
15 for {set i -45} {$i <= 45} {incr i} {
16 add PhiBins [expr {$i * $pi/45.0}]
17 }
18 for {set i 0} {$i <= 12} {incr i} {
19 set eta [expr {-4.0 - $i * 0.5999/12.0}]
20 add EtaPhiBins $eta $PhiBins
21 }
22 set PhiBins {}
23 for {set i -16} {$i <= 16} {incr i} {
24 add PhiBins [expr {$i * $pi/18.0}]
25 }
26 for {set i 0} {$i <= 8} {incr i} {
27 set eta [expr {-4.6 - $i * 1.2/8.0}]
28 add EtaPhiBins $eta $PhiBins
29 }
Note: See TracBrowser for help on using the repository browser.