Changeset 83e77ee in git for cards/delphes_card_IDEA.tcl
- Timestamp:
- Aug 24, 2021, 12:02:27 PM (3 years ago)
- Branches:
- master
- Children:
- eee94204
- Parents:
- 61dccd3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cards/delphes_card_IDEA.tcl
r61dccd3 r83e77ee 9 9 ##################################################################### 10 10 11 ## MOD2: set vtx mode timing to MC truth 12 11 13 set B 2.0 12 14 … … 39 41 TrackMerger 40 42 Calorimeter 43 44 TimeSmearingNeutrals 45 TimeOfFlightNeutralHadron 46 41 47 EFlowMerger 42 48 … … 397 403 398 404 module TimeSmearing TimeSmearing { 399 set TrackInputArray ClusterCounting/tracks405 set InputArray ClusterCounting/tracks 400 406 set OutputArray tracks 401 407 … … 406 412 } 407 413 414 408 415 ######################################## 409 416 # Time Of Flight Measurement … … 411 418 412 419 module TimeOfFlight TimeOfFlight { 413 set TrackInputArray TimeSmearing/tracks420 set InputArray TimeSmearing/tracks 414 421 set VertexInputArray TruthVertexFinder/vertices 415 422 … … 420 427 # 2: calculate vertex time as vertex TOF, assuming tPV=0 421 428 422 set VertexTimeMode 2429 set VertexTimeMode 0 423 430 } 424 431 … … 455 462 set EnergySignificanceMin 1.0 456 463 457 set SmearTowerCenter true 464 #set SmearTowerCenter true 465 set SmearTowerCenter false 458 466 set pi [expr {acos(-1)}] 459 467 … … 511 519 # energy fractions for K0short and Lambda 512 520 add EnergyFraction {310} {0.3 0.7} 521 add EnergyFraction {130} {0.3 0.7} 513 522 add EnergyFraction {3122} {0.3 0.7} 514 523 … … 527 536 } 528 537 538 ######################################## 539 # Time Smearing Neutrals 540 ######################################## 541 542 module TimeSmearing TimeSmearingNeutrals { 543 set InputArray Calorimeter/eflowNeutralHadrons 544 set OutputArray eflowNeutralHadrons 545 546 # assume constant 30 ps resolution for now 547 set TimeResolution { 548 (abs(eta) > 0.0 && abs(eta) <= 3.0)* 30E-12 549 } 550 } 551 552 ######################################## 553 # Time Of Flight Measurement 554 ######################################## 555 556 module TimeOfFlight TimeOfFlightNeutralHadron { 557 set InputArray TimeSmearingNeutrals/eflowNeutralHadrons 558 set VertexInputArray TruthVertexFinder/vertices 559 560 set OutputArray eflowNeutralHadrons 561 562 # 0: assume vertex time tV from MC Truth (ideal case) 563 # 1: assume vertex time tV = 0 564 # 2: calculate vertex time as vertex TOF, assuming tPV=0 565 566 ## TBF (add option to take hard vertex time) 567 set VertexTimeMode 1 568 } 569 529 570 #################### 530 571 # Energy flow merger … … 535 576 add InputArray Calorimeter/eflowTracks 536 577 add InputArray Calorimeter/eflowPhotons 537 add InputArray Calorimeter/eflowNeutralHadrons578 add InputArray TimeOfFlightNeutralHadron/eflowNeutralHadrons 538 579 set OutputArray eflow 539 580 } 581 540 582 541 583 ################### … … 848 890 add Branch Calorimeter/eflowTracks EFlowTrack Track 849 891 add Branch Calorimeter/eflowPhotons EFlowPhoton Tower 850 add Branch Calorimeter/eflowNeutralHadrons EFlowNeutralHadron Tower892 add Branch TimeOfFlightNeutralHadron/eflowNeutralHadrons EFlowNeutralHadron Tower 851 893 852 894 add Branch EFlowMerger/eflow ParticleFlowCandidate ParticleFlowCandidate
Note:
See TracChangeset
for help on using the changeset viewer.