CMS 3D CMS Logo

slimming_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
27 from RecoLuminosity.LumiProducer.bunchSpacingProducer_cfi import bunchSpacingProducer
28 from HeavyFlavorAnalysis.Onia2MuMu.OniaPhotonConversionProducer_cfi import PhotonCandidates as oniaPhotonCandidates
29 
30 slimmingTask = cms.Task(
31  packedPFCandidatesTask,
32  lostTracks,
33  isolatedTracks,
34  offlineSlimmedPrimaryVertices,
35  primaryVertexAssociation,
36  genParticlesTask,
37  selectedPatTrigger,
38  slimmedPatTrigger,
39  slimmedCaloJets,
40  slimmedJets,
41  slimmedJetsAK8,
42  slimmedGenJets,
43  slimmedGenJetsAK8,
44  slimmedElectrons,
45  slimmedLowPtElectrons,
46  lowPtGsfLinks,
47  slimmedMuons,
48  slimmedPhotons,
49  slimmedOOTPhotons,
50  slimmedTaus,
51  slimmedSecondaryVertices,
52  slimmedKshortVertices,
53  slimmedLambdaVertices,
54  slimmedMETs,
55  metFilterPathsTask,
56  reducedEgamma,
57  bunchSpacingProducer,
58  oniaPhotonCandidates
59 )
60 
61 from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
62 pp_on_AA_2018.toReplaceWith(slimmingTask, slimmingTask.copyAndExclude([slimmedOOTPhotons]))