Fork me on GitHub

Changeset 61c0925 in git for cards/CMS_PhaseII_0PU.tcl


Ignore:
Timestamp:
Apr 21, 2016, 2:47:56 PM (9 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
a0236d5
Parents:
6e41190
Message:

set HGCAL/HCAL granularity same as in HGCAL/ECAL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cards/CMS_PhaseII_0PU.tcl

    r6e41190 r61c0925  
    400400  }
    401401
    402   # assume 0.05 x 0.05 resolution in eta,phi in the endcaps 1.5 < |eta| < 3.0 (HGCAL)
    403 
     402  # assume 0.02 x 0.02 resolution in eta,phi in the endcaps 1.5 < |eta| < 3.0 (HGCAL- HCAL)
     403 
    404404  set PhiBins {}
    405   for {set i -65} {$i <= 65} {incr i} {
    406     add PhiBins [expr {$i * $pi/65.0}]
    407   }
    408 
    409   # 0.05 unit in eta up to eta = 3
    410   for {set i 1} {$i <= 27} {incr i} {
    411     set eta [expr { -3.00 + $i * 0.05}]
     405  for {set i -180} {$i <= 180} {incr i} {
     406    add PhiBins [expr {$i * $pi/180.0}]
     407  }
     408
     409  # 0.02 unit in eta up to eta = 3
     410  for {set i 1} {$i <= 84} {incr i} {
     411    set eta [expr { -2.958 + $i * 0.0174}]
    412412    add EtaPhiBins $eta $PhiBins
    413413  }
    414414
    415   for {set i 4} {$i <= 30} {incr i} {
    416     set eta [expr { 1.5 + $i * 0.05}]
     415  for {set i 1} {$i <= 84} {incr i} {
     416    set eta [expr { 1.4964 + $i * 0.0174}]
    417417    add EtaPhiBins $eta $PhiBins
    418   } 
     418  }
    419419
    420420  # take present CMS granularity for HF 
     
    426426  }
    427427 
    428   foreach eta {-5 -4.7 -4.525 -4.35 -4.175 -4 -3.825 -3.65 -3.475 -3.3 -3.125 -3 3.125 3.3 3.475 3.65 3.825 4 4.175 4.35 4.525 4.7 5} {
     428  foreach eta {-5 -4.7 -4.525 -4.35 -4.175 -4 -3.825 -3.65 -3.475 -3.3 -3.125 -2.958 3.125 3.3 3.475 3.65 3.825 4 4.175 4.35 4.525 4.7 5} {
    429429    add EtaPhiBins $eta $PhiBins
    430430  }
Note: See TracChangeset for help on using the changeset viewer.