Skip to content

Commit

Permalink
Apply event content customization to NANOEDMAODSIM as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlo Battilana committed Apr 26, 2024
1 parent bf6e3c7 commit 5cdf7d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DPGAnalysis/MuonTools/python/muNtupleProducerBkg_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

def muDPGNanoBkgCustomize(process) :

for output in ["NANOEDMAODoutput", "NANOAODoutput", "NANOAODSIMoutput"]:
for output in ["NANOEDMAODoutput", "NANOAODoutput", "NANOEDMAODSIMoutput", "NANOAODSIMoutput"]:
if hasattr(process, output):
getattr(process,output).outputCommands.append("keep nanoaodFlatTable_*Table*_*_*")
getattr(process,output).outputCommands.append("drop edmTriggerResults_*_*_*")
Expand Down
2 changes: 1 addition & 1 deletion DPGAnalysis/MuonTools/python/muNtupleProducer_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def muDPGNanoCustomize(process) :
process.load("TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAlong_cfi")
process.load("TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorOpposite_cfi")

for output in ["NANOEDMAODoutput", "NANOAODoutput", "NANOAODSIMoutput"]:
for output in ["NANOEDMAODoutput", "NANOAODoutput", "NANOEDMAODSIMoutput", "NANOAODSIMoutput"]:
if hasattr(process, output):
getattr(process,output).outputCommands.append("keep nanoaodFlatTable_*Table*_*_*")
getattr(process,output).outputCommands.append("drop edmTriggerResults_*_*_*")
Expand Down

0 comments on commit 5cdf7d9

Please sign in to comment.