diff --git a/RecoMTD/Configuration/python/RecoMTD_EventContent_cff.py b/RecoMTD/Configuration/python/RecoMTD_EventContent_cff.py index b1ab3192818c1..bc036dbbb9e95 100644 --- a/RecoMTD/Configuration/python/RecoMTD_EventContent_cff.py +++ b/RecoMTD/Configuration/python/RecoMTD_EventContent_cff.py @@ -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) diff --git a/RecoTauTag/Configuration/python/RecoTauTag_EventContent_cff.py b/RecoTauTag/Configuration/python/RecoTauTag_EventContent_cff.py index 446b2b29a0ed4..108ddb7fa817d 100644 --- a/RecoTauTag/Configuration/python/RecoTauTag_EventContent_cff.py +++ b/RecoTauTag/Configuration/python/RecoTauTag_EventContent_cff.py @@ -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( @@ -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)