Fork me on GitHub

Changeset f3c6a97 in git


Ignore:
Timestamp:
Nov 5, 2015, 2:53:23 PM (9 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
386e60f
Parents:
31def62
Message:

cloning muons in IP smearing broke iso, fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cards/delphes_card_ILD.tcl

    r31def62 rf3c6a97  
    1717
    1818  TrackMerger
    19   AngularSmearing
    20   ImpactParameterSmearing
    21 
     19 
    2220  ECal
    2321  HCal
    2422
    25   ElectronFilter
    26 
    2723  TowerMerger
    2824  EFlowMerger
     25
     26  PhotonEfficiency
     27  PhotonIsolation
     28
     29  ElectronFilter
     30  ElectronEfficiency
     31  ElectronIsolation
     32
     33  MuonEfficiency
     34  MuonIsolation
    2935
    3036  MissingET
     
    4349
    4450  ScalarHT
     51
     52  UniqueObjectFinder
    4553
    4654  TreeWriter
     
    176184}
    177185
    178 
    179 ########################
    180 # Track angular smearing
    181 ########################
    182 
    183 module AngularSmearing AngularSmearing {
    184   set InputArray TrackMerger/tracks
    185   set OutputArray tracks
    186 
    187 
    188   # angular smearing  in eta formula as a function of pt and eta
    189   set EtaResolutionFormula { 0.001 }
    190 
    191   # angular smearing  in phi formula as a function of pt and eta
    192   set PhiResolutionFormula { 0.001 }
    193 
    194 }
    195 
    196 #################################
    197 # Track impact parameter smearing
    198 #################################
    199 
    200 module ImpactParameterSmearing ImpactParameterSmearing {
    201   set InputArray AngularSmearing/tracks
    202   set OutputArray tracks
    203 
    204 
    205   # absolute impact parameter smearing formula (in mm) as a function of pt and eta
    206   set ResolutionFormula {0.010/sqrt(pt)}
    207 }
    208 
    209186#############
    210187#   ECAL
     
    213190module SimpleCalorimeter ECal {
    214191  set ParticleInputArray ParticlePropagator/stableParticles
    215   set TrackInputArray ImpactParameterSmearing/tracks
     192  set TrackInputArray TrackMerger/tracks
    216193
    217194  set TowerOutputArray ecalTowers
     
    477454}
    478455
     456###################
     457# Photon efficiency
     458###################
     459
     460module Efficiency PhotonEfficiency {
     461  set InputArray ECal/eflowPhotons
     462  set OutputArray photons
     463
     464  # set EfficiencyFormula {efficiency formula as a function of eta and pt}
     465
     466  # efficiency formula for photons
     467  set EfficiencyFormula {                                      (pt <= 10.0) * (0.00) +
     468                                           (abs(eta) <= 1.5) * (pt > 10.0)  * (0.95) +
     469                         (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0)  * (0.95) +
     470                         (abs(eta) > 2.5)                                   * (0.00)}
     471}
     472
     473##################
     474# Photon isolation
     475##################
     476
     477module Isolation PhotonIsolation {
     478  set CandidateInputArray PhotonEfficiency/photons
     479  set IsolationInputArray EFlowMerger/eflow
     480
     481  set OutputArray photons
     482
     483  set DeltaRMax 0.5
     484
     485  set PTMin 0.5
     486
     487  set PTRatioMax 0.1
     488}
     489
     490#####################
     491# Electron efficiency
     492#####################
     493
     494module Efficiency ElectronEfficiency {
     495  set InputArray ElectronFilter/electrons
     496  set OutputArray electrons
     497
     498  # set EfficiencyFormula {efficiency formula as a function of eta and pt}
     499
     500  # efficiency formula for electrons
     501  set EfficiencyFormula {                                      (pt <= 10.0) * (0.00) +
     502                                           (abs(eta) <= 1.5) * (pt > 10.0)  * (0.95) +
     503                         (abs(eta) > 1.5 && abs(eta) <= 2.5) * (pt > 10.0)  * (0.95) +
     504                         (abs(eta) > 2.5)                                   * (0.00)}
     505}
     506
     507####################
     508# Electron isolation
     509####################
     510
     511module Isolation ElectronIsolation {
     512  set CandidateInputArray ElectronEfficiency/electrons
     513  set IsolationInputArray EFlowMerger/eflow
     514
     515  set OutputArray electrons
     516
     517  set DeltaRMax 0.5
     518
     519  set PTMin 0.5
     520
     521  set PTRatioMax 0.1
     522}
     523
     524#################
     525# Muon efficiency
     526#################
     527
     528module Efficiency MuonEfficiency {
     529  set InputArray MuonMomentumSmearing/muons
     530  set OutputArray muons
     531
     532  # set EfficiencyFormula {efficiency as a function of eta and pt}
     533
     534  # efficiency formula for muons
     535  set EfficiencyFormula {                                      (pt <= 10.0)               * (0.00) +
     536                                           (abs(eta) <= 1.5) * (pt > 10.0 && pt <= 1.0e3) * (0.95) +
     537                                           (abs(eta) <= 1.5) * (pt > 1.0e3)               * (0.95 * exp(0.5 - pt*5.0e-4)) +
     538                         (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 10.0 && pt <= 1.0e3) * (0.95) +
     539                         (abs(eta) > 1.5 && abs(eta) <= 2.4) * (pt > 1.0e3)               * (0.95 * exp(0.5 - pt*5.0e-4)) +
     540                         (abs(eta) > 2.4)                                                 * (0.00)}
     541}
     542
     543################
     544# Muon isolation
     545################
     546
     547module Isolation MuonIsolation {
     548  set CandidateInputArray MuonEfficiency/muons
     549  set IsolationInputArray EFlowMerger/eflow
     550
     551  set OutputArray muons
     552
     553  set DeltaRMax 0.5
     554
     555  set PTMin 0.5
     556
     557  set PTRatioMax 0.1
     558}
     559
     560
    479561###########
    480562# b-tagging
     
    526608}
    527609
     610#####################################################
     611# Find uniquely identified photons/electrons/tau/jets
     612#####################################################
     613
     614module UniqueObjectFinder UniqueObjectFinder {
     615# earlier arrays take precedence over later ones
     616# add InputArray InputArray OutputArray
     617  add InputArray PhotonIsolation/photons photons
     618  add InputArray ElectronIsolation/electrons electrons
     619  add InputArray MuonIsolation/muons muons
     620  add InputArray JetEnergyScale/jets jets
     621}
     622
     623
    528624##################
    529625# ROOT tree writer
     
    535631  add Branch GenJetFinder/jets GenJet Jet
    536632
    537   add Branch AngularSmearing/tracks Track Track
    538633  add Branch TowerMerger/towers Tower Tower
    539634
    540635  add Branch ChargedHadronMomentumSmearing/chargedHadrons ChargedHadron Track
    541636  add Branch HCal/eflowNeutralHadrons NeutralHadron Tower
    542   add Branch ECal/eflowPhotons Photon Photon
    543 
    544   add Branch ElectronFilter/electrons Electron Electron
    545   add Branch MuonMomentumSmearing/muons Muon Muon
    546   add Branch JetEnergyScale/jets Jet Jet
     637 
     638  add Branch UniqueObjectFinder/photons Photon Photon
     639  add Branch UniqueObjectFinder/electrons Electron Electron
     640  add Branch UniqueObjectFinder/muons Muon Muon
     641  add Branch UniqueObjectFinder/jets Jet Jet
     642 
    547643  add Branch MissingET/momentum MissingET MissingET
    548644  add Branch ScalarHT/energy ScalarHT ScalarHT
Note: See TracChangeset for help on using the changeset viewer.