Fork me on GitHub

Changeset 5a69ba1d in git for cards


Ignore:
Timestamp:
Jan 12, 2018, 5:43:01 PM (7 years ago)
Author:
Ulrike Schnoor <schnooru@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
3037765
Parents:
ae061c1 (diff), 1f7223c (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

Location:
cards
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • cards/FCC/FCChh.tcl

    rae061c1 r5a69ba1d  
    44#  Main authors:  Michele Selvaggi (CERN)
    55#
    6 #  Released on: Apr. 6th, 2017
     6#  Released on: Dec. 1st, 2017
    77#
    88#  Configuration: FCC-hh baseline detector
     
    1313
    1414set ExecutionPath {
    15 
     15 
    1616  ParticlePropagator
    1717
     
    2424  MuonMomentumSmearing
    2525
     26  DenseProp
     27  DenseMergeTracks
     28  TrackMergerProp 
    2629  TrackMerger
    2730
     
    4851  GenMissingET
    4952
    50   GenJetFinder
    51   FastJetFinder
    52   FatJetFinder
     53  GenJetFinder02
     54  GenJetFinder04
     55  GenJetFinder08
     56
     57  FastJetFinder02
     58  FastJetFinder04
     59  FastJetFinder08
     60
     61  CaloJetFinder02
     62  CaloJetFinder04
     63  CaloJetFinder08
     64
     65  TrackJetFinder02
     66  TrackJetFinder04
     67  TrackJetFinder08
    5368
    5469  JetEnergyScale
     
    6782}
    6883
     84#
    6985#################################
    7086# Propagate particles in cylinder
     
    7389module ParticlePropagator ParticlePropagator {
    7490  set InputArray Delphes/stableParticles
    75 
    7691  set OutputArray stableParticles
    7792  set ChargedHadronOutputArray chargedHadrons
     
    187202}
    188203
     204
    189205##############
    190206# Track merger
    191207##############
    192208
    193 module Merger TrackMerger {
     209module Merger TrackMergerProp {
    194210# add InputArray InputArray
    195211  add InputArray ChargedHadronMomentumSmearing/chargedHadrons
     
    198214  set OutputArray tracks
    199215}
     216
     217
     218#################################
     219# Dense Track propagation
     220#################################
     221
     222module 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
     246module 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
     259module 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
     287
    200288
    201289#############
     
    400488  add InputArray ECal/ecalTowers
    401489  add InputArray HCal/hcalTowers
     490  add InputArray MuonMomentumSmearing/muons
    402491  set OutputArray towers
    403492}
     
    473562
    474563
     564#########################
     565# Gen Missing ET merger
     566########################
     567
     568module Merger GenMissingET {
     569
     570# add InputArray InputArray
     571  add InputArray NeutrinoFilter/filteredParticles
     572  set MomentumOutputArray momentum
     573}
     574
     575
    475576#####################
    476577# MC truth jet finder
     
    479580# TBC: is jet radius fine?
    480581
    481 module FastJetFinder GenJetFinder {
    482 #  set InputArray NeutrinoFilter/filteredParticles
    483   set InputArray Delphes/stableParticles
     582module FastJetFinder GenJetFinder02 {
     583  set InputArray NeutrinoFilter/filteredParticles
     584
     585  set OutputArray jets
     586
     587  # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
     588  set JetAlgorithm 6
     589  set ParameterR 0.2
     590
     591  set ComputeNsubjettiness 1
     592  set Beta 1.0
     593  set AxisMode 4
     594
     595  set ComputeSoftDrop 1
     596  set BetaSoftDrop 0.0
     597  set SymmetryCutSoftDrop 0.1
     598  set R0SoftDrop 0.2
     599
     600  set JetPTMin 25.0
     601}
     602
     603
     604#####################
     605# MC truth jet finder
     606#####################
     607
     608# TBC: is jet radius fine?
     609
     610module FastJetFinder GenJetFinder04 {
     611  set InputArray NeutrinoFilter/filteredParticles
    484612
    485613  set OutputArray jets
     
    489617  set ParameterR 0.4
    490618
    491   set JetPTMin 5.0
    492 }
    493 
    494 #########################
    495 # Gen Missing ET merger
    496 ########################
    497 
    498 module Merger GenMissingET {
    499 
    500 # add InputArray InputArray
    501   add InputArray NeutrinoFilter/filteredParticles
    502   set MomentumOutputArray momentum
    503 }
    504 
    505 
    506 
    507 ############
    508 # Jet finder
    509 ############
    510 
    511 # TBC need to include jet substructure variables
    512 # TBC is jet radius fine?
    513 
    514 module FastJetFinder FastJetFinder {
    515 #  set InputArray Calorimeter/towers
    516   set InputArray EFlowMerger/eflow
    517 
    518   set OutputArray jets
    519 
    520   # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
    521   # 7: anti-kt with winner-take-all axis (for N-subjettiness), 8 N-jettiness
    522 
    523   set JetAlgorithm 6
    524   set ParameterR 0.4
    525 
    526   set JetPTMin 30.0
    527 }
    528 
    529 ##################
    530 # Fat Jet finder
    531 ##################
    532 
    533 module FastJetFinder FatJetFinder {
    534   set InputArray EFlowMerger/eflow
     619  set ComputeNsubjettiness 1
     620  set Beta 1.0
     621  set AxisMode 4
     622
     623  set ComputeSoftDrop 1
     624  set BetaSoftDrop 0.0
     625  set SymmetryCutSoftDrop 0.1
     626  set R0SoftDrop 0.4
     627
     628  set JetPTMin 25.0
     629}
     630#####################
     631# MC truth jet finder
     632#####################
     633
     634# TBC: is jet radius fine?
     635
     636module FastJetFinder GenJetFinder08 {
     637  set InputArray NeutrinoFilter/filteredParticles
    535638
    536639  set OutputArray jets
     
    543646  set Beta 1.0
    544647  set AxisMode 4
    545 
    546   set ComputeTrimming 1
    547   set RTrim 0.2
    548   set PtFracTrim 0.05
    549 
    550   set ComputePruning 1
    551   set ZcutPrun 0.1
    552   set RcutPrun 0.5
    553   set RPrun 0.8
    554648
    555649  set ComputeSoftDrop 1
     
    558652  set R0SoftDrop 0.8
    559653
    560   set JetPTMin 200.0
     654  set JetPTMin 25.0
     655}
     656
     657
     658##################
     659# Fast Jet finder
     660##################
     661
     662module FastJetFinder FastJetFinder02 {
     663  set InputArray EFlowMerger/eflow
     664
     665  set OutputArray jets
     666
     667  # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
     668  set JetAlgorithm 6
     669  set ParameterR 0.2
     670
     671  set ComputeNsubjettiness 1
     672  set Beta 1.0
     673  set AxisMode 4
     674
     675  set ComputeSoftDrop 1
     676  set BetaSoftDrop 0.0
     677  set SymmetryCutSoftDrop 0.1
     678  set R0SoftDrop 0.2
     679
     680  set JetPTMin 25.0
     681}
     682
     683##################
     684# Fast Jet finder
     685##################
     686
     687module FastJetFinder FastJetFinder04 {
     688  set InputArray EFlowMerger/eflow
     689
     690  set OutputArray jets
     691
     692  # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
     693  set JetAlgorithm 6
     694  set ParameterR 0.4
     695
     696  set ComputeNsubjettiness 1
     697  set Beta 1.0
     698  set AxisMode 4
     699
     700  set ComputeSoftDrop 1
     701  set BetaSoftDrop 0.0
     702  set SymmetryCutSoftDrop 0.1
     703  set R0SoftDrop 0.4
     704
     705  set JetPTMin 25.0
     706}
     707
     708
     709##################
     710# Fast Jet finder
     711##################
     712
     713module FastJetFinder FastJetFinder08 {
     714  set InputArray EFlowMerger/eflow
     715
     716  set OutputArray jets
     717
     718  # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
     719  set JetAlgorithm 6
     720  set ParameterR 0.8
     721
     722  set ComputeNsubjettiness 1
     723  set Beta 1.0
     724  set AxisMode 4
     725
     726  set ComputeSoftDrop 1
     727  set BetaSoftDrop 0.0
     728  set SymmetryCutSoftDrop 0.1
     729  set R0SoftDrop 0.8
     730
     731  set JetPTMin 25.0
     732}
     733
     734
     735
     736##################
     737# Fast Jet finder
     738##################
     739
     740module FastJetFinder CaloJetFinder02 {
     741  set InputArray Calorimeter/towers
     742
     743  set OutputArray jets
     744
     745  # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
     746  set JetAlgorithm 6
     747  set ParameterR 0.2
     748
     749  set ComputeNsubjettiness 1
     750  set Beta 1.0
     751  set AxisMode 4
     752
     753  set ComputeSoftDrop 1
     754  set BetaSoftDrop 0.0
     755  set SymmetryCutSoftDrop 0.1
     756  set R0SoftDrop 0.2
     757
     758  set JetPTMin 25.0
     759}
     760
     761##################
     762# Fast Jet finder
     763##################
     764
     765module FastJetFinder CaloJetFinder04 {
     766  set InputArray Calorimeter/towers
     767
     768  set OutputArray jets
     769
     770  # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
     771  set JetAlgorithm 6
     772  set ParameterR 0.4
     773
     774  set ComputeNsubjettiness 1
     775  set Beta 1.0
     776  set AxisMode 4
     777
     778  set ComputeSoftDrop 1
     779  set BetaSoftDrop 0.0
     780  set SymmetryCutSoftDrop 0.1
     781  set R0SoftDrop 0.4
     782
     783  set JetPTMin 25.0
     784}
     785
     786
     787##################
     788# Fast Jet finder
     789##################
     790
     791module FastJetFinder CaloJetFinder08 {
     792  set InputArray Calorimeter/towers
     793
     794  set OutputArray jets
     795
     796  # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
     797  set JetAlgorithm 6
     798  set ParameterR 0.8
     799
     800  set ComputeNsubjettiness 1
     801  set Beta 1.0
     802  set AxisMode 4
     803
     804  set ComputeSoftDrop 1
     805  set BetaSoftDrop 0.0
     806  set SymmetryCutSoftDrop 0.1
     807  set R0SoftDrop 0.8
     808
     809  set JetPTMin 25.0
     810}
     811
     812
     813##################
     814# Fast Jet finder
     815##################
     816
     817module FastJetFinder TrackJetFinder02 {
     818  set InputArray TrackMerger/tracks
     819
     820  set OutputArray jets
     821
     822  # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
     823  set JetAlgorithm 6
     824  set ParameterR 0.2
     825
     826  set ComputeNsubjettiness 1
     827  set Beta 1.0
     828  set AxisMode 4
     829
     830  set ComputeSoftDrop 1
     831  set BetaSoftDrop 0.0
     832  set SymmetryCutSoftDrop 0.1
     833  set R0SoftDrop 0.2
     834
     835  set JetPTMin 25.0
     836}
     837
     838##################
     839# Fast Jet finder
     840##################
     841
     842module FastJetFinder TrackJetFinder04 {
     843  set InputArray TrackMerger/tracks
     844
     845  set OutputArray jets
     846
     847  # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
     848  set JetAlgorithm 6
     849  set ParameterR 0.4
     850
     851  set ComputeNsubjettiness 1
     852  set Beta 1.0
     853  set AxisMode 4
     854
     855  set ComputeSoftDrop 1
     856  set BetaSoftDrop 0.0
     857  set SymmetryCutSoftDrop 0.1
     858  set R0SoftDrop 0.4
     859
     860  set JetPTMin 25.0
     861}
     862
     863
     864##################
     865# Fast Jet finder
     866##################
     867
     868module FastJetFinder TrackJetFinder08 {
     869  set InputArray TrackMerger/tracks
     870
     871  set OutputArray jets
     872
     873  # algorithm: 1 CDFJetClu, 2 MidPoint, 3 SIScone, 4 kt, 5 Cambridge/Aachen, 6 antikt
     874  set JetAlgorithm 6
     875  set ParameterR 0.8
     876
     877  set ComputeNsubjettiness 1
     878  set Beta 1.0
     879  set AxisMode 4
     880
     881  set ComputeSoftDrop 1
     882  set BetaSoftDrop 0.0
     883  set SymmetryCutSoftDrop 0.1
     884  set R0SoftDrop 0.8
     885
     886  set JetPTMin 25.0
    561887}
    562888
     
    568894
    569895module EnergyScale JetEnergyScale {
    570   set InputArray FastJetFinder/jets
     896  set InputArray FastJetFinder04/jets
    571897  set OutputArray jets
    572898
     
    6801006
    6811007
     1008
    6821009###########
    6831010# b-tagging
     
    6921019
    6931020  (pt <= 10.0)                       * (0.00) +
    694   (abs(eta) < 2.5)                   * (pt > 10.0 && pt < 500)      * (0.001) + \
    695   (abs(eta) < 2.5)                   * (pt > 500.0 && pt < 20000.0) * (0.001)*(1.0 - pt/20000.) + \
    696   (abs(eta) < 2.5)                   * (pt > 20000.0)               * (0.000) + \
    697   (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 500)      * (0.00075) + \
    698   (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 500.0 && pt < 20000.0) * (0.00075)*(1.0 - pt/20000.) + \
    699   (abs(eta) < 2.5 && abs(eta) < 4.0) * (pt > 20000.0)               * (0.000) + \
     1021  (abs(eta) < 2.5)                   * (pt > 10.0 && pt < 500)      * (0.01) + \
     1022  (abs(eta) < 2.5)                   * (pt > 500.0 && pt < 15000.0) * (0.01)*(1.0 - pt/15000.) + \
     1023  (abs(eta) < 2.5)                   * (pt > 15000.0)               * (0.00) + \
     1024  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 500)      * (0.0075) + \
     1025  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 500.0 && pt < 15000.0) * (0.0075)*(1.0 - pt/15000.) + \
     1026  (abs(eta) < 2.5 && abs(eta) < 4.0) * (pt > 15000.0)               * (0.000) + \
    7001027  (abs(eta) > 4.0) * (0.00)}
    7011028
     
    7031030
    7041031  (pt <= 10.0)                       * (0.00) +
    705   (abs(eta) < 2.5)                   * (pt > 10.0 && pt < 500)      * (0.04) + \
    706   (abs(eta) < 2.5)                   * (pt > 500.0 && pt < 20000.0) * (0.04)*(1.0 - pt/20000.) + \
    707   (abs(eta) < 2.5)                   * (pt > 20000.0)               * (0.000) + \
     1032  (abs(eta) < 2.5)                   * (pt > 10.0 && pt < 500)      * (0.05) + \
     1033  (abs(eta) < 2.5)                   * (pt > 500.0 && pt < 15000.0) * (0.05)*(1.0 - pt/15000.) + \
     1034  (abs(eta) < 2.5)                   * (pt > 15000.0)               * (0.000) + \
    7081035  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 500)      * (0.03) + \
    709   (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 500.0 && pt < 20000.0) * (0.03)*(1.0 - pt/20000.) + \
    710   (abs(eta) < 2.5 && abs(eta) < 4.0) * (pt > 20000.0)               * (0.000) + \
     1036  (abs(eta) > 2.5 && abs(eta) < 4.0) * (pt > 500.0 && pt < 15000.0) * (0.03)*(1.0 - pt/15000.) + \
     1037  (abs(eta) < 2.5 && abs(eta) < 4.0) * (pt > 15000.0)               * (0.000) + \
    7111038  (abs(eta) > 4.0) * (0.00)}
    7121039
     
    7151042  (pt <= 10.0)                                                       * (0.00) +
    7161043  (abs(eta) < 2.5)                    * (pt > 10.0 && pt < 500)      * (0.85) +
    717   (abs(eta) < 2.5)                    * (pt > 500.0 && pt < 20000.0) * (0.85)*(1.0 - pt/20000.) +
    718   (abs(eta) < 2.5)                    * (pt > 20000.0)               * (0.000) +
     1044  (abs(eta) < 2.5)                    * (pt > 500.0 && pt < 15000.0) * (0.85)*(1.0 - pt/15000.) +
     1045  (abs(eta) < 2.5)                    * (pt > 15000.0)               * (0.000) +
    7191046  (abs(eta) >= 2.5 && abs(eta) < 4.0) * (pt > 10.0 && pt < 500)      * (0.64) +
    720   (abs(eta) >= 2.5 && abs(eta) < 4.0) * (pt > 500.0 && pt < 20000.0) * (0.64)*(1.0 - pt/20000.) +
    721   (abs(eta) <= 2.5 && abs(eta) < 4.0) * (pt > 20000.0)               * (0.000) +
     1047  (abs(eta) >= 2.5 && abs(eta) < 4.0) * (pt > 500.0 && pt < 15000.0) * (0.64)*(1.0 - pt/15000.) +
     1048  (abs(eta) <= 2.5 && abs(eta) < 4.0) * (pt > 15000.0)               * (0.000) +
    7221049  (abs(eta) >= 4.0) * (0.00)}
    7231050
     
    7421069
    7431070  (pt <= 10.0)     * (0.00) +
    744   (abs(eta) < 4.0) * (pt > 10.0) * (0.10) + \
     1071  (abs(eta) < 4.0) * (pt > 10.0) * (0.25) + \
    7451072  (abs(eta) > 4.0) * (pt > 10.0) * (0.00)}
    7461073
     
    7481075
    7491076  (pt <= 10.0)     * (0.00) +
    750   (abs(eta) < 4.0) * (pt > 10.0) * (0.25) + \
     1077  (abs(eta) < 4.0) * (pt > 10.0) * (0.03) + \
    7511078  (abs(eta) > 4.0) * (pt > 10.0) * (0.00)}
    7521079
     
    8291156  add Branch Delphes/allParticles Particle GenParticle
    8301157
    831   add Branch GenJetFinder/jets GenJet Jet
    8321158  add Branch GenMissingET/momentum GenMissingET MissingET
     1159  add Branch GenJetFinder02/jets GenJet Jet
    8331160
    8341161  add Branch TrackMerger/tracks Track Track
     
    8441171  add Branch UniqueObjectFinder/jets Jet Jet
    8451172
    846   add Branch FatJetFinder/jets FatJet Jet
     1173  add Branch GenJetFinder02/jets GenJet02 Jet
     1174  add Branch GenJetFinder04/jets GenJet04 Jet
     1175  add Branch GenJetFinder08/jets GenJet08 Jet
     1176
     1177  add Branch FastJetFinder02/jets ParticleFlowJet02 Jet
     1178  add Branch FastJetFinder04/jets ParticleFlowJet04 Jet
     1179  add Branch FastJetFinder08/jets ParticleFlowJet08 Jet
     1180
     1181  add Branch CaloJetFinder02/jets CaloJet02 Jet
     1182  add Branch CaloJetFinder04/jets CaloJet04 Jet
     1183  add Branch CaloJetFinder08/jets CaloJet08 Jet
     1184
     1185  add Branch TrackJetFinder02/jets TrackJet02 Jet
     1186  add Branch TrackJetFinder04/jets TrackJet04 Jet
     1187  add Branch TrackJetFinder08/jets TrackJet08 Jet
    8471188
    8481189  add Branch MissingET/momentum MissingET MissingET
  • cards/delphes_card_CMS.tcl

    rae061c1 r5a69ba1d  
    169169
    170170  # resolution formula for electrons
    171   # based on arXiv:1405.6569
     171  # based on arXiv:1502.02701
    172172  set ResolutionFormula {                  (abs(eta) <= 0.5) * (pt > 0.1) * sqrt(0.03^2 + pt^2*1.3e-3^2) +
    173173                         (abs(eta) > 0.5 && abs(eta) <= 1.5) * (pt > 0.1) * sqrt(0.05^2 + pt^2*1.7e-3^2) +
Note: See TracChangeset for help on using the changeset viewer.