Changeset d77b51d in git for cards/delphes_card_CMS.tcl
- Timestamp:
- Sep 29, 2015, 2:08:10 PM (9 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- a98c7ef
- Parents:
- d870fc5 (diff), 06ec139 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cards/delphes_card_CMS.tcl
rd870fc5 rd77b51d 34 34 35 35 JetEnergyScale 36 37 JetFlavorAssociation 36 38 37 39 BTagging … … 77 79 78 80 # tracking efficiency formula for charged hadrons 79 set EfficiencyFormula { (pt <= 0.1) * (0.00) + \80 (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.70) + \81 (abs(eta) <= 1.5) * (pt > 1.0) * (0.95) + \82 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.60) + \83 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.85) + \81 set EfficiencyFormula { (pt <= 0.1) * (0.00) + 82 (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.70) + 83 (abs(eta) <= 1.5) * (pt > 1.0) * (0.95) + 84 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.60) + 85 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.85) + 84 86 (abs(eta) > 2.5) * (0.00)} 85 87 } … … 96 98 97 99 # tracking efficiency formula for electrons 98 set EfficiencyFormula { (pt <= 0.1) * (0.00) + \99 (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.73) + \100 (abs(eta) <= 1.5) * (pt > 1.0 && pt <= 1.0e2) * (0.95) + \101 (abs(eta) <= 1.5) * (pt > 1.0e2) * (0.99) + \102 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.50) + \103 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0 && pt <= 1.0e2) * (0.83) + \104 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e2) * (0.90) + \100 set EfficiencyFormula { (pt <= 0.1) * (0.00) + 101 (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.73) + 102 (abs(eta) <= 1.5) * (pt > 1.0 && pt <= 1.0e2) * (0.95) + 103 (abs(eta) <= 1.5) * (pt > 1.0e2) * (0.99) + 104 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.50) + 105 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0 && pt <= 1.0e2) * (0.83) + 106 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e2) * (0.90) + 105 107 (abs(eta) > 2.5) * (0.00)} 106 108 } … … 117 119 118 120 # tracking efficiency formula for muons 119 set EfficiencyFormula { (pt <= 0.1) * (0.00) + \120 (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.75) + \121 (abs(eta) <= 1.5) * (pt > 1.0) * (0.99) + \122 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.70) + \123 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.98) + \121 set EfficiencyFormula { (pt <= 0.1) * (0.00) + 122 (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.75) + 123 (abs(eta) <= 1.5) * (pt > 1.0) * (0.99) + 124 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.70) + 125 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0) * (0.98) + 124 126 (abs(eta) > 2.5) * (0.00)} 125 127 } … … 136 138 137 139 # resolution formula for charged hadrons 138 set ResolutionFormula { (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.02) + \139 (abs(eta) <= 1.5) * (pt > 1.0 && pt <= 1.0e1) * (0.01) + \140 (abs(eta) <= 1.5) * (pt > 1.0e1 && pt <= 2.0e2) * (0.03) + \141 (abs(eta) <= 1.5) * (pt > 2.0e2) * (0.05) + \142 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.03) + \143 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0 && pt <= 1.0e1) * (0.02) + \144 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e1 && pt <= 2.0e2) * (0.04) + \140 set ResolutionFormula { (abs(eta) <= 1.5) * (pt > 0.1 && pt <= 1.0) * (0.02) + 141 (abs(eta) <= 1.5) * (pt > 1.0 && pt <= 1.0e1) * (0.01) + 142 (abs(eta) <= 1.5) * (pt > 1.0e1 && pt <= 2.0e2) * (0.03) + 143 (abs(eta) <= 1.5) * (pt > 2.0e2) * (0.05) + 144 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 1.0) * (0.03) + 145 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0 && pt <= 1.0e1) * (0.02) + 146 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e1 && pt <= 2.0e2) * (0.04) + 145 147 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 2.0e2) * (0.05)} 146 148 } … … 157 159 158 160 # resolution formula for electrons 159 set ResolutionFormula { (abs(eta) <= 2.5) * (energy > 0.1 && energy <= 2.0e1) * (energy*0.0225) + \160 (abs(eta) <= 2.5) * (energy > 2.0e1) * sqrt(energy^2*0.007^2 + energy*0.07^2 + 0.35^2) + \161 (abs(eta) > 2.5 && abs(eta) <= 3.0) * sqrt(energy^2*0.007^2 + energy*0.07^2 + 0.35^2) + \161 set ResolutionFormula { (abs(eta) <= 2.5) * (energy > 0.1 && energy <= 2.0e1) * (energy*0.0225) + 162 (abs(eta) <= 2.5) * (energy > 2.0e1) * sqrt(energy^2*0.007^2 + energy*0.07^2 + 0.35^2) + 163 (abs(eta) > 2.5 && abs(eta) <= 3.0) * sqrt(energy^2*0.007^2 + energy*0.07^2 + 0.35^2) + 162 164 (abs(eta) > 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.107^2 + energy*2.08^2)} 163 165 … … 175 177 176 178 # resolution formula for muons 177 set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1 && pt <= 5.0) * (0.02) + \178 (abs(eta) <= 0.5) * (pt > 5.0 && pt <= 1.0e2) * (0.015) + \179 (abs(eta) <= 0.5) * (pt > 1.0e2 && pt <= 2.0e2) * (0.03) + \180 (abs(eta) <= 0.5) * (pt > 2.0e2) * (0.05 + pt*1.e-4) + \181 (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1 && pt <= 5.0) * (0.03) + \182 (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 5.0 && pt <= 1.0e2) * (0.02) + \183 (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 1.0e2 && pt <= 2.0e2) * (0.04) + \184 (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 2.0e2) * (0.05 + pt*1.e-4) + \185 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 5.0) * (0.04) + \186 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 5.0 && pt <= 1.0e2) * (0.035) + \187 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e2 && pt <= 2.0e2) * (0.05) + \179 set ResolutionFormula { (abs(eta) <= 0.5) * (pt > 0.1 && pt <= 5.0) * (0.02) + 180 (abs(eta) <= 0.5) * (pt > 5.0 && pt <= 1.0e2) * (0.015) + 181 (abs(eta) <= 0.5) * (pt > 1.0e2 && pt <= 2.0e2) * (0.03) + 182 (abs(eta) <= 0.5) * (pt > 2.0e2) * (0.05 + pt*1.e-4) + 183 (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1 && pt <= 5.0) * (0.03) + 184 (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 5.0 && pt <= 1.0e2) * (0.02) + 185 (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 1.0e2 && pt <= 2.0e2) * (0.04) + 186 (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 2.0e2) * (0.05 + pt*1.e-4) + 187 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 0.1 && pt <= 5.0) * (0.04) + 188 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 5.0 && pt <= 1.0e2) * (0.035) + 189 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 1.0e2 && pt <= 2.0e2) * (0.05) + 188 190 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 2.0e2) * (0.05 + pt*1.e-4)} 189 191 } … … 212 214 set PhotonOutputArray photons 213 215 214 set ECalEnergyMin 0.5215 set HCalEnergyMin 1.0216 217 set ECalEnergySignificanceMin 1.0218 set HCalEnergySignificanceMin 1.0219 220 216 set EFlowTrackOutputArray eflowTracks 221 217 set EFlowPhotonOutputArray eflowPhotons 222 218 set EFlowNeutralHadronOutputArray eflowNeutralHadrons 219 220 set ECalEnergyMin 0.5 221 set HCalEnergyMin 1.0 222 223 set ECalEnergySignificanceMin 1.0 224 set HCalEnergySignificanceMin 1.0 225 226 set SmearTowerCenter true 223 227 224 228 set pi [expr {acos(-1)}] … … 276 280 277 281 # set ECalResolutionFormula {resolution formula as a function of eta and energy} 278 set ECalResolutionFormula { (abs(eta) <= 3.0) * sqrt(energy^2*0.007^2 + energy*0.07^2 + 0.35^2) + \282 set ECalResolutionFormula { (abs(eta) <= 3.0) * sqrt(energy^2*0.007^2 + energy*0.07^2 + 0.35^2) + 279 283 (abs(eta) > 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.107^2 + energy*2.08^2)} 280 284 281 285 # set HCalResolutionFormula {resolution formula as a function of eta and energy} 282 set HCalResolutionFormula { (abs(eta) <= 3.0) * sqrt(energy^2*0.050^2 + energy*1.50^2) + \286 set HCalResolutionFormula { (abs(eta) <= 3.0) * sqrt(energy^2*0.050^2 + energy*1.50^2) + 283 287 (abs(eta) > 3.0 && abs(eta) <= 5.0) * sqrt(energy^2*0.130^2 + energy*2.70^2)} 284 288 } … … 307 311 308 312 # efficiency formula for photons 309 set EfficiencyFormula { (pt <= 10.0) * (0.00) + \310 (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) + \311 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) + \313 set EfficiencyFormula { (pt <= 10.0) * (0.00) + 314 (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) + 315 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) + 312 316 (abs(eta) > 2.5) * (0.00)} 313 317 } … … 341 345 342 346 # efficiency formula for electrons 343 set EfficiencyFormula { (pt <= 10.0) * (0.00) + \344 (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) + \345 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) + \347 set EfficiencyFormula { (pt <= 10.0) * (0.00) + 348 (abs(eta) <= 1.5) * (pt > 10.0) * (0.95) + 349 (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0) * (0.85) + 346 350 (abs(eta) > 2.5) * (0.00)} 347 351 } … … 375 379 376 380 # efficiency formula for muons 377 set EfficiencyFormula { (pt <= 10.0) * (0.00) + \378 (abs(eta) <= 1.5) * (pt > 10.0 && pt <= 1.0e3) * (0.95) + \379 (abs(eta) <= 1.5) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) + \380 (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 10.0 && pt <= 1.0e3) * (0.95) + \381 (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) + \381 set EfficiencyFormula { (pt <= 10.0) * (0.00) + 382 (abs(eta) <= 1.5) * (pt > 10.0 && pt <= 1.0e3) * (0.95) + 383 (abs(eta) <= 1.5) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) + 384 (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 10.0 && pt <= 1.0e3) * (0.95) + 385 (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 1.0e3) * (0.95 * exp(0.5 - pt*5.0e-4)) + 382 386 (abs(eta) > 2.4) * (0.00)} 383 387 } … … 429 433 430 434 module PdgCodeFilter NeutrinoFilter { 431 435 432 436 set InputArray Delphes/stableParticles 433 437 set OutputArray filteredParticles 434 438 435 439 set PTMin 0.0 436 440 437 441 add PdgCode {12} 438 442 add PdgCode {14} … … 462 466 463 467 464 465 466 468 ############ 467 469 # Jet finder … … 493 495 } 494 496 497 ######################## 498 # Jet Flavor Association 499 ######################## 500 501 module JetFlavorAssociation JetFlavorAssociation { 502 503 set PartonInputArray Delphes/partons 504 set ParticleInputArray Delphes/allParticles 505 set ParticleLHEFInputArray Delphes/allParticlesLHEF 506 set JetInputArray JetEnergyScale/jets 507 508 set DeltaR 0.5 509 set PartonPTMin 1.0 510 set PartonEtaMax 2.5 511 512 } 513 495 514 ########### 496 515 # b-tagging … … 498 517 499 518 module BTagging BTagging { 500 set PartonInputArray Delphes/partons501 519 set JetInputArray JetEnergyScale/jets 502 520 503 521 set BitNumber 0 504 505 set DeltaR 0.5506 507 set PartonPTMin 1.0508 509 set PartonEtaMax 2.5510 522 511 523 # add EfficiencyFormula {abs(PDG code)} {efficiency formula as a function of eta and pt} … … 518 530 519 531 # efficiency formula for c-jets (misidentification rate) 520 add EfficiencyFormula {4} { (pt <= 15.0) * (0.000) + \521 (abs(eta) <= 1.2) * (pt > 15.0) * (0.2*tanh(pt*0.03 - 0.4)) + \522 (abs(eta) > 1.2 && abs(eta) <= 2.5) * (pt > 15.0) * (0.1*tanh(pt*0.03 - 0.4)) + \532 add EfficiencyFormula {4} { (pt <= 15.0) * (0.000) + 533 (abs(eta) <= 1.2) * (pt > 15.0) * (0.2*tanh(pt*0.03 - 0.4)) + 534 (abs(eta) > 1.2 && abs(eta) <= 2.5) * (pt > 15.0) * (0.1*tanh(pt*0.03 - 0.4)) + 523 535 (abs(eta) > 2.5) * (0.000)} 524 536 525 537 # efficiency formula for b-jets 526 add EfficiencyFormula {5} { (pt <= 15.0) * (0.000) + \527 (abs(eta) <= 1.2) * (pt > 15.0) * (0.5*tanh(pt*0.03 - 0.4)) + \528 (abs(eta) > 1.2 && abs(eta) <= 2.5) * (pt > 15.0) * (0.4*tanh(pt*0.03 - 0.4)) + \538 add EfficiencyFormula {5} { (pt <= 15.0) * (0.000) + 539 (abs(eta) <= 1.2) * (pt > 15.0) * (0.5*tanh(pt*0.03 - 0.4)) + 540 (abs(eta) > 1.2 && abs(eta) <= 2.5) * (pt > 15.0) * (0.4*tanh(pt*0.03 - 0.4)) + 529 541 (abs(eta) > 2.5) * (0.000)} 530 542 } 543 544 ############# 545 # tau-tagging 546 ############# 531 547 532 548 module TauTagging TauTagging { … … 589 605 add Branch ScalarHT/energy ScalarHT ScalarHT 590 606 } 591
Note:
See TracChangeset
for help on using the changeset viewer.