Fork me on GitHub

Ignore:
Timestamp:
Oct 6, 2015, 4:26:29 PM (9 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
c4b2aae
Parents:
b3c0535
Message:

replace ElectronEnergySmearing with ElectronMomentumSmearing and add ElectronFilter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cards/delphes_card_FCC_basic.tcl

    rb3c0535 r934d037  
    1111
    1212  ChargedHadronMomentumSmearing
    13   ElectronEnergySmearing
     13  ElectronMomentumSmearing
    1414  MuonMomentumSmearing
    1515
     
    2020  ECal
    2121  HCal
     22
     23  ElectronFilter
    2224
    2325  TowerMerger
     
    136138}
    137139
    138 #################################
    139 # Energy resolution for electrons
    140 #################################
    141 
    142 module EnergySmearing ElectronEnergySmearing {
     140###################################
     141# Momentum resolution for electrons
     142###################################
     143
     144module MomentumSmearing ElectronMomentumSmearing {
    143145  set InputArray ElectronTrackingEfficiency/electrons
    144146  set OutputArray electrons
     
    147149
    148150  # resolution formula for electrons
    149   set ResolutionFormula {                  (abs(eta) <= 4.0) * (energy > 0.1   && energy <= 2.0e1) * (energy*0.007) +
    150                                            (abs(eta) <= 4.0) * (energy > 2.0e1)                    * sqrt(energy^2*0.005^2 + energy*0.02^2) +
    151                                            (abs(eta) > 4.0 && abs(eta) <= 6.0)                     * sqrt(energy^2*0.05^2 + energy*1.00^2)}
    152 
     151  set ResolutionFormula {    (abs(eta) <= 1.5)                   * (pt > 0.1) * (0.01 + pt*2.e-5) +
     152                             (abs(eta) > 1.5 && abs(eta) <= 4.0) * (pt > 0.1) * (0.02 + pt*3.e-5)}
    153153}
    154154
     
    177177# add InputArray InputArray
    178178  add InputArray ChargedHadronMomentumSmearing/chargedHadrons
    179   add InputArray ElectronEnergySmearing/electrons
     179  add InputArray ElectronMomentumSmearing/electrons
    180180  add InputArray MuonMomentumSmearing/muons
    181181  set OutputArray tracks
     
    183183
    184184
    185 ################################
     185########################
    186186# Track angular smearing
    187 ################################
     187########################
    188188
    189189module AngularSmearing AngularSmearing {
     
    200200}
    201201
    202 ################################
     202#################################
    203203# Track impact parameter smearing
    204 ################################
     204#################################
    205205
    206206module ImpactParameterSmearing ImpactParameterSmearing {
     
    350350}
    351351
    352 ####################
     352#################
     353# Electron filter
     354#################
     355
     356module PdgCodeFilter ElectronFilter {
     357  set InputArray Calorimeter/eflowTracks
     358  set OutputArray electrons
     359  set Invert true
     360  add PdgCode {11}
     361  add PdgCode {-11}
     362}
     363
     364###################################################
    353365# Tower Merger (in case not using e-flow algorithm)
    354 ####################
     366###################################################
    355367
    356368module Merger TowerMerger {
     
    395407}
    396408
    397 #####################
     409#################
    398410# Neutrino Filter
    399 #####################
     411#################
    400412
    401413module PdgCodeFilter NeutrinoFilter {
     
    488500
    489501
    490 ##########################
     502#############
    491503# tau-tagging
    492 ##########################
     504#############
    493505
    494506
     
    525537  add Branch ECal/eflowPhotons Photon Photon
    526538
    527   add Branch ElectronEnergySmearing/electrons Electron Electron
     539  add Branch ElectronFilter/electrons Electron Electron
    528540  add Branch MuonMomentumSmearing/muons Muon Muon
    529541  add Branch JetEnergyScale/jets Jet Jet
Note: See TracChangeset for help on using the changeset viewer.