1 import FWCore.ParameterSet.Config
as cms
4 RecoJetsAOD = cms.PSet(
5 outputCommands = cms.untracked.vstring(
'keep recoCaloJets_ak4CaloJets_*_*',
6 'keep *_ak4CaloJets_rho_*',
7 'keep *_ak4CaloJets_sigma_*',
8 'keep *_ak4PFJetsCHS_*_*',
9 'keep floatedmValueMap_puppi_*_*',
10 'keep *_ak4PFJetsPuppi_*_*',
11 'keep *_ak8PFJetsPuppi_*_*',
12 'keep *_ak8PFJetsPuppiSoftDrop_*_*',
13 'keep recoPFJets_ak4PFJets_*_*',
14 'keep *_ak4PFJets_rho_*',
15 'keep *_ak4PFJets_sigma_*',
16 'keep *_JetPlusTrackZSPCorJetAntiKt4_*_*',
17 'keep *_caloTowers_*_*',
18 'keep *_CastorTowerReco_*_*',
19 'keep *_ak4JetTracksAssociatorAtVertex_*_*',
20 'keep *_ak4JetTracksAssociatorAtVertexPF_*_*',
21 'keep *_ak4JetTracksAssociatorExplicit_*_*',
22 'keep *_ak4JetExtender_*_*',
23 'keep *_ak4JetID_*_*',
24 'keep recoBasicJets_ak5CastorJets_*_*',
25 'keep *_ak5CastorJets_rho_*',
26 'keep *_ak5CastorJets_sigma_*',
27 'keep *_ak5CastorJetID_*_*',
28 'keep recoBasicJets_ak7CastorJets_*_*',
29 'keep *_ak7CastorJets_rho_*',
30 'keep *_ak7CastorJets_sigma_*',
31 'keep *_ak7CastorJetID_*_*',
32 'keep *_fixedGridRhoAll_*_*',
33 'keep *_fixedGridRhoFastjetAll_*_*',
34 'keep *_fixedGridRhoFastjetAllTmp_*_*',
35 'keep *_fixedGridRhoFastjetCentral_*_*',
36 'keep *_fixedGridRhoFastjetAllCalo_*_*',
37 'keep *_fixedGridRhoFastjetCentralCalo_*_*',
38 'keep *_fixedGridRhoFastjetCentralChargedPileUp_*_*',
39 'keep *_fixedGridRhoFastjetCentralNeutral_*_*',
40 'keep *_ak8PFJetsPuppiSoftDropMass_*_*' 43 RecoGenJetsAOD = cms.PSet(
44 outputCommands = cms.untracked.vstring(
'keep *_ak4GenJets_*_*',
45 'keep *_ak8GenJets_*_*',
46 'keep *_ak4GenJetsNoNu_*_*',
47 'keep *_ak8GenJetsNoNu_*_*',
48 'keep *_genParticle_*_*' 51 from Configuration.Eras.Modifier_pA_2016_cff
import pA_2016
52 from Configuration.Eras.Modifier_peripheralPbPb_cff
import peripheralPbPb
53 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
54 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
56 for e
in [pA_2016, peripheralPbPb, pp_on_XeXe_2017, pp_on_AA]:
57 e.toModify( RecoJetsAOD.outputCommands,
58 func=
lambda outputCommands: outputCommands.extend([
'keep *_towerMaker_*_*'])
60 for e
in [pp_on_XeXe_2017, pp_on_AA]:
61 e.toModify( RecoJetsAOD.outputCommands,
62 func=
lambda outputCommands: outputCommands.extend([
'keep recoCentrality*_hiCentrality_*_*',
63 'keep recoClusterCompatibility*_hiClusterCompatibility_*_*' 67 pA_2016.toModify( RecoJetsAOD.outputCommands,
68 func=
lambda outputCommands: outputCommands.extend([
'keep recoCentrality*_pACentrality_*_*',
69 'keep *_hiFJGridEmptyAreaCalculator_*_*',
70 'keep *_hiFJRhoProducer_*_*' 74 peripheralPbPb.toModify( RecoJetsAOD.outputCommands,
75 func=
lambda outputCommands: outputCommands.extend([
'keep recoCentrality*_pACentrality_*_*'])
78 pp_on_AA.toModify( RecoJetsAOD.outputCommands,
79 func=
lambda outputCommands: outputCommands.extend([
'keep *_hiCentrality_*_*',
80 'keep *_hiFJRhoProducer_*_*',
81 'keep *_akPu3PFJets_*_*',
82 'keep *_akPu4PFJets_*_*',
83 'keep *_kt4PFJetsForRho_*_*',
84 'keep *_akCs4PFJets_*_*',
85 'keep *_akPu4CaloJets_*_*',
86 'drop *_caloTowers_*_*' 90 RecoJetsRECO = cms.PSet(
91 outputCommands = cms.untracked.vstring(
'keep *_ak4CaloJets_*_*',
92 'keep *_ak4PFJets_*_*',
93 'keep *_ak4TrackJets_*_*',
94 'keep recoRecoChargedRefCandidates_trackRefsForJets_*_*',
95 'keep *_towerMaker_*_*',
96 'keep *_ak4JetTracksAssociatorAtCaloFace_*_*',
97 'keep *_ak5CastorJets_*_*',
98 'keep *_ak7CastorJets_*_*',
101 RecoJetsRECO.outputCommands.extend(RecoJetsAOD.outputCommands)
103 RecoGenJetsRECO = cms.PSet(
104 outputCommands = cms.untracked.vstring()
106 RecoGenJetsRECO.outputCommands.extend(RecoGenJetsAOD.outputCommands)
108 RecoJetsFEVT = cms.PSet(
109 outputCommands = cms.untracked.vstring(
'keep recoCaloJets_*_*_*',
110 'keep recoPFJets_*_*_*',
111 'keep recoTrackJets_*_*_*',
112 'keep recoJPTJets_*_*_*',
113 'keep recoBasicJets_*_*_*',
114 'keep *_kt4JetTracksAssociatorAtVertex_*_*',
115 'keep *_kt4JetTracksAssociatorAtCaloFace_*_*',
116 'keep *_kt4JetExtender_*_*',
117 'keep *_ak7JetTracksAssociatorAtVertex*_*_*',
118 'keep *_ak7JetTracksAssociatorAtCaloFace*_*_*',
119 'keep *_ak7JetExtender_*_*',
121 'keep *_kt4CaloJets_*_*',
122 'keep *_kt6CaloJets_*_*',
123 'keep *_ak5CaloJets_*_*',
124 'keep *_ak7CaloJets_*_*',
125 'keep *_kt4PFJets_*_*',
126 'keep *_kt6PFJets_*_*',
127 'keep *_ak5PFJets_*_*',
128 'keep *_ak7PFJets_*_*',
129 'keep *_kt4TrackJets_*_*',
130 'keep *_ca*Mass_*_*',
134 RecoJetsFEVT.outputCommands.extend(RecoJetsRECO.outputCommands)
136 RecoGenJetsFEVT = cms.PSet(
137 outputCommands = cms.untracked.vstring(
'keep recoGenJets_ak*_*_*')
139 RecoGenJetsFEVT.outputCommands.extend(RecoGenJetsRECO.outputCommands)