- Timestamp:
- Oct 15, 2021, 5:23:17 PM (3 years ago)
- Branches:
- master
- Children:
- 78e1fb3
- Parents:
- a3784f9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cards/delphes_card_IDEA.tcl
ra3784f9 r26a21bd 1 set RandomSeed 123 2 1 3 #################################################################### l 2 4 # FCC-ee IDEA detector model … … 40 42 41 43 TrackMerger 44 ForwardLooperTracks 42 45 Calorimeter 43 46 … … 45 48 TimeOfFlightNeutralHadron 46 49 50 EFlowTrackMerger 47 51 EFlowMerger 48 52 … … 121 125 set UseMomentumVector true 122 126 123 # We use only one efficiency, we set only 0 effincency out of eta bounds:124 127 set EfficiencyFormula { 125 128 (abs(eta) > 2.56) * (0.000) + 126 (pt < 0.1) * (abs(eta) <= 2.56) * (0.000) 129 (pt < 0.1) * (abs(eta) <= 2.56) * (0.000) + 127 130 (pt >= 0.1) * (abs(eta) <= 2.56) * (1.000) 128 131 } … … 140 143 set UseMomentumVector true 141 144 142 # Current full simulation with CLICdet provides for electrons:143 145 set EfficiencyFormula { 144 146 (abs(eta) > 2.56) * (0.000) + 145 (pt < 0.1) * (abs(eta) <= 2.56) * (0.000) 147 (pt < 0.1) * (abs(eta) <= 2.56) * (0.000) + 146 148 (pt >= 0.1) * (abs(eta) <= 2.56) * (1.000) 147 149 } … … 158 160 set UseMomentumVector true 159 161 160 # Current full simulation with CLICdet provides for muons:161 162 set EfficiencyFormula { 162 163 (abs(eta) > 2.56) * (0.000) + 163 (pt < 0.1) * (abs(eta) <= 2.56) * (0.000) 164 (pt < 0.1) * (abs(eta) <= 2.56) * (0.000) + 164 165 (pt >= 0.1) * (abs(eta) <= 2.56) * (1.000) 165 166 } … … 177 178 set OutputArray tracks 178 179 } 180 179 181 180 182 … … 437 439 438 440 441 ###################### 442 # Looper Selection 443 ###################### 444 445 module Efficiency ForwardLooperTracks { 446 set InputArray TrackMerger/tracks 447 set OutputArray tracks 448 set UseMomentumVector False 449 450 ## select looping tracks that end up in position |eta| > 3.142 (lost by calo) 451 set EfficiencyFormula { 452 (abs(eta) > 3.0 ) * (1.000) + 453 (abs(eta) <= 3.0 ) * (0.000) 454 } 455 456 } 457 458 439 459 ############# 440 460 # Calorimeter … … 488 508 #deta=0.02 units for 0.88 < |eta| <= 3.0 489 509 #first, from -3.0 to -0.88 490 for {set i 1} {$i <=106} {incr i} {510 for {set i 0} {$i <=106} {incr i} { 491 511 set eta [expr {-3.00 + $i * 0.02}] 492 512 add EtaPhiBins $eta $PhiBins … … 565 585 } 566 586 587 588 ############################ 589 # Energy flow track merger 590 ############################ 591 592 module Merger EFlowTrackMerger { 593 # add InputArray InputArray 594 add InputArray Calorimeter/eflowTracks 595 add InputArray ForwardLooperTracks/tracks 596 set OutputArray eflowTracks 597 } 598 599 600 567 601 #################### 568 602 # Energy flow merger … … 571 605 module Merger EFlowMerger { 572 606 # add InputArray InputArray 573 add InputArray Calorimeter/eflowTracks607 add InputArray EFlowTrackMerger/eflowTracks 574 608 add InputArray Calorimeter/eflowPhotons 575 609 add InputArray TimeOfFlightNeutralHadron/eflowNeutralHadrons … … 585 619 set InputArray Calorimeter/eflowPhotons 586 620 set OutputArray photons 587 set UseMomentumVector true588 621 589 622 # set EfficiencyFormula {efficiency formula as a function of eta and pt} … … 619 652 620 653 module PdgCodeFilter ElectronFilter { 621 set InputArray Calorimeter/eflowTracks654 set InputArray EFlowTrackMerger/eflowTracks 622 655 set OutputArray electrons 623 656 set Invert true … … 631 664 632 665 module PdgCodeFilter MuonFilter { 633 set InputArray Calorimeter/eflowTracks666 set InputArray EFlowTrackMerger/eflowTracks 634 667 set OutputArray muons 635 668 set Invert true … … 646 679 set InputArray ElectronFilter/electrons 647 680 set OutputArray electrons 648 set UseMomentumVector true649 681 650 682 # set EfficiencyFormula {efficiency formula as a function of eta and pt} … … 683 715 set InputArray MuonFilter/muons 684 716 set OutputArray muons 685 set UseMomentumVector true686 717 687 718 # set EfficiencyFormula {efficiency as a function of eta and pt} … … 885 916 add Branch TruthVertexFinder/vertices GenVertex Vertex 886 917 887 add Branch TrackMerger/tracks Track Track 888 add Branch Calorimeter/towers Tower Tower 889 890 add Branch Calorimeter/eflowTracks EFlowTrack Track 918 add Branch EFlowTrackMerger/eflowTracks EFlowTrack Track 891 919 add Branch Calorimeter/eflowPhotons EFlowPhoton Tower 892 920 add Branch TimeOfFlightNeutralHadron/eflowNeutralHadrons EFlowNeutralHadron Tower
Note:
See TracChangeset
for help on using the changeset viewer.