Fork me on GitHub

Changeset 26a21bd in git for cards/delphes_card_IDEA.tcl


Ignore:
Timestamp:
Oct 15, 2021, 5:23:17 PM (3 years ago)
Author:
michele <michele.selvaggi@…>
Branches:
master
Children:
78e1fb3
Parents:
a3784f9
Message:

added missing loopers to eflowtracks, fixed missing bin in dr calo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cards/delphes_card_IDEA.tcl

    ra3784f9 r26a21bd  
     1set RandomSeed 123
     2
    13####################################################################                                l
    24# FCC-ee IDEA detector model
     
    4042
    4143  TrackMerger
     44  ForwardLooperTracks
    4245  Calorimeter
    4346
     
    4548  TimeOfFlightNeutralHadron
    4649
     50  EFlowTrackMerger
    4751  EFlowMerger
    4852
     
    121125    set UseMomentumVector true
    122126
    123     # We use only one efficiency, we set only 0 effincency out of eta bounds:
    124127    set EfficiencyFormula {
    125128        (abs(eta) > 2.56)                                  * (0.000) +
    126         (pt < 0.1) * (abs(eta) <= 2.56)                    * (0.000)
     129        (pt < 0.1) * (abs(eta) <= 2.56)                    * (0.000) +
    127130        (pt >= 0.1) * (abs(eta) <= 2.56)                   * (1.000)
    128131    }
     
    140143    set UseMomentumVector true
    141144
    142     # Current full simulation with CLICdet provides for electrons:
    143145    set EfficiencyFormula {
    144146        (abs(eta) > 2.56)                                  * (0.000) +
    145         (pt < 0.1) * (abs(eta) <= 2.56)                    * (0.000)
     147        (pt < 0.1) * (abs(eta) <= 2.56)                    * (0.000) +
    146148        (pt >= 0.1) * (abs(eta) <= 2.56)                   * (1.000)
    147149    }
     
    158160    set UseMomentumVector true
    159161
    160     # Current full simulation with CLICdet provides for muons:
    161162    set EfficiencyFormula {
    162163        (abs(eta) > 2.56)                                  * (0.000) +
    163         (pt < 0.1) * (abs(eta) <= 2.56)                    * (0.000)
     164        (pt < 0.1) * (abs(eta) <= 2.56)                    * (0.000) +
    164165        (pt >= 0.1) * (abs(eta) <= 2.56)                   * (1.000)
    165166    }
     
    177178  set OutputArray tracks
    178179}
     180
    179181
    180182
     
    437439
    438440
     441######################
     442# Looper Selection
     443######################
     444
     445module Efficiency ForwardLooperTracks  {
     446  set InputArray TrackMerger/tracks
     447  set OutputArray tracks
     448  set UseMomentumVector False
     449
     450  ## select looping tracks that end up in position |eta| > 3.142 (lost by calo)
     451  set EfficiencyFormula {
     452    (abs(eta) > 3.0 )                                 * (1.000) +
     453    (abs(eta) <= 3.0 )                                * (0.000)
     454  }
     455
     456}
     457
     458
    439459#############
    440460# Calorimeter
     
    488508    #deta=0.02 units for 0.88 < |eta| <= 3.0
    489509    #first, from -3.0 to -0.88
    490     for {set i 1} {$i <=106} {incr i} {
     510    for {set i 0} {$i <=106} {incr i} {
    491511        set eta [expr {-3.00 + $i * 0.02}]
    492512        add EtaPhiBins $eta $PhiBins
     
    565585}
    566586
     587
     588############################
     589# Energy flow track merger
     590############################
     591
     592module Merger EFlowTrackMerger {
     593# add InputArray InputArray
     594  add InputArray Calorimeter/eflowTracks
     595  add InputArray ForwardLooperTracks/tracks
     596  set OutputArray eflowTracks
     597}
     598
     599
     600
    567601####################
    568602# Energy flow merger
     
    571605module Merger EFlowMerger {
    572606# add InputArray InputArray
    573   add InputArray Calorimeter/eflowTracks
     607  add InputArray EFlowTrackMerger/eflowTracks
    574608  add InputArray Calorimeter/eflowPhotons
    575609  add InputArray TimeOfFlightNeutralHadron/eflowNeutralHadrons
     
    585619  set InputArray Calorimeter/eflowPhotons
    586620  set OutputArray photons
    587   set UseMomentumVector true
    588621
    589622  # set EfficiencyFormula {efficiency formula as a function of eta and pt}
     
    619652
    620653module PdgCodeFilter ElectronFilter {
    621   set InputArray Calorimeter/eflowTracks
     654  set InputArray EFlowTrackMerger/eflowTracks
    622655  set OutputArray electrons
    623656  set Invert true
     
    631664
    632665module PdgCodeFilter MuonFilter {
    633   set InputArray Calorimeter/eflowTracks
     666  set InputArray EFlowTrackMerger/eflowTracks
    634667  set OutputArray muons
    635668  set Invert true
     
    646679  set InputArray ElectronFilter/electrons
    647680  set OutputArray electrons
    648   set UseMomentumVector true
    649681
    650682  # set EfficiencyFormula {efficiency formula as a function of eta and pt}
     
    683715  set InputArray MuonFilter/muons
    684716  set OutputArray muons
    685   set UseMomentumVector true
    686717
    687718  # set EfficiencyFormula {efficiency as a function of eta and pt}
     
    885916    add Branch TruthVertexFinder/vertices GenVertex Vertex
    886917
    887     add Branch TrackMerger/tracks Track Track
    888     add Branch Calorimeter/towers Tower Tower
    889 
    890     add Branch Calorimeter/eflowTracks EFlowTrack Track
     918    add Branch EFlowTrackMerger/eflowTracks EFlowTrack Track
    891919    add Branch Calorimeter/eflowPhotons EFlowPhoton Tower
    892920    add Branch TimeOfFlightNeutralHadron/eflowNeutralHadrons EFlowNeutralHadron Tower
Note: See TracChangeset for help on using the changeset viewer.