Fork me on GitHub

Changeset 576428a in git for cards


Ignore:
Timestamp:
Apr 25, 2016, 10:35:40 AM (9 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
2aaf039
Parents:
a0236d5
Message:

inverted isolation and efficiency in cards

Location:
cards
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cards/CMS_PhaseII_0PU.tcl

    ra0236d5 r576428a  
    3232  EFlowMerger
    3333
     34  PhotonIsolation
    3435  PhotonEfficiency
    35   PhotonIsolation
    36 
    37   ElectronFilter
     36 
     37  ElectronFilter
     38  ElectronIsolation
    3839  ElectronEfficiency
    39   ElectronIsolation
    40 
     40 
     41  MuonIsolation
    4142  MuonEfficiency
    42   MuonIsolation
    43 
     43 
    4444  NeutrinoFilter
    4545
     
    670670}
    671671
     672####################
     673# Photon isolation #
     674####################
     675
     676module Isolation PhotonIsolation {
     677 
     678  # particle for which calculate the isolation
     679  set CandidateInputArray ECal/eflowPhotons
     680 
     681  # isolation collection
     682  set IsolationInputArray EFlowMerger/eflow
     683 
     684  # output array
     685  set OutputArray photons
     686 
     687  # isolation cone
     688  set DeltaRMax 0.3
     689 
     690  # minimum pT 
     691  set PTMin     1.0
     692 
     693  # iso ratio to cut
     694  set PTRatioMax 9999.
     695}
     696
     697
    672698
    673699#####################
     
    678704 
    679705  ## input particles
    680   set InputArray ECal/eflowPhotons
     706  set InputArray PhotonIsolation/photons
    681707  ## output particles
    682708  set OutputArray photons
     
    690716}
    691717
    692 ####################
    693 # Photon isolation #
    694 ####################
    695 
    696 module Isolation PhotonIsolation {
    697  
    698   # particle for which calculate the isolation
    699   set CandidateInputArray PhotonEfficiency/photons
     718
     719######################
     720# Electron isolation #
     721######################
     722
     723module Isolation ElectronIsolation {
     724 
     725  set CandidateInputArray ElectronFilter/electrons
    700726 
    701727  # isolation collection
    702728  set IsolationInputArray EFlowMerger/eflow
    703  
    704   # output array
    705   set OutputArray photons
    706  
    707   # isolation cone
     729 
     730  set OutputArray electrons
     731 
    708732  set DeltaRMax 0.3
    709  
    710   # minimum pT 
    711   set PTMin     1.0
    712  
    713   # iso ratio to cut
     733  set PTMin 1.0
    714734  set PTRatioMax 9999.
    715 }
     735
     736}
     737
    716738
    717739
     
    722744module Efficiency ElectronEfficiency {
    723745 
    724   set InputArray ElectronFilter/electrons
     746  set InputArray ElectronIsolation/electrons
    725747  set OutputArray electrons
    726748 
     
    760782}
    761783
    762 ######################
    763 # Electron isolation #
    764 ######################
    765 
    766 module Isolation ElectronIsolation {
    767  
    768   set CandidateInputArray ElectronEfficiency/electrons
    769  
     784##################
     785# Muon isolation #
     786##################
     787
     788module Isolation MuonIsolation {
     789  set CandidateInputArray MuonMomentumSmearing/muons
     790 
    770791  # isolation collection
    771792  set IsolationInputArray EFlowMerger/eflow
    772   
    773   set OutputArray electrons
     793 
     794  set OutputArray muons
    774795 
    775796  set DeltaRMax 0.3
     
    780801
    781802
    782 
    783803###################
    784804# Muon efficiency #
     
    787807module Efficiency MuonEfficiency {
    788808 
    789   set InputArray MuonMomentumSmearing/muons
     809  set InputArray MuonIsolation/muons
    790810 
    791811  set OutputArray muons
     
    805825
    806826
    807 
    808 ##################
    809 # Muon isolation #
    810 ##################
    811 
    812 module Isolation MuonIsolation {
    813   set CandidateInputArray MuonEfficiency/muons
    814  
    815   # isolation collection
    816   set IsolationInputArray EFlowMerger/eflow
    817  
    818   set OutputArray muons
    819  
    820   set DeltaRMax 0.3
    821   set PTMin 1.0
    822   set PTRatioMax 9999.
    823 
    824 }
    825827
    826828
  • cards/CMS_PhaseII_200PU.tcl

    ra0236d5 r576428a  
    4242  RunPUPPI
    4343
     44  PhotonIsolation
    4445  PhotonEfficiency
    45   PhotonIsolation
    46 
     46 
     47  ElectronIsolation
    4748  ElectronEfficiency
    48   ElectronIsolation
    49 
     49 
     50  MuonIsolation
    5051  MuonEfficiency
    51   MuonIsolation
    52 
     52 
    5353  NeutrinoFilter
    5454
     
    804804
    805805
     806####################
     807# Photon isolation #
     808####################
     809
     810module Isolation PhotonIsolation {
     811 
     812  # particle for which calculate the isolation
     813  set CandidateInputArray ECal/eflowPhotons
     814 
     815  # isolation collection
     816  set IsolationInputArray EFlowMerger/eflow
     817 
     818  # output array
     819  set OutputArray photons
     820 
     821  # isolation cone
     822  set DeltaRMax 0.3
     823 
     824  # minimum pT 
     825  set PTMin     1.0
     826 
     827  # iso ratio to cut
     828  set PTRatioMax 9999.
     829}
     830
     831
     832
    806833#####################
    807834# Photon efficiency #
     
    811838 
    812839  ## input particles
    813   set InputArray ECal/eflowPhotons
     840  set InputArray PhotonIsolation/photons
    814841  ## output particles
    815842  set OutputArray photons
     
    823850}
    824851
    825 ####################
    826 # Photon isolation #
    827 ####################
    828 
    829 module Isolation PhotonIsolation {
    830  
    831   # particle for which calculate the isolation
    832   set CandidateInputArray PhotonEfficiency/photons
     852
     853######################
     854# Electron isolation #
     855######################
     856
     857module Isolation ElectronIsolation {
     858 
     859  set CandidateInputArray ElectronFilter/electrons
    833860 
    834861  # isolation collection
    835   set IsolationInputArray RunPUPPI/PuppiParticles
    836  
    837   # output array
    838   set OutputArray photons
    839  
    840   # isolation cone
     862  set IsolationInputArray EFlowMerger/eflow
     863 
     864  set OutputArray electrons
     865 
    841866  set DeltaRMax 0.3
    842  
    843   # minimum pT 
    844   set PTMin     1.0
    845  
    846   # iso ratio to cut
     867  set PTMin 1.0
    847868  set PTRatioMax 9999.
    848 }
     869
     870}
     871
    849872
    850873
     
    855878module Efficiency ElectronEfficiency {
    856879 
    857   set InputArray ElectronFilter/electrons
     880  set InputArray ElectronIsolation/electrons
    858881  set OutputArray electrons
    859882 
     
    893916}
    894917
    895 ######################
    896 # Electron isolation #
    897 ######################
    898 
    899 module Isolation ElectronIsolation {
    900  
    901   set CandidateInputArray ElectronEfficiency/electrons
    902  
     918##################
     919# Muon isolation #
     920##################
     921
     922module Isolation MuonIsolation {
     923  set CandidateInputArray MuonMomentumSmearing/muons
     924 
    903925  # isolation collection
    904   set IsolationInputArray RunPUPPI/PuppiParticles
    905   
    906   set OutputArray electrons
     926  set IsolationInputArray EFlowMerger/eflow
     927 
     928  set OutputArray muons
    907929 
    908930  set DeltaRMax 0.3
     
    913935
    914936
    915 
    916937###################
    917938# Muon efficiency #
     
    920941module Efficiency MuonEfficiency {
    921942 
    922   set InputArray MuonMomentumSmearing/muons
     943  set InputArray MuonIsolation/muons
    923944 
    924945  set OutputArray muons
     
    937958}
    938959
    939 
    940 
    941 ##################
    942 # Muon isolation #
    943 ##################
    944 
    945 module Isolation MuonIsolation {
    946   set CandidateInputArray MuonEfficiency/muons
    947  
    948   # isolation collection
    949   set IsolationInputArray RunPUPPI/PuppiParticles
    950  
    951   set OutputArray muons
    952  
    953   set DeltaRMax 0.3
    954   set PTMin 1.0
    955   set PTRatioMax 9999.
    956 
    957 }
    958960
    959961
Note: See TracChangeset for help on using the changeset viewer.