Fork me on GitHub

Changeset 33a6b3a in git


Ignore:
Timestamp:
May 19, 2021, 10:56:03 AM (3 years ago)
Author:
michele <michele.selvaggi@…>
Branches:
master
Children:
2bb6079
Parents:
7dac4ea
Message:

remove UniqueObjFinder in IDEA

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cards/delphes_card_IDEA.tcl

    r7dac4ea r33a6b3a  
    6868  TauTagging
    6969
    70   UniqueObjectFinder
    71 
    72   ScalarHT
    7370  TreeWriter
    7471}
     
    8077module TruthVertexFinder TruthVertexFinder {
    8178
    82   ## below this distance two vertices are assumed to be the same
     79  ## below this distance two vertices are assumed to be merged
    8380  set Resolution 1E-06
    8481
     
    120117    set EfficiencyFormula {
    121118        (abs(eta) > 3.0)                                       * (0.000) +
    122         (energy >= 0.5) * (abs(eta) <= 3.0)                    * (0.997) +
    123         (energy < 0.5 && energy >= 0.3) * (abs(eta) <= 3.0)    * (0.65) +
    124         (energy < 0.3) * (abs(eta) <= 3.0)                     * (0.06)
     119        (pt >= 0.5) * (abs(eta) <= 3.0)                    * (0.997) +
     120        (pt < 0.5 && pt >= 0.3) * (abs(eta) <= 3.0)    * (0.65) +
     121        (pt < 0.3) * (abs(eta) <= 3.0)                     * (0.06)
    125122    }
    126123}
     
    140137    set EfficiencyFormula {
    141138        (abs(eta) > 3.0)                                       * (0.000) +
    142         (energy >= 0.5) * (abs(eta) <= 3.0)                    * (0.997) +
    143         (energy < 0.5 && energy >= 0.3) * (abs(eta) <= 3.0)    * (0.65) +
    144         (energy < 0.3) * (abs(eta) <= 3.0)                     * (0.06)
     139        (pt >= 0.5) * (abs(eta) <= 3.0)                    * (0.997) +
     140        (pt < 0.5 && pt >= 0.3) * (abs(eta) <= 3.0)    * (0.65) +
     141        (pt < 0.3) * (abs(eta) <= 3.0)                     * (0.06)
    145142    }
    146143}
     
    158155    set EfficiencyFormula {
    159156        (abs(eta) > 3.0)                                       * (0.000) +
    160         (energy >= 0.5) * (abs(eta) <= 3.0)                    * (0.997) +
    161         (energy < 0.5 && energy >= 0.3) * (abs(eta) <= 3.0)    * (0.65) +
    162         (energy < 0.3) * (abs(eta) <= 3.0)                     * (0.06)
     157        (pt >= 0.5) * (abs(eta) <= 3.0)                    * (0.997) +
     158        (pt < 0.5 && pt >= 0.3) * (abs(eta) <= 3.0)    * (0.65) +
     159        (pt < 0.3) * (abs(eta) <= 3.0)                     * (0.06)
    163160    }
    164161}
     
    417414
    418415  # 0: assume vertex time tV from MC Truth (ideal case)
    419   # 1: assume vertex time tV=0
     416  # 1: assume vertex time tV = 0
    420417  # 2: calculate vertex time as vertex TOF, assuming tPV=0
     418
    421419  set VertexTimeMode 2
    422 
    423 }
    424 
     420}
    425421
    426422##############
     
    826822
    827823
    828 #####################################################
    829 # Find uniquely identified photons/electrons/tau/jets
    830 #####################################################
    831 
    832 module UniqueObjectFinder UniqueObjectFinder {
    833 
    834   set UseUniqueID true
    835 # earlier arrays take precedence over later ones
    836 # add InputArray InputArray OutputArray
    837   add InputArray PhotonIsolation/photons photons
    838   add InputArray ElectronIsolation/electrons electrons
    839   add InputArray MuonIsolation/muons muons
    840   add InputArray JetEnergyScale/jets jets
    841 }
    842 
    843824
    844825##################
     
    854835
    855836    add Branch Delphes/allParticles Particle GenParticle
     837    add Branch TruthVertexFinder/vertices GenVertex Vertex
    856838
    857839    add Branch TrackMerger/tracks Track Track
     
    869851    add Branch GenMissingET/momentum GenMissingET MissingET
    870852
    871     add Branch UniqueObjectFinder/jets Jet Jet
    872     add Branch UniqueObjectFinder/electrons Electron Electron
    873     add Branch UniqueObjectFinder/photons Photon Photon
    874     add Branch UniqueObjectFinder/muons Muon Muon
     853    add Branch JetEnergyScale/jets Jet Jet
     854    add Branch ElectronIsolation/electrons Electron Electron
     855    add Branch PhotonIsolation/photons Photon Photon
     856    add Branch MuonIsolation/muons Muon Muon
    875857
    876858    add Branch JetEnergyScale/jets AntiKtJet Jet
    877859
    878860    add Branch MissingET/momentum MissingET MissingET
    879     add Branch ScalarHT/energy ScalarHT ScalarHT
    880861
    881862    # add Info InfoName InfoValue
Note: See TracChangeset for help on using the changeset viewer.