Fork me on GitHub

Ignore:
Timestamp:
May 26, 2013, 2:14:42 AM (11 years ago)
Author:
Pavel Demin
Message:

add configuration for Weighter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/delphes_card_CMS_PileUp.tcl

    r1114 r1124  
    44
    55set ExecutionPath {
     6
     7  Weighter
    68
    79  PileUpMerger
     
    4850
    4951  TreeWriter
     52}
     53
     54##########
     55# Weighter
     56##########
     57
     58module Weighter Weighter {
     59  set InputArray Delphes/allParticles
     60
     61  set OutputArray weight
     62
     63  # add Weight {PID1 PID2} {weight}
     64  # default weight
     65  add Weight {0} {1.0}
     66
     67  add Weight {23} {0.5}
     68  add Weight {24} {0.5}
     69  add Weight {-24} {0.5}
     70  add Weight {23 24} {0.25}
     71  add Weight {23 -24} {0.25}
    5072}
    5173
     
    627649  add Branch ScalarHT/energy ScalarHT ScalarHT
    628650  add Branch Rho/rho Rho Rho
    629 }
    630 
     651  add Branch Weighter/weight Weight Weight
     652}
     653
Note: See TracChangeset for help on using the changeset viewer.