- Timestamp:
- Sep 30, 2016, 2:41:40 PM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 4d128b9
- Parents:
- b4ec6ac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cards/delphes_card_ATLAS.tcl
rb4ec6ac re0a1a44 4 4 5 5 set ExecutionPath { 6 6 ParticlePropagator 7 7 8 8 ChargedHadronTrackingEfficiency … … 15 15 16 16 TrackMerger 17 18 ECal 19 HCal 20 17 21 Calorimeter 18 22 EFlowMerger … … 33 37 GenJetFinder 34 38 GenMissingET 35 39 36 40 FastJetFinder 37 41 38 42 JetEnergyScale 39 43 40 44 JetFlavorAssociation 41 45 … … 189 193 } 190 194 195 191 196 ############# 192 # Calorimeter197 # ECAL 193 198 ############# 194 199 195 module Calorimeter Calorimeter{200 module SimpleCalorimeter ECal { 196 201 set ParticleInputArray ParticlePropagator/stableParticles 197 202 set TrackInputArray TrackMerger/tracks 198 203 199 set TowerOutputArray towers 200 set PhotonOutputArray photons 201 204 set TowerOutputArray ecalTowers 202 205 set EFlowTrackOutputArray eflowTracks 203 set EFlowPhotonOutputArray eflowPhotons 204 set EFlowNeutralHadronOutputArray eflowNeutralHadrons 205 206 set ECalEnergyMin 0.5 207 set HCalEnergyMin 1.0 208 209 set ECalEnergySignificanceMin 1.0 210 set HCalEnergySignificanceMin 1.0 206 set EFlowTowerOutputArray eflowPhotons 207 208 set IsEcal true 209 210 set EnergyMin 0.5 211 set EnergySignificanceMin 2.0 211 212 212 213 set SmearTowerCenter true 213 214 214 215 set pi [expr {acos(-1)}] 216 217 # lists of the edges of each tower in eta and phi 218 # each list starts with the lower edge of the first tower 219 # the list ends with the higher edged of the last tower 220 221 # assume 0.02 x 0.02 resolution in eta,phi in the barrel |eta| < 1.5 222 223 set PhiBins {} 224 for {set i -180} {$i <= 180} {incr i} { 225 add PhiBins [expr {$i * $pi/180.0}] 226 } 227 228 # 0.02 unit in eta up to eta = 1.5 (barrel) 229 for {set i -85} {$i <= 86} {incr i} { 230 set eta [expr {$i * 0.0174}] 231 add EtaPhiBins $eta $PhiBins 232 } 233 234 # assume 0.02 x 0.02 resolution in eta,phi in the endcaps 1.5 < |eta| < 3.0 235 set PhiBins {} 236 for {set i -180} {$i <= 180} {incr i} { 237 add PhiBins [expr {$i * $pi/180.0}] 238 } 239 240 # 0.02 unit in eta up to eta = 3 241 for {set i 1} {$i <= 84} {incr i} { 242 set eta [expr { -2.958 + $i * 0.0174}] 243 add EtaPhiBins $eta $PhiBins 244 } 245 246 for {set i 1} {$i <= 84} {incr i} { 247 set eta [expr { 1.4964 + $i * 0.0174}] 248 add EtaPhiBins $eta $PhiBins 249 } 250 251 # take present CMS granularity for HF 252 253 # 0.175 x (0.175 - 0.35) resolution in eta,phi in the HF 3.0 < |eta| < 5.0 254 set PhiBins {} 255 for {set i -18} {$i <= 18} {incr i} { 256 add PhiBins [expr {$i * $pi/18.0}] 257 } 258 259 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} { 260 add EtaPhiBins $eta $PhiBins 261 } 262 263 264 add EnergyFraction {0} {0.0} 265 # energy fractions for e, gamma and pi0 266 add EnergyFraction {11} {1.0} 267 add EnergyFraction {22} {1.0} 268 add EnergyFraction {111} {1.0} 269 # energy fractions for muon, neutrinos and neutralinos 270 add EnergyFraction {12} {0.0} 271 add EnergyFraction {13} {0.0} 272 add EnergyFraction {14} {0.0} 273 add EnergyFraction {16} {0.0} 274 add EnergyFraction {1000022} {0.0} 275 add EnergyFraction {1000023} {0.0} 276 add EnergyFraction {1000025} {0.0} 277 add EnergyFraction {1000035} {0.0} 278 add EnergyFraction {1000045} {0.0} 279 # energy fractions for K0short and Lambda 280 add EnergyFraction {310} {0.3} 281 add EnergyFraction {3122} {0.3} 282 283 # set ResolutionFormula {resolution formula as a function of eta and energy} 284 285 # set ECalResolutionFormula {resolution formula as a function of eta and energy} 286 # http://arxiv.org/pdf/physics/0608012v1 jinst8_08_s08003 287 # http://villaolmo.mib.infn.it/ICATPP9th_2005/Calorimetry/Schram.p.pdf 288 # http://www.physics.utoronto.ca/~krieger/procs/ComoProceedings.pdf 289 set ResolutionFormula { (abs(eta) <= 3.2) * sqrt(energy^2*0.0017^2 + energy*0.101^2) + 290 (abs(eta) > 3.2 && abs(eta) <= 4.9) * sqrt(energy^2*0.0350^2 + energy*0.285^2)} 291 292 293 } 294 295 296 297 ############# 298 # HCAL 299 ############# 300 301 module SimpleCalorimeter HCal { 302 set ParticleInputArray ParticlePropagator/stableParticles 303 set TrackInputArray ECal/eflowTracks 304 305 set TowerOutputArray hcalTowers 306 set EFlowTrackOutputArray eflowTracks 307 set EFlowTowerOutputArray eflowNeutralHadrons 308 309 set IsEcal false 310 311 set EnergyMin 1.0 312 set EnergySignificanceMin 2.0 313 314 set SmearTowerCenter true 315 316 set pi [expr {acos(-1)}] 215 317 216 318 # lists of the edges of each tower in eta and phi … … 237 339 238 340 # default energy fractions {abs(PDG code)} {Fecal Fhcal} 239 add EnergyFraction {0} { 0.01.0}341 add EnergyFraction {0} {1.0} 240 342 # energy fractions for e, gamma and pi0 241 add EnergyFraction {11} { 1.00.0}242 add EnergyFraction {22} { 1.00.0}243 add EnergyFraction {111} { 1.00.0}343 add EnergyFraction {11} {0.0} 344 add EnergyFraction {22} {0.0} 345 add EnergyFraction {111} {0.0} 244 346 # energy fractions for muon, neutrinos and neutralinos 245 add EnergyFraction {12} {0.0 0.0}246 add EnergyFraction {13} {0.0 0.0}247 add EnergyFraction {14} {0.0 0.0}248 add EnergyFraction {16} {0.0 0.0}249 add EnergyFraction {1000022} {0.0 0.0}250 add EnergyFraction {1000023} {0.0 0.0}251 add EnergyFraction {1000025} {0.0 0.0}252 add EnergyFraction {1000035} {0.0 0.0}253 add EnergyFraction {1000045} {0.0 0.0}347 add EnergyFraction {12} {0.0} 348 add EnergyFraction {13} {0.0} 349 add EnergyFraction {14} {0.0} 350 add EnergyFraction {16} {0.0} 351 add EnergyFraction {1000022} {0.0} 352 add EnergyFraction {1000023} {0.0} 353 add EnergyFraction {1000025} {0.0} 354 add EnergyFraction {1000035} {0.0} 355 add EnergyFraction {1000045} {0.0} 254 356 # energy fractions for K0short and Lambda 255 add EnergyFraction {310} {0.3 0.7} 256 add EnergyFraction {3122} {0.3 0.7} 257 258 # set ECalResolutionFormula {resolution formula as a function of eta and energy} 259 # http://arxiv.org/pdf/physics/0608012v1 jinst8_08_s08003 260 # http://villaolmo.mib.infn.it/ICATPP9th_2005/Calorimetry/Schram.p.pdf 261 # http://www.physics.utoronto.ca/~krieger/procs/ComoProceedings.pdf 262 set ECalResolutionFormula { (abs(eta) <= 3.2) * sqrt(energy^2*0.0017^2 + energy*0.101^2) + 263 (abs(eta) > 3.2 && abs(eta) <= 4.9) * sqrt(energy^2*0.0350^2 + energy*0.285^2)} 264 265 # set HCalResolutionFormula {resolution formula as a function of eta and energy} 357 add EnergyFraction {310} {0.7} 358 add EnergyFraction {3122} {0.7} 359 266 360 # http://arxiv.org/pdf/hep-ex/0004009v1 267 361 # http://villaolmo.mib.infn.it/ICATPP9th_2005/Calorimetry/Schram.p.pdf 268 set HCalResolutionFormula { (abs(eta) <= 1.7) * sqrt(energy^2*0.0302^2 + energy*0.5205^2 + 1.59^2) + 362 # set HCalResolutionFormula {resolution formula as a function of eta and energy} 363 set ResolutionFormula { (abs(eta) <= 1.7) * sqrt(energy^2*0.0302^2 + energy*0.5205^2 + 1.59^2) + 269 364 (abs(eta) > 1.7 && abs(eta) <= 3.2) * sqrt(energy^2*0.0500^2 + energy*0.706^2) + 270 365 (abs(eta) > 3.2 && abs(eta) <= 4.9) * sqrt(energy^2*0.09420^2 + energy*1.00^2)} 271 366 } 367 368 369 ################# 370 # Electron filter 371 ################# 372 373 module PdgCodeFilter ElectronFilter { 374 set InputArray HCal/eflowTracks 375 set OutputArray electrons 376 set Invert true 377 add PdgCode {11} 378 add PdgCode {-11} 379 } 380 381 382 ################################################### 383 # Tower Merger (in case not using e-flow algorithm) 384 ################################################### 385 386 module Merger Calorimeter { 387 # add InputArray InputArray 388 add InputArray ECal/ecalTowers 389 add InputArray HCal/hcalTowers 390 set OutputArray towers 391 } 392 393 272 394 273 395 #################### … … 277 399 module Merger EFlowMerger { 278 400 # add InputArray InputArray 279 add InputArray Calorimeter/eflowTracks280 add InputArray Calorimeter/eflowPhotons281 add InputArray Calorimeter/eflowNeutralHadrons401 add InputArray HCal/eflowTracks 402 add InputArray ECal/eflowPhotons 403 add InputArray HCal/eflowNeutralHadrons 282 404 set OutputArray eflow 283 405 } … … 288 410 289 411 module Efficiency PhotonEfficiency { 290 set InputArray Calorimeter/eflowPhotons412 set InputArray ECal/eflowPhotons 291 413 set OutputArray photons 292 414 … … 322 444 323 445 module PdgCodeFilter ElectronFilter { 324 set InputArray Calorimeter/eflowTracks446 set InputArray HCal/eflowTracks 325 447 set OutputArray electrons 326 448 set Invert true … … 403 525 module Merger MissingET { 404 526 # add InputArray InputArray 405 add InputArray EFlowMerger/eflow527 add InputArray Calorimeter/towers 406 528 set MomentumOutputArray momentum 407 529 } … … 503 625 504 626 module JetFlavorAssociation JetFlavorAssociation { 505 627 506 628 set PartonInputArray Delphes/partons 507 629 set ParticleInputArray Delphes/allParticles 508 630 set ParticleLHEFInputArray Delphes/allParticlesLHEF 509 631 set JetInputArray JetEnergyScale/jets 510 632 511 633 set DeltaR 0.5 512 634 set PartonPTMin 1.0 … … 545 667 546 668 module TrackCountingTauTagging TauTagging { 547 669 548 670 set ParticleInputArray Delphes/allParticles 549 671 set PartonInputArray Delphes/partons … … 555 677 556 678 set TrackPTMin 1.0 557 679 558 680 set TauPTMin 1.0 559 681 set TauEtaMax 2.5 560 682 561 # instructions: {n-prongs} {eff} 562 683 # instructions: {n-prongs} {eff} 684 563 685 # 1 - one prong efficiency 564 686 # 2 - two or more efficiency 565 687 # -1 - one prong mistag rate 566 688 # -2 - two or more mistag rate 567 689 568 690 set BitNumber 0 569 691 570 692 # taken from ATL-PHYS-PUB-2015-045 (medium working point) 571 693 add EfficiencyFormula {1} {0.70} … … 604 726 add Branch Calorimeter/towers Tower Tower 605 727 606 add Branch Calorimeter/eflowTracks EFlowTrack Track607 add Branch Calorimeter/eflowPhotons EFlowPhoton Tower608 add Branch Calorimeter/eflowNeutralHadrons EFlowNeutralHadron Tower728 add Branch HCal/eflowTracks EFlowTrack Track 729 add Branch ECal/eflowPhotons EFlowPhoton Tower 730 add Branch HCal/eflowNeutralHadrons EFlowNeutralHadron Tower 609 731 610 732 add Branch GenJetFinder/jets GenJet Jet
Note:
See TracChangeset
for help on using the changeset viewer.