1 import FWCore.ParameterSet.Config
as cms
9 RecoLocalCaloAOD = cms.PSet(
10 outputCommands = cms.untracked.vstring(
11 'keep *_castorreco_*_*',
12 'keep *_reducedHcalRecHits_*_*',
13 'keep HcalUnpackerReport_castorDigis_*_*',
14 'keep HcalUnpackerReport_hcalDigiAlCaMB_*_*',
15 'keep HcalUnpackerReport_hcalDigis_*_*')
17 RecoLocalCaloAOD.outputCommands.extend(ecalLocalRecoAOD.outputCommands)
18 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
19 from Configuration.Eras.Modifier_phase2_hfnose_cff
import phase2_hfnose
20 from Configuration.Eras.Modifier_pA_2016_cff
import pA_2016
21 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
23 phase2_hgcal.toModify( RecoLocalCaloAOD,
24 outputCommands = RecoLocalCaloAOD.outputCommands + [
'keep *_HGCalRecHit_*_*',
25 'keep recoCaloClusters_hgcalLayerClusters_*_*',
26 'keep *_hgcalLayerClusters_timeLayerCluster_*',
27 'keep *_hgcalLayerClusters_InitialLayerClustersMask_*'])
28 phase2_hfnose.toModify( RecoLocalCaloAOD,
29 outputCommands = RecoLocalCaloAOD.outputCommands + [
'keep recoCaloClusters_hgcalLayerClustersHFNose_*_*',
30 'keep *_hgcalLayerClustersHFNose_timeLayerCluster_*',
31 'keep *_hgcalLayerClustersHFNose_InitialLayerClustersMask_*'])
32 (pA_2016|pp_on_AA).toModify( RecoLocalCaloAOD.outputCommands,
33 func=
lambda outputCommands: outputCommands.extend([
'keep *_zdcreco_*_*',
34 'keep ZDCDataFramesSorted_hcalDigis_*_*',
35 'keep ZDCDataFramesSorted_castorDigis_*_*',
36 'keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*'])
38 from Configuration.ProcessModifiers.egamma_lowPt_exclusive_cff
import egamma_lowPt_exclusive
39 egamma_lowPt_exclusive.toModify( RecoLocalCaloAOD,
40 outputCommands = RecoLocalCaloAOD.outputCommands + [
'keep *_towerMaker_*_*',
42 'keep ZDCDataFramesSorted_hcalDigis_*_*',
43 'keep ZDCDataFramesSorted_castorDigis_*_*',
44 'keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*'])
47 RecoLocalCaloRECO = cms.PSet(
48 outputCommands = cms.untracked.vstring(
'keep *_hbhereco_*_*',
49 'keep *_hbheprereco_*_*',
50 'keep *_hfprereco_*_*',
53 'keep HBHERecHitsSorted_hbherecoMB_*_*',
54 'keep HORecHitsSorted_horecoMB_*_*',
55 'keep HFRecHitsSorted_hfrecoMB_*_*',
56 'keep ZDCDataFramesSorted_hcalDigis_*_*',
57 'keep ZDCDataFramesSorted_castorDigis_*_*',
58 'keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*',
59 'keep ZDCRecHitsSorted_zdcreco_*_*')
61 RecoLocalCaloRECO.outputCommands.extend(RecoLocalCaloAOD.outputCommands)
62 RecoLocalCaloRECO.outputCommands.extend(ecalLocalRecoRECO.outputCommands)
63 phase2_hgcal.toModify( RecoLocalCaloRECO,
64 outputCommands = RecoLocalCaloRECO.outputCommands + [
'keep *_hgcalMultiClusters_*_*',
65 'keep *_iterHGCalMultiClusters_*_*'])
68 RecoLocalCaloFEVT = cms.PSet(
69 outputCommands = cms.untracked.vstring(
'keep HBHERecHitsSorted_hbheprerecoMB_*_*',
70 'keep ZDCDataFramesSorted_*Digis_*_*',
71 'keep ZDCRecHitsSorted_*_*_*',
72 'keep HcalUnpackerReport_*_*_*')
74 RecoLocalCaloFEVT.outputCommands.extend(RecoLocalCaloRECO.outputCommands)
75 RecoLocalCaloFEVT.outputCommands.extend(ecalLocalRecoFEVT.outputCommands)
76 phase2_hgcal.toModify( RecoLocalCaloFEVT,
77 outputCommands = RecoLocalCaloFEVT.outputCommands + [
'keep *_HGCalUncalibRecHit_*_*'])