- Timestamp:
- Jun 8, 2018, 3:23:13 PM (7 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- e57c062
- Parents:
- 001ee95 (diff), 17d0ab8 (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/FCC/FCChh.tcl
r001ee95 r667a02a 15 15 16 16 ParticlePropagator 17 TrackMergerProp 18 19 DenseProp 20 DenseMergeTracks 21 DenseTrackFilter 17 22 18 23 ChargedHadronTrackingEfficiency … … 24 29 MuonMomentumSmearing 25 30 26 DenseProp27 DenseMergeTracks28 TrackMergerProp29 31 TrackMerger 30 32 … … 82 84 } 83 85 84 # 85 ################################# 86 # Propagate particles in cylinder 87 ################################# 86 ##################################### 87 # Track propagation to calorimeters 88 ##################################### 88 89 89 90 module ParticlePropagator ParticlePropagator { … … 103 104 } 104 105 106 107 ############## 108 # Track merger 109 ############## 110 111 module Merger TrackMergerProp { 112 # add InputArray InputArray 113 add InputArray ParticlePropagator/chargedHadrons 114 add InputArray ParticlePropagator/electrons 115 add InputArray ParticlePropagator/muons 116 set OutputArray tracks 117 } 118 119 120 #################################### 121 # Track propagation to pseudo-pixel 122 #################################### 123 124 module ParticlePropagator DenseProp { 125 126 set InputArray TrackMergerProp/tracks 127 128 # radius of the magnetic field coverage, in m 129 set Radius 0.45 130 set RadiusMax 1.5 131 # half-length of the magnetic field coverage, in m 132 set HalfLength 0.8 133 set HalfLengthMax 5 134 135 # magnetic field 136 set Bz 4.0 137 } 138 139 ##################### 140 # Dense Track merger 141 ##################### 142 143 module Merger DenseMergeTracks { 144 # add InputArray InputArray 145 add InputArray DenseProp/chargedHadrons 146 add InputArray DenseProp/electrons 147 add InputArray DenseProp/muons 148 set OutputArray tracks 149 } 150 151 152 ###################### 153 # Dense Track Filter 154 ###################### 155 156 module DenseTrackFilter DenseTrackFilter { 157 158 set TrackInputArray DenseMergeTracks/tracks 159 160 set TrackOutputArray tracks 161 set ChargedHadronOutputArray chargedHadrons 162 set ElectronOutputArray electrons 163 set MuonOutputArray muons 164 165 set EtaPhiRes 0.001 166 set EtaMax 6.0 167 168 set pi [expr {acos(-1)}] 169 170 set nbins_phi [expr {$pi/$EtaPhiRes} ] 171 set nbins_phi [expr {int($nbins_phi)} ] 172 173 set PhiBins {} 174 for {set i -$nbins_phi} {$i <= $nbins_phi} {incr i} { 175 add PhiBins [expr {$i * $pi/$nbins_phi}] 176 } 177 } 178 105 179 #################################### 106 180 # Charged hadron tracking efficiency … … 108 182 109 183 module Efficiency ChargedHadronTrackingEfficiency { 110 set InputArray ParticlePropagator/chargedHadrons184 set InputArray DenseTrackFilter/chargedHadrons 111 185 set OutputArray chargedHadrons 112 186 … … 131 205 132 206 module Efficiency ElectronTrackingEfficiency { 133 set InputArray ParticlePropagator/electrons207 set InputArray DenseTrackFilter/electrons 134 208 set OutputArray electrons 135 209 … … 147 221 148 222 } 223 149 224 ########################## 150 225 # Muon tracking efficiency … … 152 227 153 228 module Efficiency MuonTrackingEfficiency { 154 set InputArray ParticlePropagator/muons229 set InputArray DenseTrackFilter/muons 155 230 set OutputArray muons 156 231 … … 202 277 } 203 278 204 205 279 ############## 206 280 # Track merger 207 281 ############## 208 282 209 module Merger TrackMerger Prop{283 module Merger TrackMerger { 210 284 # add InputArray InputArray 211 285 add InputArray ChargedHadronMomentumSmearing/chargedHadrons … … 214 288 set OutputArray tracks 215 289 } 216 217 218 #################################219 # Dense Track propagation220 #################################221 222 module ParticlePropagator DenseProp {223 set InputArray Delphes/stableParticles224 225 set OutputArray stableParticles226 set NeutralOutputArray neutralParticles227 set ChargedHadronOutputArray chargedHadrons228 set ElectronOutputArray electrons229 set MuonOutputArray muons230 231 # radius of the magnetic field coverage, in m232 set Radius 0.45233 set RadiusMax 1.5234 # half-length of the magnetic field coverage, in m235 set HalfLength 0.8236 set HalfLengthMax 5237 238 # magnetic field239 set Bz 4.0240 }241 242 ####################243 # Dense Track merger244 ###################245 246 module Merger DenseMergeTracks {247 # add InputArray InputArray248 add InputArray DenseProp/chargedHadrons249 add InputArray DenseProp/electrons250 add InputArray DenseProp/muons251 set OutputArray tracks252 }253 254 255 ######################256 # Dense Track Filter257 ######################258 259 module DenseTrackFilter TrackMerger {260 set TrackInputArray TrackMergerProp/tracks261 set DenseChargedInputArray DenseMergeTracks/tracks262 263 set TrackOutputArray tracks264 265 set EtaPhiRes 0.001266 set EtaMax 6.0267 268 set pi [expr {acos(-1)}]269 270 set nbins_phi [expr {$pi/$EtaPhiRes} ]271 set nbins_phi [expr {int($nbins_phi)} ]272 273 set PhiBins {}274 for {set i -$nbins_phi} {$i <= $nbins_phi} {incr i} {275 add PhiBins [expr {$i * $pi/$nbins_phi}]276 }277 278 set nbins_eta [expr {$EtaMax/$EtaPhiRes} ]279 set nbins_eta [expr {int($nbins_eta)} ]280 281 for {set i -$nbins_eta} {$i <= $nbins_eta} {incr i} {282 set eta [expr {$i * $EtaPhiRes}]283 add EtaPhiBins $eta $PhiBins284 }285 }286 287 290 288 291
Note:
See TracChangeset
for help on using the changeset viewer.