Fork me on GitHub

Ignore:
Timestamp:
Mar 9, 2014, 12:10:05 PM (11 years ago)
Author:
Michele Selvaggi
Message:

separated Photon and Neutral Hadron components in particle algorithm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/delphes_card_CMS_PileUp.tcl

    r1349 r1357  
     1
    12#######################################
    23# Order of execution of various modules
     
    1920  Calorimeter
    2021  TrackPileUpSubtractor
     22  NeutralTowerMerger
    2123  EFlowMerger
    2224
     
    253255
    254256  set EFlowTrackOutputArray eflowTracks
    255   set EFlowTowerOutputArray eflowTowers
     257  set EFlowPhotonOutputArray eflowPhotons
     258  set EFlowNeutralHadronOutputArray eflowNeutralHadrons
    256259
    257260  set pi [expr {acos(-1)}]
     
    334337
    335338####################
     339# Neutral tower merger
     340####################
     341
     342module Merger NeutralTowerMerger {
     343# add InputArray InputArray
     344  add InputArray Calorimeter/eflowPhotons
     345  add InputArray Calorimeter/eflowNeutralHadrons
     346  set OutputArray eflowTowers
     347}
     348
     349
     350####################
    336351# Energy flow merger
    337352####################
     
    340355# add InputArray InputArray
    341356  add InputArray TrackPileUpSubtractor/eflowTracks
    342   add InputArray Calorimeter/eflowTowers
     357  add InputArray Calorimeter/eflowPhotons
     358  add InputArray Calorimeter/eflowNeutralHadrons
    343359  set OutputArray eflow
    344360}
     361
    345362
    346363#############
     
    412429  set JetInputArray FastJetFinder/jets
    413430  set TrackInputArray Calorimeter/eflowTracks
    414   set NeutralInputArray Calorimeter/eflowTowers
     431  set NeutralInputArray NeutralTowerMerger/eflowTowers
    415432
    416433  set VertexInputArray PileUpMerger/vertices
     
    457474
    458475module Efficiency PhotonEfficiency {
    459   set InputArray Calorimeter/photons
     476  set InputArray Calorimeter/eflowPhotons
    460477  set OutputArray photons
    461478
     
    468485                         (abs(eta) > 2.5)                                   * (0.00)}
    469486}
     487
    470488
    471489##################
     
    565583module Merger MissingET {
    566584# add InputArray InputArray
    567   add InputArray Calorimeter/eflowTracks
    568   add InputArray Calorimeter/eflowTowers
     585  add InputArray EFlowMerger/eflow
    569586  set MomentumOutputArray momentum
    570587}
     588
     589
    571590
    572591##################
     
    656675##################
    657676
     677# tracks, towers and eflow objects are not stored by default in the output.
     678# if needed (for jet constituent or other studies), uncomment the relevant
     679# "add Branch ..." lines.
     680
     681
    658682module TreeWriter TreeWriter {
    659683# add Branch InputArray BranchName BranchClass
     684 
    660685  add Branch Delphes/allParticles Particle GenParticle
    661   add Branch TrackMerger/tracks Track Track
    662   add Branch Calorimeter/towers Tower Tower
    663   add Branch Calorimeter/eflowTracks EFlowTrack Track
    664   add Branch Calorimeter/eflowTowers EFlowTower Tower
     686
     687#  add Branch TrackMerger/tracks Track Track
     688#  add Branch Calorimeter/towers Tower Tower
     689#  add Branch Calorimeter/eflowTracks EFlowTrack Track
     690#  add Branch Calorimeter/eflowPhotons EFlowPhoton Tower
     691#  add Branch Calorimeter/eflowNeutralHadrons EFlowNeutralHadron Tower
     692
    665693  add Branch GenJetFinder/jets GenJet Jet
    666694  add Branch UniqueObjectFinder/jets Jet Jet
Note: See TracChangeset for help on using the changeset viewer.