Fork me on GitHub

source: git/cards/ILCgen/ILCgen_BeamCalF_Binning.tcl

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

Formating changes only...

  • Property mode set to 100644
File size: 814 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#Front part
14
15 set PhiBins {}
16 for {set i -45} {$i <= 45} {incr i} {
17 add PhiBins [expr {$i * $pi/45.0}]
18 }
19 for {set i 0} {$i <= 12} {incr i} {
20 set eta [expr {4.0 + $i * 0.5999/12.0}]
21 add EtaPhiBins $eta $PhiBins
22 }
23 set PhiBins {}
24 for {set i -16} {$i <= 16} {incr i} {
25 add PhiBins [expr {$i * $pi/18.0}]
26 }
27 for {set i 0} {$i <= 8} {incr i} {
28 set eta [expr {4.6 + $i * 1.2/8.0}]
29 add EtaPhiBins $eta $PhiBins
30 }
Note: See TracBrowser for help on using the repository browser.