File indexing completed on 2024-08-25 23:07:21
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from RecoLocalCalo.Configuration.ecalLocalReco_EventContent_cff import *
0004
0005
0006
0007
0008
0009 RecoLocalCaloAOD = cms.PSet(
0010 outputCommands = cms.untracked.vstring(
0011 'keep *_castorreco_*_*',
0012 'keep *_reducedHcalRecHits_*_*',
0013 'keep HcalUnpackerReport_castorDigis_*_*',
0014 'keep HcalUnpackerReport_hcalDigiAlCaMB_*_*',
0015 'keep HcalUnpackerReport_hcalDigis_*_*')
0016 )
0017 RecoLocalCaloAOD.outputCommands.extend(ecalLocalRecoAOD.outputCommands)
0018 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
0019 from Configuration.Eras.Modifier_phase2_hfnose_cff import phase2_hfnose
0020 from Configuration.Eras.Modifier_pA_2016_cff import pA_2016
0021 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0022 from Configuration.ProcessModifiers.storeZDCDigis_cff import storeZDCDigis
0023
0024 phase2_hgcal.toModify( RecoLocalCaloAOD,
0025 outputCommands = RecoLocalCaloAOD.outputCommands + ['keep *_HGCalRecHit_*_*',
0026 'keep recoCaloClusters_hgcalMergeLayerClusters_*_*',
0027 'keep *_hgcalMergeLayerClusters_timeLayerCluster_*',
0028 'keep *_hgcalMergeLayerClusters_InitialLayerClustersMask_*'])
0029 phase2_hfnose.toModify( RecoLocalCaloAOD,
0030 outputCommands = RecoLocalCaloAOD.outputCommands + ['keep recoCaloClusters_hgcalLayerClustersHFNose_*_*',
0031 'keep *_hgcalLayerClustersHFNose_timeLayerCluster_*',
0032 'keep *_hgcalLayerClustersHFNose_InitialLayerClustersMask_*'])
0033 (pA_2016|pp_on_AA).toModify( RecoLocalCaloAOD.outputCommands,
0034 func=lambda outputCommands: outputCommands.extend(['keep *_zdcreco_*_*',
0035 'keep ZDCDataFramesSorted_hcalDigis_*_*',
0036 'keep ZDCDataFramesSorted_castorDigis_*_*',
0037 'keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*'])
0038 )
0039 storeZDCDigis.toModify( RecoLocalCaloAOD,
0040 outputCommands = RecoLocalCaloAOD.outputCommands + ['keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*'])
0041 from Configuration.ProcessModifiers.egamma_lowPt_exclusive_cff import egamma_lowPt_exclusive
0042 egamma_lowPt_exclusive.toModify( RecoLocalCaloAOD,
0043 outputCommands = RecoLocalCaloAOD.outputCommands + ['keep *_towerMaker_*_*',
0044 'keep *_zdcreco_*_*',
0045 'keep ZDCDataFramesSorted_hcalDigis_*_*',
0046 'keep ZDCDataFramesSorted_castorDigis_*_*',
0047 'keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*'])
0048
0049
0050 RecoLocalCaloRECO = cms.PSet(
0051 outputCommands = cms.untracked.vstring('keep *_hbhereco_*_*',
0052 'keep *_hbheprereco_*_*',
0053 'keep *_hfprereco_*_*',
0054 'keep *_hfreco_*_*',
0055 'keep *_horeco_*_*',
0056 'keep HBHERecHitsSorted_hbherecoMB_*_*',
0057 'keep HORecHitsSorted_horecoMB_*_*',
0058 'keep HFRecHitsSorted_hfrecoMB_*_*',
0059 'keep ZDCDataFramesSorted_hcalDigis_*_*',
0060 'keep ZDCDataFramesSorted_castorDigis_*_*',
0061 'keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*',
0062 'keep ZDCRecHitsSorted_zdcreco_*_*',
0063 'keep ZDCRecHitsSorted_zdcrecoRun3_*_*')
0064 )
0065 RecoLocalCaloRECO.outputCommands.extend(RecoLocalCaloAOD.outputCommands)
0066 RecoLocalCaloRECO.outputCommands.extend(ecalLocalRecoRECO.outputCommands)
0067 phase2_hgcal.toModify( RecoLocalCaloRECO,
0068 outputCommands = RecoLocalCaloRECO.outputCommands + ['keep *_hgcalMultiClusters_*_*',
0069 'keep *_iterHGCalMultiClusters_*_*'])
0070
0071
0072 RecoLocalCaloFEVT = cms.PSet(
0073 outputCommands = cms.untracked.vstring('keep HBHERecHitsSorted_hbheprerecoMB_*_*',
0074 'keep ZDCDataFramesSorted_*Digis_*_*',
0075 'keep ZDCRecHitsSorted_*_*_*',
0076 'keep HcalUnpackerReport_*_*_*')
0077 )
0078 RecoLocalCaloFEVT.outputCommands.extend(RecoLocalCaloRECO.outputCommands)
0079 RecoLocalCaloFEVT.outputCommands.extend(ecalLocalRecoFEVT.outputCommands)
0080 phase2_hgcal.toModify( RecoLocalCaloFEVT,
0081 outputCommands = RecoLocalCaloFEVT.outputCommands + ['keep *_HGCalUncalibRecHit_*_*'])