CMS 3D CMS Logo

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