Fork me on GitHub

Changeset 058667b in git


Ignore:
Timestamp:
May 5, 2021, 6:19:09 PM (4 years ago)
Author:
michele <michele.selvaggi@…>
Branches:
master
Children:
193c267c
Parents:
f08474a
Message:

added TimeSmearing and TOF to IDEA card

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cards/delphes_card_IDEA.tcl

    rf08474a r058667b  
    1616
    1717set ExecutionPath {
     18
     19  TruthVertexFinder
    1820  ParticlePropagator
    1921
     
    2527  TrackSmearing
    2628  ClusterCounting
     29  TimeSmearing
     30  TimeOfFlight
    2731
    2832  TrackMerger
     
    6165  ScalarHT
    6266  TreeWriter
     67}
     68
     69#################################
     70# Truth Vertex Finder
     71#################################
     72
     73module TruthVertexFinder TruthVertexFinder {
     74
     75  ## below this distance two vertices are assumed to be the same
     76  set Resolution 1E-06
     77
     78  set InputArray Delphes/stableParticles
     79  set VertexOutputArray vertices
    6380}
    6481
     
    101118    }
    102119}
    103 
    104 #       (pt <= 0.1)                                     * (0.00) +
    105 #       (abs(eta) <= 3.0)               * (pt > 0.1)    * (1.00) +
    106 #       (abs(eta) > 3)                                  * (0.00)
    107120
    108121
     
    355368  set Bz $B
    356369
    357   set Rmin 0.35
     370  ## check that these are consistent with DCHCANI/DCHNANO parameters in TrackCovariance module
     371  set Rmin 0.345
    358372  set Rmax 2.0
    359373  set Zmin -2.0
    360374  set Zmax 2.0
    361375
    362   # gas mix option: 0
     376  # gas mix option:
    363377  # 0:  Helium 90% - Isobutane 10%
    364378  # 1:  Helium 100%
     
    371385
    372386
     387########################################
     388#   Time Smearing MIP
     389########################################
     390
     391module TimeSmearing TimeSmearing {
     392  set TrackInputArray ClusterCounting/tracks
     393  set OutputArray tracks
     394
     395  # assume constant 30 ps resolution for now
     396  set TimeResolution {
     397                       (abs(eta) > 0.0 && abs(eta) <= 3.0)* 30E-12
     398                     }
     399}
     400
     401########################################
     402#   Time Of Flight Measurement
     403########################################
     404
     405module TimeOfFlight TimeOfFlight {
     406  set TrackInputArray TimeSmearing/tracks
     407  set VertexInputArray TruthVertexFinder/vertices
     408
     409  set OutputArray tracks
     410
     411  # 0: assume vertex time tV from MC Truth (ideal case)
     412  # 1: assume vertex time tV=0
     413  # 2: calculate vertex time as vertex TOF, assuming tPV=0
     414  set VertexTimeMode 2
     415
     416}
     417
    373418
    374419##############
     
    378423module Merger TrackMerger {
    379424# add InputArray InputArray
    380   add InputArray ClusterCounting/tracks
     425  add InputArray TimeOfFlight/tracks
    381426  set OutputArray tracks
    382427}
Note: See TracChangeset for help on using the changeset viewer.