Fork me on GitHub

Changeset 667a02a in git for cards/FCC


Ignore:
Timestamp:
Jun 8, 2018, 3:23:13 PM (7 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
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.
Message:

Merge branch 'master' of github.com:delphes/delphes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cards/FCC/FCChh.tcl

    r001ee95 r667a02a  
    1515 
    1616  ParticlePropagator
     17  TrackMergerProp
     18
     19  DenseProp
     20  DenseMergeTracks
     21  DenseTrackFilter
    1722
    1823  ChargedHadronTrackingEfficiency
     
    2429  MuonMomentumSmearing
    2530
    26   DenseProp
    27   DenseMergeTracks
    28   TrackMergerProp 
    2931  TrackMerger
    3032
     
    8284}
    8385
    84 #
    85 #################################
    86 # Propagate particles in cylinder
    87 #################################
     86#####################################
     87# Track propagation to calorimeters
     88#####################################
    8889
    8990module ParticlePropagator ParticlePropagator {
     
    103104}
    104105
     106
     107##############
     108# Track merger
     109##############
     110
     111module 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
     124module 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
     143module 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
     156module 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
    105179####################################
    106180# Charged hadron tracking efficiency
     
    108182
    109183module Efficiency ChargedHadronTrackingEfficiency {
    110   set InputArray ParticlePropagator/chargedHadrons
     184  set InputArray DenseTrackFilter/chargedHadrons
    111185  set OutputArray chargedHadrons
    112186
     
    131205
    132206module Efficiency ElectronTrackingEfficiency {
    133   set InputArray ParticlePropagator/electrons
     207  set InputArray DenseTrackFilter/electrons
    134208  set OutputArray electrons
    135209
     
    147221
    148222}
     223
    149224##########################
    150225# Muon tracking efficiency
     
    152227
    153228module Efficiency MuonTrackingEfficiency {
    154   set InputArray ParticlePropagator/muons
     229  set InputArray DenseTrackFilter/muons
    155230  set OutputArray muons
    156231
     
    202277}
    203278
    204 
    205279##############
    206280# Track merger
    207281##############
    208282
    209 module Merger TrackMergerProp {
     283module Merger TrackMerger {
    210284# add InputArray InputArray
    211285  add InputArray ChargedHadronMomentumSmearing/chargedHadrons
     
    214288  set OutputArray tracks
    215289}
    216 
    217 
    218 #################################
    219 # Dense Track propagation
    220 #################################
    221 
    222 module ParticlePropagator DenseProp {
    223   set InputArray Delphes/stableParticles
    224 
    225   set OutputArray stableParticles
    226   set NeutralOutputArray neutralParticles
    227   set ChargedHadronOutputArray chargedHadrons
    228   set ElectronOutputArray electrons
    229   set MuonOutputArray muons
    230 
    231   # radius of the magnetic field coverage, in m
    232   set Radius 0.45
    233   set RadiusMax 1.5
    234   # half-length of the magnetic field coverage, in m
    235   set HalfLength 0.8
    236   set HalfLengthMax 5
    237 
    238   # magnetic field
    239   set Bz 4.0
    240 }
    241 
    242 ####################
    243 # Dense Track merger
    244 ###################
    245 
    246 module Merger DenseMergeTracks {
    247 # add InputArray InputArray
    248   add InputArray DenseProp/chargedHadrons
    249   add InputArray DenseProp/electrons
    250   add InputArray DenseProp/muons
    251   set OutputArray tracks
    252 }
    253 
    254 
    255 ######################
    256 #   Dense Track Filter
    257 ######################
    258 
    259 module DenseTrackFilter TrackMerger {
    260   set TrackInputArray TrackMergerProp/tracks
    261   set DenseChargedInputArray DenseMergeTracks/tracks
    262 
    263   set TrackOutputArray tracks
    264 
    265   set EtaPhiRes 0.001
    266   set EtaMax 6.0
    267 
    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 $PhiBins
    284   }
    285 }
    286 
    287290
    288291
Note: See TracChangeset for help on using the changeset viewer.