Fork me on GitHub

Changeset 61c0925 in git for cards


Ignore:
Timestamp:
Apr 21, 2016, 2:47:56 PM (8 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

Location:
cards
Files:
2 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  }
  • cards/CMS_PhaseII_200PU.tcl

    r6e41190 r61c0925  
    449449  }
    450450
    451   # assume 0.05 x 0.05 resolution in eta,phi in the endcaps 1.5 < |eta| < 3.0 (HGCAL)
    452 
     451  # assume 0.02 x 0.02 resolution in eta,phi in the endcaps 1.5 < |eta| < 3.0 (HGCAL- HCAL)
     452 
    453453  set PhiBins {}
    454   for {set i -65} {$i <= 65} {incr i} {
    455     add PhiBins [expr {$i * $pi/65.0}]
    456   }
    457 
    458   # 0.05 unit in eta up to eta = 3
    459   for {set i 1} {$i <= 27} {incr i} {
    460     set eta [expr { -3.00 + $i * 0.05}]
     454  for {set i -180} {$i <= 180} {incr i} {
     455    add PhiBins [expr {$i * $pi/180.0}]
     456  }
     457
     458  # 0.02 unit in eta up to eta = 3
     459  for {set i 1} {$i <= 84} {incr i} {
     460    set eta [expr { -2.958 + $i * 0.0174}]
    461461    add EtaPhiBins $eta $PhiBins
    462462  }
    463463
    464   for {set i 4} {$i <= 30} {incr i} {
    465     set eta [expr { 1.5 + $i * 0.05}]
     464  for {set i 1} {$i <= 84} {incr i} {
     465    set eta [expr { 1.4964 + $i * 0.0174}]
    466466    add EtaPhiBins $eta $PhiBins
    467   } 
     467  }
    468468
    469469  # take present CMS granularity for HF 
     
    475475  }
    476476 
    477   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} {
     477  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} {
    478478    add EtaPhiBins $eta $PhiBins
    479479  }
     480
    480481
    481482  # default energy fractions {abs(PDG code)} {Fecal Fhcal}
Note: See TracChangeset for help on using the changeset viewer.