Fork me on GitHub

source: git/cards/CLIC/CLICdet_BeamCalR_Binning.tcl

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

New CLICdet model for 3 TeV stage, including forward calorimeters

  • Property mode set to 100644
File size: 800 bytes
Line 
1# A.F.Zarnecki, based on ILCDelphes implementation
2
3set pi [expr {acos(-1)} ]
4
5# BeamCal eta range 4.0 - 5.3 -> 2.099-0.572 =1.527deg
6#
7# Inner part (4.5-5.3): 1.273-0.347 = 0.926 deg
8# 360/0.0973/cosh(5.3) = ~36 => 32 bins (taking key hole into account!!!)
9#
10# Outer part (4.0-4.5): 2.099-1.273 = 0.826 deg
11# 360/0.0973/cosh(4.4) = ~90 => 90 bins
12# Rear part
13
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 <= 10} {incr i} {
19 set eta [expr {-4.0 - $i * 0.4999/10.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 <= 10} {incr i} {
27 set eta [expr {-4.5 - $i * 0.8/10.0}]
28 add EtaPhiBins $eta $PhiBins
29 }
Note: See TracBrowser for help on using the repository browser.