- Timestamp:
- Jun 6, 2018, 7:43:14 PM (6 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 46936ad
- Parents:
- b24f05a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cards/delphes_card_HLLHC.tcl
rb24f05a r8a58fff 14 14 15 15 ParticlePropagator 16 TrackMergerProp 17 18 DenseProp 19 DenseMergeTracks 20 DenseTrackFilter 16 21 17 22 ChargedHadronTrackingEfficiency … … 23 28 MuonMomentumSmearing 24 29 25 DenseProp26 DenseMergeTracks27 TrackMergerProp28 30 TrackMerger 29 31 … … 71 73 72 74 73 ################################# 74 # Propagate particles in cylinder75 ################################# 75 ##################################### 76 # Track propagation to calorimeters 77 ##################################### 76 78 77 79 module ParticlePropagator ParticlePropagator { … … 92 94 } 93 95 96 ############## 97 # Track merger 98 ############## 99 100 module Merger TrackMergerProp { 101 # add InputArray InputArray 102 add InputArray ParticlePropagator/chargedHadrons 103 add InputArray ParticlePropagator/electrons 104 add InputArray ParticlePropagator/muons 105 set OutputArray tracks 106 } 107 108 #################################### 109 # Track propagation to pseudo-pixel 110 #################################### 111 112 module ParticlePropagator DenseProp { 113 114 set InputArray TrackMergerProp/tracks 115 116 # radius of the magnetic field coverage, in m 117 set Radius 0.3 118 set RadiusMax 1.2 119 # half-length of the magnetic field coverage, in m 120 set HalfLength 0.7 121 set HalfLengthMax 3.25 122 123 # magnetic field 124 set Bz 3.0 125 } 126 127 ##################### 128 # Dense Track merger 129 ##################### 130 131 module Merger DenseMergeTracks { 132 # add InputArray InputArray 133 add InputArray DenseProp/chargedHadrons 134 add InputArray DenseProp/electrons 135 add InputArray DenseProp/muons 136 set OutputArray tracks 137 } 138 139 140 ###################### 141 # Dense Track Filter 142 ###################### 143 144 module DenseTrackFilter DenseTrackFilter { 145 146 set TrackInputArray DenseMergeTracks/tracks 147 148 set TrackOutputArray tracks 149 set ChargedHadronOutputArray chargedHadrons 150 set ElectronOutputArray electrons 151 set MuonOutputArray muons 152 153 set EtaPhiRes 0.003 154 set EtaMax 4.0 155 156 set pi [expr {acos(-1)}] 157 158 set nbins_phi [expr {$pi/$EtaPhiRes} ] 159 set nbins_phi [expr {int($nbins_phi)} ] 160 161 set PhiBins {} 162 for {set i -$nbins_phi} {$i <= $nbins_phi} {incr i} { 163 add PhiBins [expr {$i * $pi/$nbins_phi}] 164 } 165 166 set nbins_eta [expr {$EtaMax/$EtaPhiRes} ] 167 set nbins_eta [expr {int($nbins_eta)} ] 168 169 for {set i -$nbins_eta} {$i <= $nbins_eta} {incr i} { 170 set eta [expr {$i * $EtaPhiRes}] 171 add EtaPhiBins $eta $PhiBins 172 } 173 } 174 175 176 94 177 #################################### 95 178 # Charged hadron tracking efficiency … … 97 180 98 181 module Efficiency ChargedHadronTrackingEfficiency { 99 set InputArray ParticlePropagator/chargedHadrons182 set InputArray DenseTrackFilter/chargedHadrons 100 183 set OutputArray chargedHadrons 101 184 … … 122 205 123 206 module Efficiency ElectronTrackingEfficiency { 124 set InputArray ParticlePropagator/electrons207 set InputArray DenseTrackFilter/electrons 125 208 set OutputArray electrons 126 209 … … 145 228 146 229 module Efficiency MuonTrackingEfficiency { 147 set InputArray ParticlePropagator/muons230 set InputArray DenseTrackFilter/muons 148 231 set OutputArray muons 149 232 … … 443 526 } 444 527 528 529 445 530 ############## 446 531 # Track merger 447 532 ############## 448 533 449 module Merger TrackMerger Prop{534 module Merger TrackMerger { 450 535 # add InputArray InputArray 451 536 add InputArray ChargedHadronMomentumSmearing/chargedHadrons … … 453 538 add InputArray MuonMomentumSmearing/muons 454 539 set OutputArray tracks 455 }456 457 458 #################################459 # Dense Track propagation460 #################################461 462 module ParticlePropagator DenseProp {463 set InputArray Delphes/stableParticles464 465 set OutputArray stableParticles466 set NeutralOutputArray neutralParticles467 set ChargedHadronOutputArray chargedHadrons468 set ElectronOutputArray electrons469 set MuonOutputArray muons470 471 # radius of the magnetic field coverage, in m472 set Radius 0.3473 set RadiusMax 1.2474 # half-length of the magnetic field coverage, in m475 set HalfLength 0.7476 set HalfLengthMax 3.25477 478 # magnetic field479 set Bz 3.0480 }481 482 483 ####################484 # Dense Track merger485 ###################486 487 module Merger DenseMergeTracks {488 # add InputArray InputArray489 add InputArray DenseProp/chargedHadrons490 add InputArray DenseProp/electrons491 add InputArray DenseProp/muons492 set OutputArray tracks493 }494 495 496 ######################497 # Dense Track Filter498 ######################499 500 module DenseTrackFilter TrackMerger {501 set TrackInputArray TrackMergerProp/tracks502 set DenseChargedInputArray DenseMergeTracks/tracks503 504 set TrackOutputArray tracks505 506 set EtaPhiRes 0.003507 set EtaMax 4.0508 509 set pi [expr {acos(-1)}]510 511 set nbins_phi [expr {$pi/$EtaPhiRes} ]512 set nbins_phi [expr {int($nbins_phi)} ]513 514 set PhiBins {}515 for {set i -$nbins_phi} {$i <= $nbins_phi} {incr i} {516 add PhiBins [expr {$i * $pi/$nbins_phi}]517 }518 519 set nbins_eta [expr {$EtaMax/$EtaPhiRes} ]520 set nbins_eta [expr {int($nbins_eta)} ]521 522 for {set i -$nbins_eta} {$i <= $nbins_eta} {incr i} {523 set eta [expr {$i * $EtaPhiRes}]524 add EtaPhiBins $eta $PhiBins525 }526 540 } 527 541
Note:
See TracChangeset
for help on using the changeset viewer.