1 import FWCore.ParameterSet.Config
as cms
8 RecoLocalCaloFEVT = cms.PSet(
9 outputCommands = cms.untracked.vstring(
'keep *_hbhereco_*_*',
10 'keep *_hbheprereco_*_*',
13 'keep HBHERecHitsSorted_hbherecoMB_*_*',
14 'keep HBHERecHitsSorted_hbheprerecoMB_*_*',
15 'keep HORecHitsSorted_horecoMB_*_*',
16 'keep HFRecHitsSorted_hfrecoMB_*_*',
17 'keep ZDCDataFramesSorted_*Digis_*_*',
18 'keep ZDCRecHitsSorted_*_*_*',
19 'keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*',
20 'keep *_reducedHcalRecHits_*_*',
21 'keep *_castorreco_*_*',
22 'keep HcalUnpackerReport_*_*_*'
26 RecoLocalCaloRECO = cms.PSet(
27 outputCommands = cms.untracked.vstring(
'keep *_hbhereco_*_*',
28 'keep *_hbheprereco_*_*',
31 'keep HBHERecHitsSorted_hbherecoMB_*_*',
32 'keep HORecHitsSorted_horecoMB_*_*',
33 'keep HFRecHitsSorted_hfrecoMB_*_*',
35 'keep ZDCDataFramesSorted_hcalDigis_*_*',
36 'keep ZDCDataFramesSorted_castorDigis_*_*',
37 'keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*',
38 'keep ZDCRecHitsSorted_*_*_*',
39 'keep *_reducedHcalRecHits_*_*',
40 'keep *_castorreco_*_*',
42 'keep HcalUnpackerReport_castorDigis_*_*',
43 'keep HcalUnpackerReport_hcalDigiAlCaMB_*_*',
44 'keep HcalUnpackerReport_hcalDigis_*_*'
48 RecoLocalCaloAOD = cms.PSet(
49 outputCommands = cms.untracked.vstring(
50 'keep *_castorreco_*_*',
51 'keep *_reducedHcalRecHits_*_*',
53 'keep HcalUnpackerReport_castorDigis_*_*',
54 'keep HcalUnpackerReport_hcalDigiAlCaMB_*_*',
55 'keep HcalUnpackerReport_hcalDigis_*_*'
58 RecoLocalCaloFEVT.outputCommands.extend(ecalLocalRecoFEVT.outputCommands)
59 RecoLocalCaloRECO.outputCommands.extend(ecalLocalRecoRECO.outputCommands)
60 RecoLocalCaloAOD.outputCommands.extend(ecalLocalRecoAOD.outputCommands)
62 from Configuration.StandardSequences.Eras
import eras
63 eras.pA_2016.toModify( RecoLocalCaloAOD.outputCommands,
64 func=
lambda outputCommands: outputCommands.extend([
'keep *_zdcreco_*_*',
65 'keep ZDCDataFramesSorted_hcalDigis_*_*',
66 'keep ZDCDataFramesSorted_castorDigis_*_*',
67 'keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*'