Skip to content

Commit

Permalink
Add base lepton time-life info to main sequence while track parameter…
Browse files Browse the repository at this point in the history
…s keep as customization
  • Loading branch information
mbluj committed Apr 10, 2024
1 parent 5009740 commit b3a99a4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PhysicsTools/NanoAOD/python/autoNANO.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def expandNanoMapping(seqList, mapping, key):
# PromptReco config: PHYS+L1
'Prompt' : {'sequence': '@PHYS',
'customize': '@PHYS+@L1'},
# Add lepton time-life info tables through customize combined with PHYS
'LepTimeLife' : {'sequence': '@PHYS',
'customize': '@PHYS+PhysicsTools/NanoAOD/leptonTimeLifeInfo_common_cff.addTimeLifeInfo'},
# Add lepton track parameters through customize combined with PHYS
'LepTrackInfo' : {'sequence': '@PHYS',
'customize': '@PHYS+PhysicsTools/NanoAOD/leptonTimeLifeInfo_common_cff.addTrackVarsToTimeLifeInfo'},
}
4 changes: 4 additions & 0 deletions PhysicsTools/NanoAOD/python/nano_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,10 @@ def nanoAOD_customizeCommon(process):
process, lambda p : nanoAOD_addBoostedTauIds(p, nanoAOD_boostedTau_switch.idsToAdd.value())
)

# Add lepton time-life info
from PhysicsTools.NanoAOD.leptonTimeLifeInfo_common_cff import addTimeLifeInfoBase
process = addTimeLifeInfoBase(process)

return process

###increasing the precision of selected GenParticles.
Expand Down

0 comments on commit b3a99a4

Please sign in to comment.