Fork me on GitHub

Changeset b24f05a in git for cards/CMS_PhaseII


Ignore:
Timestamp:
Jun 6, 2018, 7:34:16 PM (6 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
8a58fff
Parents:
ec37bc3
Message:

push PhaseII final card

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cards/CMS_PhaseII/CMS_PhaseII_200PU_v03.tcl

    rec37bc3 rb24f05a  
    1 set RandomSeed 123
    2 set MaxEvents 10
    3 
    41########################################
    52#
     
    3835  HCal
    3936
    40   MuonFilter
    41 
    4237  PhotonEnergySmearing
    4338  ElectronFilter
     
    167162
    168163
    169 #################################
    170 # Dense Track propagation calo
    171 #################################
     164#####################################
     165# Track propagation to calorimeters
     166#####################################
    172167
    173168module ParticlePropagator ParticlePropagator {
     
    203198
    204199
    205 #################################
    206 # Dense Track propagation
    207 #################################
     200####################################
     201# Track propagation to pseudo-pixel
     202####################################
    208203
    209204module ParticlePropagator DenseProp {
    210205
    211206  set InputArray TrackMergerProp/tracks
    212 
    213   set OutputArray stableParticles
    214   set NeutralOutputArray neutralParticles
    215   set ChargedHadronOutputArray chargedHadrons
    216   set ElectronOutputArray electrons
    217   set MuonOutputArray muons
    218207
    219208  # radius of the first pixel layer
     
    246235
    247236module DenseTrackFilter DenseTrackFilter {
     237
    248238  set TrackInputArray DenseMergeTracks/tracks
     239
    249240  set TrackOutputArray tracks
    250 
    251241  set ChargedHadronOutputArray chargedHadrons
    252242  set ElectronOutputArray electrons
     
    446436
    447437
     438#################################
     439# Energy resolution for electrons
     440#################################
     441
     442module EnergySmearing ElectronEnergySmearing {
     443  set InputArray ElectronTrackingEfficiency/electrons
     444  set OutputArray electrons
     445
     446  # set ResolutionFormula {resolution formula as a function of eta and energy}
     447
     448  # resolution formula for electrons
     449
     450  # taking something flat in energy for now, ECAL will take over at high energy anyway.
     451  # inferred from hep-ex/1306.2016 and 1502.02701
     452  set ResolutionFormula {
     453
     454                        (abs(eta) <= 1.5)  * (energy*0.028) +
     455    (abs(eta) > 1.5  && abs(eta) <= 1.75)  * (energy*0.037) +
     456    (abs(eta) > 1.75  && abs(eta) <= 2.15) * (energy*0.038) +
     457    (abs(eta) > 2.15  && abs(eta) <= 3.00) * (energy*0.044) +
     458    (abs(eta) > 3.00  && abs(eta) <= 4.00) * (energy*0.10)}
     459
     460}
     461
     462###############################
     463# Momentum resolution for muons
     464###############################
     465
     466module MomentumSmearing MuonMomentumSmearing {
     467  set InputArray MuonTrackingEfficiency/muons
     468  set OutputArray muons
     469  # resolution formula for muons
     470
     471  # up to |eta| < 2.8 take measurement from tracking + muon chambers
     472  # for |eta| > 2.8 and pT < 5.0 take measurement from tracking alone taken from
     473  # http://mersi.web.cern.ch/mersi/layouts/.private/Baseline_tilted_200_Pixel_1_1_1/index.html
     474  source muonMomentumResolution.tcl
     475}
     476
     477
     478
    448479##############
    449480# Track merger
     
    457488  set OutputArray tracks
    458489}
    459 
    460 #################################
    461 # Energy resolution for electrons
    462 #################################
    463 
    464 module EnergySmearing ElectronEnergySmearing {
    465   set InputArray ElectronTrackingEfficiency/electrons
    466   set OutputArray electrons
    467 
    468   # set ResolutionFormula {resolution formula as a function of eta and energy}
    469 
    470   # resolution formula for electrons
    471 
    472   # taking something flat in energy for now, ECAL will take over at high energy anyway.
    473   # inferred from hep-ex/1306.2016 and 1502.02701
    474   set ResolutionFormula {
    475 
    476                         (abs(eta) <= 1.5)  * (energy*0.028) +
    477     (abs(eta) > 1.5  && abs(eta) <= 1.75)  * (energy*0.037) +
    478     (abs(eta) > 1.75  && abs(eta) <= 2.15) * (energy*0.038) +
    479     (abs(eta) > 2.15  && abs(eta) <= 3.00) * (energy*0.044) +
    480     (abs(eta) > 3.00  && abs(eta) <= 4.00) * (energy*0.10)}
    481 
    482 }
    483 
    484 ###############################
    485 # Momentum resolution for muons
    486 ###############################
    487 
    488 module MomentumSmearing MuonMomentumSmearing {
    489   set InputArray MuonTrackingEfficiency/muons
    490   set OutputArray muons
    491   # resolution formula for muons
    492 
    493   # up to |eta| < 2.8 take measurement from tracking + muon chambers
    494   # for |eta| > 2.8 and pT < 5.0 take measurement from tracking alone taken from
    495   # http://mersi.web.cern.ch/mersi/layouts/.private/Baseline_tilted_200_Pixel_1_1_1/index.html
    496   source muonMomentumResolution.tcl
    497 }
    498 
    499 
    500490
    501491
     
    721711}
    722712
    723 #################
    724 # Muon filter
    725 #################
    726 
    727 module PdgCodeFilter MuonFilter {
    728   set InputArray HCal/eflowTracks
    729   set OutputArray muons
    730   set Invert true
    731   add PdgCode {13}
    732   add PdgCode {-13}
    733 }
    734713
    735714
     
    742721  add InputArray HCal/eflowTracks eflowTracks
    743722  add InputArray ElectronFilter/electrons electrons
    744   add InputArray MuonFilter/muons muons
     723  add InputArray MuonMomentumSmearing/muons muons
    745724
    746725  set VertexInputArray PileUpMerger/vertices
     
    12001179
    12011180module Cloner MuonCloner {
    1202   set InputArray MuonFilter/muons
     1181  set InputArray MuonMomentumSmearing/muons
    12031182  set OutputArray muons
    12041183}
     
    22072186
    22082187module Isolation MuonIsolation {
    2209   set CandidateInputArray MuonFilter/muons
     2188  set CandidateInputArray MuonMomentumSmearing/muons
    22102189
    22112190  # isolation collection
     
    41224101  add Branch GenMissingET/momentum GenMissingET MissingET
    41234102
    4124   add Branch TrackMerger/tracks TrackMerger Track
    4125   add Branch HCal/eflowTracks EFlowTrack Track
    41264103#  add Branch HCal/eflowTracks EFlowTrack Track
    41274104#  add Branch ECal/eflowPhotons EFlowPhoton Tower
Note: See TracChangeset for help on using the changeset viewer.