Skip to content

Commit

Permalink
update eventcontent structure using extend
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongeun committed Apr 28, 2020
1 parent b3d42e1 commit 00e0e0f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 39 deletions.
13 changes: 9 additions & 4 deletions RecoMTD/Configuration/python/RecoMTD_EventContent_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@
RecoMTDAOD = cms.PSet(
outputCommands = cms.untracked.vstring(
'keep *_trackExtenderWithMTD_*_*',
'keep *_mtdTrackQualityMVA_*_*'
)
'keep *_mtdTrackQualityMVA_*_*')
)

#RECO content
RecoMTDRECO = RecoMTDAOD.copy()
RecoMTDRECO = cms.PSet(
outputCommands = cms.untracked.vstring()
)
RecoMTDRECO.outputCommands.extend(RecoMTDAOD.outputCommands)

#FEVT content
RecoMTDFEVT = RecoMTDRECO.copy()
RecoMTDFEVT = cms.PSet(
outputCommands = cms.untracked.vstring()
)
RecoMTDFEVT.outputCommands.extend(RecoMTDRECO.outputCommands)
52 changes: 17 additions & 35 deletions RecoTauTag/Configuration/python/RecoTauTag_EventContent_cff.py
Original file line number Diff line number Diff line change
@@ -1,38 +1,5 @@
import FWCore.ParameterSet.Config as cms

#Full Event content
RecoTauTagFEVT = cms.PSet(
outputCommands = cms.untracked.vstring(
'keep *_ak4PFJetsRecoTauPiZeros_*_*',
'keep *_hpsPFTauProducer_*_*',
'keep *_hpsPFTauDiscrimination*_*_*',
'keep *_hpsPFTau*PtSum_*_*',
'keep *_hpsPFTauTransverseImpactParameters_*_*'
)
)
#RECO content
RecoTauTagRECO = cms.PSet(
outputCommands = cms.untracked.vstring(
'keep recoRecoTauPiZeros_hpsPFTauProducer_pizeros_*',
'keep recoPFTaus_hpsPFTauProducer_*_*',
'keep *_hpsPFTauBasicDiscriminators_*_*',
'keep *_hpsPFTauBasicDiscriminatorsdR03_*_*',
'keep *_hpsPFTauDiscriminationByDeadECALElectronRejection_*_*',
'keep *_hpsPFTauDiscriminationByDecayModeFinding_*_*',
'keep *_hpsPFTauDiscriminationByDecayModeFindingNewDMs_*_*',
'keep *_hpsPFTauDiscriminationByDecayModeFindingOldDMs_*_*',
'keep *_hpsPFTauDiscriminationByLooseElectronRejection_*_*',
'keep *_hpsPFTauDiscriminationByMuonRejection3_*_*',
'keep *_hpsPFTauTransverseImpactParameters_*_*',
'keep *_hpsPFTauDiscriminationByMVA6ElectronRejection_*_*',
'keep *_hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLT_*_*',
'keep *_hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLT_*_*',
'keep *_hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLT_*_*',
'keep *_hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLT_*_*',
'keep *_hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLT_*_*',
'keep *_hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLT_*_*',
)
)
#AOD content
RecoTauTagAOD = cms.PSet(
outputCommands = cms.untracked.vstring(
Expand All @@ -52,7 +19,22 @@
'keep *_hpsPFTauDiscriminationByIsolationMVArun2v1PWoldDMwLT_*_*',
'keep *_hpsPFTauDiscriminationByIsolationMVArun2v1PWnewDMwLT_*_*',
'keep *_hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLT_*_*',
'keep *_hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLT_*_*',
)
'keep *_hpsPFTauDiscriminationByIsolationMVArun2v1PWdR03oldDMwLT_*_*')
)

#RECO content
RecoTauTagRECO = cms.PSet(
outputCommands = cms.untracked.vstring(
'keep *_hpsPFTauDiscriminationByLooseElectronRejection_*_*')
)
RecoTauTagRECO.outputCommands.extend(RecoTauTagAOD.outputCommands)

#Full Event content
RecoTauTagFEVT = cms.PSet(
outputCommands = cms.untracked.vstring(
'keep *_ak4PFJetsRecoTauPiZeros_*_*',
'keep *_hpsPFTauProducer_*_*',
'keep *_hpsPFTauDiscrimination*_*_*',
'keep *_hpsPFTau*PtSum_*_*')
)
RecoTauTagFEVT.outputCommands.extend(RecoTauTagRECO.outputCommands)

0 comments on commit 00e0e0f

Please sign in to comment.