1 import FWCore.ParameterSet.Config
as cms
4 RecoJetsFEVT = cms.PSet(
5 outputCommands = cms.untracked.vstring(
'keep recoCaloJets_*_*_*',
6 'keep recoPFJets_*_*_*',
7 'keep recoTrackJets_*_*_*',
8 'keep recoJPTJets_*_*_*',
9 'keep recoBasicJets_*_*_*',
10 'keep *_caloTowers_*_*',
11 'keep *_towerMaker_*_*',
12 'keep *_CastorTowerReco_*_*',
13 'keep recoRecoChargedRefCandidates_trackRefsForJets_*_*',
14 'keep *_kt4JetTracksAssociatorAtVertex_*_*',
15 'keep *_kt4JetTracksAssociatorAtCaloFace_*_*',
16 'keep *_kt4JetExtender_*_*',
17 'keep *_ak4JetTracksAssociatorAtVertex*_*_*',
18 'keep *_ak4JetTracksAssociatorAtCaloFace*_*_*',
19 'keep *_ak4JetExtender_*_*',
20 'keep *_ak4JetTracksAssociatorExplicit_*_*',
21 'keep *_ak7JetTracksAssociatorAtVertex*_*_*',
22 'keep *_ak7JetTracksAssociatorAtCaloFace*_*_*',
23 'keep *_ak7JetExtender_*_*',
26 'keep *_kt4CaloJets_*_*',
27 'keep *_kt6CaloJets_*_*',
28 'keep *_ak4CaloJets_*_*',
29 'keep *_ak5CaloJets_*_*',
30 'keep *_ak7CaloJets_*_*',
31 'keep *_kt4PFJets_*_*',
32 'keep *_kt6PFJets_*_*',
33 'keep *_ak4PFJets_*_*',
34 'keep *_ak5PFJets_*_*',
35 'keep *_ak7PFJets_*_*',
36 'keep *_JetPlusTrackZSPCorJetAntiKt4_*_*',
37 'keep *_ak4TrackJets_*_*',
38 'keep *_kt4TrackJets_*_*',
39 'keep *_ak5CastorJets_*_*',
40 'keep *_ak5CastorJetID_*_*',
41 'keep *_ak7CastorJets_*_*',
42 'keep *_ak7CastorJetID_*_*',
43 'keep *_fixedGridRho*_*_*',
48 RecoGenJetsFEVT = cms.PSet(
49 outputCommands = cms.untracked.vstring(
'keep recoGenJets_*_*_*',
50 'keep *_genParticle_*_*')
53 RecoJetsRECO = cms.PSet(
54 outputCommands = cms.untracked.vstring(
'keep *_ak4CaloJets_*_*',
55 'keep *_ak4PFJets_*_*',
56 'keep *_ak4PFJetsCHS_*_*',
57 'keep *_ak8PFJetsCHS_*_*',
58 'keep *_ak8PFJetsCHSSoftDrop_*_*',
59 'keep *_cmsTopTagPFJetsCHS_*_*',
60 'keep *_JetPlusTrackZSPCorJetAntiKt4_*_*',
61 'keep *_ak4TrackJets_*_*',
62 'keep recoRecoChargedRefCandidates_trackRefsForJets_*_*',
63 'keep *_caloTowers_*_*',
64 'keep *_towerMaker_*_*',
65 'keep *_CastorTowerReco_*_*',
66 'keep *_ak4JetTracksAssociatorAtVertex_*_*',
67 'keep *_ak4JetTracksAssociatorAtVertexPF_*_*',
68 'keep *_ak4JetTracksAssociatorAtCaloFace_*_*',
69 'keep *_ak4JetTracksAssociatorExplicit_*_*',
70 'keep *_ak4JetExtender_*_*',
71 'keep *_ak4JetID_*_*',
72 'keep *_ak5CastorJets_*_*',
73 'keep *_ak5CastorJetID_*_*',
74 'keep *_ak7CastorJets_*_*',
75 'keep *_ak7CastorJetID_*_*',
77 'keep *_fixedGridRhoAll_*_*',
78 'keep *_fixedGridRhoFastjetAll_*_*',
79 'keep *_fixedGridRhoFastjetAllTmp_*_*',
80 'keep *_fixedGridRhoFastjetAllCalo_*_*',
81 'keep *_fixedGridRhoFastjetCentral_*_*',
82 'keep *_fixedGridRhoFastjetCentralCalo_*_*',
83 'keep *_fixedGridRhoFastjetCentralChargedPileUp_*_*',
84 'keep *_fixedGridRhoFastjetCentralNeutral_*_*',
85 'keep *_ak8PFJetsCHSSoftDropMass_*_*' 88 RecoGenJetsRECO = cms.PSet(
89 outputCommands = cms.untracked.vstring(
'keep *_ak4GenJets_*_*',
90 'keep *_ak8GenJets_*_*',
91 'keep *_ak4GenJetsNoNu_*_*',
92 'keep *_ak8GenJetsNoNu_*_*',
93 'keep *_genParticle_*_*')
96 RecoJetsAOD = cms.PSet(
97 outputCommands = cms.untracked.vstring(
'keep *_ak4CaloJets_*_*',
98 'keep *_ak4PFJetsCHS_*_*',
99 'keep *_ak8PFJetsCHS_*_*',
100 'keep *_ak8PFJetsCHSSoftDrop_*_*',
101 'keep *_cmsTopTagPFJetsCHS_*_*',
102 'keep *_ak4PFJets_*_*',
103 'keep *_JetPlusTrackZSPCorJetAntiKt4_*_*',
104 'keep *_ak4TrackJets_*_*',
105 'keep recoRecoChargedRefCandidates_trackRefsForJets_*_*',
106 'keep *_caloTowers_*_*',
107 'keep *_CastorTowerReco_*_*',
108 'keep *_ak4JetTracksAssociatorAtVertex_*_*',
109 'keep *_ak4JetTracksAssociatorAtVertexPF_*_*',
110 'keep *_ak4JetTracksAssociatorExplicit_*_*',
111 'keep *_ak4JetExtender_*_*',
112 'keep *_ak4JetID_*_*',
113 'keep *_ak5CastorJets_*_*',
114 'keep *_ak5CastorJetID_*_*',
115 'keep *_ak7CastorJets_*_*',
116 'keep *_ak7CastorJetID_*_*',
118 'keep *_fixedGridRhoAll_*_*',
119 'keep *_fixedGridRhoFastjetAll_*_*',
120 'keep *_fixedGridRhoFastjetAllTmp_*_*',
121 'keep *_fixedGridRhoFastjetCentral_*_*',
122 'keep *_fixedGridRhoFastjetAllCalo_*_*',
123 'keep *_fixedGridRhoFastjetCentralCalo_*_*',
124 'keep *_fixedGridRhoFastjetCentralChargedPileUp_*_*',
125 'keep *_fixedGridRhoFastjetCentralNeutral_*_*',
126 'drop doubles_*Jets_rhos_*',
127 'drop doubles_*Jets_sigmas_*',
128 'keep *_ak8PFJetsCHSSoftDropMass_*_*' 131 RecoGenJetsAOD = cms.PSet(
132 outputCommands = cms.untracked.vstring(
'keep *_ak4GenJets_*_*',
133 'keep *_ak8GenJets_*_*',
134 'keep *_ak4GenJetsNoNu_*_*',
135 'keep *_ak8GenJetsNoNu_*_*',
136 'keep *_genParticle_*_*' 140 from Configuration.Eras.Modifier_pA_2016_cff
import pA_2016
141 from Configuration.Eras.Modifier_peripheralPbPb_cff
import peripheralPbPb
142 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
144 for e
in [pA_2016, peripheralPbPb, pp_on_XeXe_2017]:
145 e.toModify( RecoJetsAOD.outputCommands,
146 func=
lambda outputCommands: outputCommands.extend([
'keep *_towerMaker_*_*'])
148 for ec
in [RecoJetsAOD.outputCommands, RecoJetsRECO.outputCommands, RecoJetsFEVT.outputCommands]:
149 pp_on_XeXe_2017.toModify( ec,
150 func=
lambda outputCommands: outputCommands.extend([
'keep recoCentrality*_hiCentrality_*_*',
151 'keep recoClusterCompatibility*_hiClusterCompatibility_*_*' 156 for ec
in [RecoJetsAOD.outputCommands, RecoJetsRECO.outputCommands, RecoJetsFEVT.outputCommands]:
157 pA_2016.toModify( ec,
158 func=
lambda outputCommands: outputCommands.extend([
'keep recoCentrality*_pACentrality_*_*',
159 'keep *_hiFJGridEmptyAreaCalculator_*_*',
160 'keep *_hiFJRhoProducer_*_*' 165 for ec
in [RecoJetsAOD.outputCommands, RecoJetsRECO.outputCommands, RecoJetsFEVT.outputCommands]:
166 peripheralPbPb.toModify( ec,
167 func=
lambda outputCommands: outputCommands.extend([
'keep recoCentrality*_pACentrality_*_*'])