Changeset 5303656 in git for cards/CMS_PhaseII_0PU.tcl
- Timestamp:
- Apr 18, 2016, 3:07:24 PM (9 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- ebe36ed
- Parents:
- ff9f67fb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cards/CMS_PhaseII_0PU.tcl
rff9f67fb r5303656 294 294 295 295 set PhiBins {} 296 for {set i -1 57} {$i <= 157} {incr i} {297 add PhiBins [expr {$i * $pi/1 57.0}]296 for {set i -180} {$i <= 180} {incr i} { 297 add PhiBins [expr {$i * $pi/180.0}] 298 298 } 299 299 300 300 # 0.02 unit in eta up to eta = 1.5 (barrel) 301 for {set i - 74} {$i <= 75} {incr i} {302 set eta [expr {$i * 0.0 2}]301 for {set i -85} {$i <= 86} {incr i} { 302 set eta [expr {$i * 0.0174}] 303 303 add EtaPhiBins $eta $PhiBins 304 304 } 305 305 306 # assume 0.0 5 x 0.05 resolution in eta,phi in the endcaps 1.5 < |eta| < 3.0 (HGCAL)306 # assume 0.02 x 0.02 resolution in eta,phi in the endcaps 1.5 < |eta| < 3.0 (HGCAL- ECAL) 307 307 308 308 set PhiBins {} 309 for {set i - 65} {$i <= 65} {incr i} {310 add PhiBins [expr {$i * $pi/ 65.0}]311 } 312 313 # 0.0 5unit in eta up to eta = 3314 for {set i 1} {$i <= 30} {incr i} {315 set eta [expr { - 3.00 + $i * 0.05}]309 for {set i -180} {$i <= 180} {incr i} { 310 add PhiBins [expr {$i * $pi/180.0}] 311 } 312 313 # 0.02 unit in eta up to eta = 3 314 for {set i 1} {$i <= 84} {incr i} { 315 set eta [expr { -2.958 + $i * 0.0174}] 316 316 add EtaPhiBins $eta $PhiBins 317 317 } 318 318 319 for {set i 1} {$i <= 30} {incr i} {320 set eta [expr { 1. 5 + $i * 0.05}]319 for {set i 1} {$i <= 84} {incr i} { 320 set eta [expr { 1.4964 + $i * 0.0174}] 321 321 add EtaPhiBins $eta $PhiBins 322 322 } … … 330 330 } 331 331 332 foreach eta {-5 -4.7 -4.525 -4.35 -4.175 -4 -3.825 -3.65 -3.475 -3.3 -3.125 - 33.125 3.3 3.475 3.65 3.825 4 4.175 4.35 4.525 4.7 5} {332 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} { 333 333 add EtaPhiBins $eta $PhiBins 334 334 } … … 359 359 # for the endcaps (1.5 < |eta| < 3.0), we take HGCAL see LHCC-P-008, Fig. 3.39, p.117 360 360 361 set ResolutionFormula { (abs(eta) <= 1.50) * sqrt(energy^2*0.00 3^2 + energy*0.028^2 + 0.12^2) + \361 set ResolutionFormula { (abs(eta) <= 1.50) * sqrt(energy^2*0.005^2 + energy*0.027^2 + 0.15^2) + \ 362 362 (abs(eta) > 1.50 && abs(eta) <= 1.75) * sqrt(energy^2*0.006^2 + energy*0.20^2) + \ 363 363 (abs(eta) > 1.75 && abs(eta) <= 2.15) * sqrt(energy^2*0.007^2 + energy*0.21^2) + \ 364 364 (abs(eta) > 2.15 && abs(eta) <= 3.00) * sqrt(energy^2*0.008^2 + energy*0.24^2) + \ 365 (abs(eta) > 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.08^2 + energy*1.9 7^2)}365 (abs(eta) > 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.08^2 + energy*1.98^2)} 366 366 367 367 } … … 453 453 454 454 # set ResolutionFormula {resolution formula as a function of eta and energy} 455 set ResolutionFormula { (abs(eta) <= 1.7) * sqrt(energy^2*0.03^2 + energy*0.52^2 + 1.59^2) + \456 (abs(eta) > 1. 7 && abs(eta) <= 3.2) * sqrt(energy^2*0.05^2 + energy*0.706^2) + \457 (abs(eta) > 3.0 && abs(eta) <= 4.9) * sqrt(energy^2*0.05^2 + energy*1.00^2)}455 set ResolutionFormula { (abs(eta) <= 1.5) * sqrt(energy^2*0.05^2 + energy*1.00^2) + \ 456 (abs(eta) > 1.5 && abs(eta) <= 3.0) * sqrt(energy^2*0.05^2 + energy*1.00^2) + \ 457 (abs(eta) > 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.11^2 + energy*2.80^2)} 458 458 459 459 } … … 1377 1377 set DeltaR 0.5 1378 1378 1379 set TauPTMin 1.01380 1381 set TauEtaMax 4.01379 set TauPTMin 20.0 1380 1381 set TauEtaMax 2.3 1382 1382 1383 1383 # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt} 1384 1384 1385 add EfficiencyFormula {0} {0.01} 1386 add EfficiencyFormula {11} {0.005} 1387 add EfficiencyFormula {15} {0.6} 1385 add EfficiencyFormula {0} { (abs(eta) < 2.3) * ((( -0.00621816+0.00130097*pt-2.19642e-5*pt^2+1.49393e-7*pt^3-4.58972e-10*pt^4+5.27983e-13*pt^5 )) * (pt<250) + 0.0032*(pt>250)) + \ 1386 (abs(eta) > 2.3) * (0.000) 1387 } 1388 add EfficiencyFormula {15} { (abs(eta) < 2.3) * 0.97*0.77*( (0.32 + 0.01*pt - 0.000054*pt*pt )*(pt<100)+0.78*(pt>100) ) + \ 1389 (abs(eta) > 2.3) * (0.000) 1390 } 1388 1391 } 1389 1392
Note:
See TracChangeset
for help on using the changeset viewer.