1 import FWCore.ParameterSet.Config
as cms
3 packedPFCandidates = cms.EDProducer(
"PATPackedCandidateProducer",
4 inputCollection = cms.InputTag(
"particleFlow"),
5 inputVertices = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
6 originalVertices = cms.InputTag(
"offlinePrimaryVertices"),
7 originalTracks = cms.InputTag(
"generalTracks"),
8 vertexAssociator = cms.InputTag(
"primaryVertexAssociation",
"original"),
9 PuppiSrc = cms.InputTag(
"puppi"),
10 PuppiNoLepSrc = cms.InputTag(
"puppiNoLep"),
11 chargedHadronIsolation = cms.InputTag(
"chargedHadronPFTrackIsolation"),
12 minPtForChargedHadronProperties = cms.double(3.0),
13 secondaryVerticesForWhiteList = cms.VInputTag(
14 cms.InputTag(
"inclusiveCandidateSecondaryVertices"),
15 cms.InputTag(
"inclusiveCandidateSecondaryVerticesCvsL"),
16 cms.InputTag(
"generalV0Candidates",
"Kshort"),
17 cms.InputTag(
"generalV0Candidates",
"Lambda"),
19 minPtForTrackProperties = cms.double(0.95),
20 minPtForLowQualityTrackProperties = cms.double(0.0),
21 covarianceVersion = cms.int32(0),
23 covariancePackingSchemas = cms.vint32(8,264,520,776,0),
24 pfCandidateTypesForHcalDepth = cms.vint32(),
25 storeHcalDepthEndcapOnly = cms.bool(
False),
26 storeTiming = cms.bool(
False),
27 timeMap = cms.InputTag(
""),
28 timeMapErr = cms.InputTag(
"")
31 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
32 phase1Pixel.toModify(packedPFCandidates, covarianceVersion =1 )
34 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff
import run2_miniAOD_80XLegacy
35 run2_miniAOD_80XLegacy.toModify(packedPFCandidates, chargedHadronIsolation =
"" )
37 from Configuration.Eras.Modifier_run2_HCAL_2018_cff
import run2_HCAL_2018
38 run2_HCAL_2018.toModify(packedPFCandidates,
39 pfCandidateTypesForHcalDepth = [130,11,22,211,13],
41 storeHcalDepthEndcapOnly =
True 44 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
45 run3_common.toModify(packedPFCandidates,
46 pfCandidateTypesForHcalDepth = [],
47 storeHcalDepthEndcapOnly =
False 50 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
51 phase2_timing.toModify(packedPFCandidates, storeTiming = cms.bool(
True))
53 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
54 pp_on_AA.toModify(packedPFCandidates, PuppiSrc =
"", PuppiNoLepSrc =
"")
55 from Configuration.ProcessModifiers.run2_miniAOD_pp_on_AA_103X_cff
import run2_miniAOD_pp_on_AA_103X
56 run2_miniAOD_pp_on_AA_103X.toModify(packedPFCandidates,
57 inputCollection =
"cleanedParticleFlow",
58 chargedHadronIsolation =
""