Fork me on GitHub

Changeset 2c81caa in git


Ignore:
Timestamp:
Dec 9, 2019, 3:19:06 PM (5 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
Timing
Children:
2b5ff2c
Parents:
4265189
Message:

adapted pythia reader to rhadrons

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cards/FCC/FCChh_PileUpVtx.tcl

    r4265189 r2c81caa  
    1414set ExecutionPath {
    1515
    16   RHadronFilter
    17   RHadronMerger
    1816  ParticlePropagator
    1917
     
    7068}
    7169
    72 #################################
    73 # Get stable R-Hadrons
    74 #################################
    75 
    76 module PdgCodeFilter RHadronFilter {
    77   set InputArray Delphes/allParticles
    78   set OutputArray stableRHadrons
    79   set Invert false
    80 
    81   set RequireStatus true
    82   set Status 104
    83 }
    84 
    85 #################################
    86 # Merge R-Hadrons with other sable
    87 #################################
    88 
    89 module Merger RHadronMerger {
    90   add InputArray RHadronFilter/stableRHadrons
    91   add InputArray Delphes/stableParticles
    92   set OutputArray stableParticles
    93 }
    94 
    9570
    9671#################################
     
    9974
    10075module ParticlePropagator ParticlePropagator {
    101   #set InputArray Delphes/stableParticles
    102   set InputArray RHadronMerger/stableParticles
     76  set InputArray Delphes/stableParticles
    10377  set OutputArray stableParticles
    10478  set ChargedHadronOutputArray chargedHadrons
  • readers/DelphesPythia8.cpp

    r4265189 r2c81caa  
    151151
    152152    candidate->Position.SetXYZT(x, y, z, t);
    153 
    154153    allParticleOutputArray->Add(candidate);
    155154
    156     if(!pdgParticle) continue;
     155    if(!pdgParticle && (abs(pid) > 1006333 || abs(pid) < 1000612) )
     156      continue;
    157157
    158158    if(status == 1)
Note: See TracChangeset for help on using the changeset viewer.