Fork me on GitHub

Changeset 8a58fff in git


Ignore:
Timestamp:
Jun 6, 2018, 7:43:14 PM (6 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
46936ad
Parents:
b24f05a
Message:

updated HLLHC with new DTF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cards/delphes_card_HLLHC.tcl

    rb24f05a r8a58fff  
    1414
    1515  ParticlePropagator
     16  TrackMergerProp
     17
     18  DenseProp
     19  DenseMergeTracks
     20  DenseTrackFilter
    1621
    1722  ChargedHadronTrackingEfficiency
     
    2328  MuonMomentumSmearing
    2429
    25   DenseProp
    26   DenseMergeTracks
    27   TrackMergerProp 
    2830  TrackMerger
    2931
     
    7173
    7274
    73 #################################
    74 # Propagate particles in cylinder
    75 #################################
     75#####################################
     76# Track propagation to calorimeters
     77#####################################
    7678
    7779module ParticlePropagator ParticlePropagator {
     
    9294}
    9395
     96##############
     97# Track merger
     98##############
     99
     100module 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
     112module 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
     131module 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
     144module 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
    94177####################################
    95178# Charged hadron tracking efficiency
     
    97180
    98181module Efficiency ChargedHadronTrackingEfficiency {
    99   set InputArray ParticlePropagator/chargedHadrons
     182  set InputArray DenseTrackFilter/chargedHadrons
    100183  set OutputArray chargedHadrons
    101184
     
    122205
    123206module Efficiency ElectronTrackingEfficiency {
    124   set InputArray ParticlePropagator/electrons
     207  set InputArray DenseTrackFilter/electrons
    125208  set OutputArray electrons
    126209
     
    145228
    146229module Efficiency MuonTrackingEfficiency {
    147   set InputArray ParticlePropagator/muons
     230  set InputArray DenseTrackFilter/muons
    148231  set OutputArray muons
    149232
     
    443526}
    444527
     528
     529
    445530##############
    446531# Track merger
    447532##############
    448533
    449 module Merger TrackMergerProp {
     534module Merger TrackMerger {
    450535# add InputArray InputArray
    451536  add InputArray ChargedHadronMomentumSmearing/chargedHadrons
     
    453538  add InputArray MuonMomentumSmearing/muons
    454539  set OutputArray tracks
    455 }
    456 
    457 
    458 #################################
    459 # Dense Track propagation
    460 #################################
    461 
    462 module ParticlePropagator DenseProp {
    463   set InputArray Delphes/stableParticles
    464 
    465   set OutputArray stableParticles
    466   set NeutralOutputArray neutralParticles
    467   set ChargedHadronOutputArray chargedHadrons
    468   set ElectronOutputArray electrons
    469   set MuonOutputArray muons
    470 
    471   # radius of the magnetic field coverage, in m
    472   set Radius 0.3
    473   set RadiusMax 1.2
    474   # half-length of the magnetic field coverage, in m
    475   set HalfLength 0.7
    476   set HalfLengthMax 3.25
    477 
    478   # magnetic field
    479   set Bz 3.0
    480 }
    481 
    482 
    483 ####################
    484 # Dense Track merger
    485 ###################
    486 
    487 module Merger DenseMergeTracks {
    488 # add InputArray InputArray
    489   add InputArray DenseProp/chargedHadrons
    490   add InputArray DenseProp/electrons
    491   add InputArray DenseProp/muons
    492   set OutputArray tracks
    493 }
    494 
    495 
    496 ######################
    497 #   Dense Track Filter
    498 ######################
    499 
    500 module DenseTrackFilter TrackMerger {
    501   set TrackInputArray TrackMergerProp/tracks
    502   set DenseChargedInputArray DenseMergeTracks/tracks
    503 
    504   set TrackOutputArray tracks
    505 
    506   set EtaPhiRes 0.003
    507   set EtaMax 4.0
    508 
    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 $PhiBins
    525   }
    526540}
    527541
Note: See TracChangeset for help on using the changeset viewer.