VertexAssUseAbsDistance=cms.untracked.bool(True), UseBeamSpotCompatibility=cms.untracked.bool(True), ignoreMissingCollection=cms.bool(True)) ### PFCandidate AssociationMap-specific includes from CommonTools.RecoUtils.pfcand_assomap_cfi import PFCandAssoMap PFCand2VertexAM = PFCandAssoMap.clone( VertexCollection=cms.InputTag('selectedPrimaryVertexQuality'), VertexTrackAssociationMap=cms.InputTag('Tracks2VertexAM'), ignoreMissingCollection=cms.bool(True)) ### PFCandidateCollection-specific includes from CommonTools.RecoUtils.pfcand_nopu_witham_cfi import FirstVertexPFCandidates PFCand = FirstVertexPFCandidates.clone( VertexPFCandAssociationMap=cms.InputTag('PFCand2VertexAM'), ) ### JetProducer-specific includes from RecoJets.JetProducers.ak5PFJets_cfi import ak5PFJets ak5PFCHSNewJets = ak5PFJets.clone(src=cms.InputTag("PFCand")) ###old CHS goodOfflinePrimaryVertices = cms.EDFilter( "PrimaryVertexObjectFilter", filterParams=pvSelector.clone(minNdof=cms.double(4.0), maxZ=cms.double(24.0)), src=cms.InputTag('offlinePrimaryVertices')) pfPileUp.Vertices = 'goodOfflinePrimaryVertices' pfPileUp.checkClosestZVertex = cms.bool(False)
filter=cms.bool(True), ) ### PFCandidate AssociationMap-specific includes from CommonTools.RecoUtils.pf_pu_assomap_cfi import AssociationMaps process.assMap = AssociationMaps.clone( VertexCollection=cms.InputTag('selectedPrimaryVertexQuality'), ) ### PFCandidate AssociationMap-specific includes from CommonTools.RecoUtils.pfcand_assomap_cfi import PFCandAssoMap process.PFCand2VertexAM = PFCandAssoMap.clone( VertexCollection=cms.InputTag('selectedPrimaryVertexQuality'), ) ### PFCandidateCollection-specific includes from CommonTools.RecoUtils.pfcand_nopu_witham_cfi import FirstVertexPFCandidates process.PFCand = FirstVertexPFCandidates.clone( VertexPFCandAssociationMap=cms.InputTag('PFCand2VertexAM'), VertexCollection=cms.InputTag('selectedPrimaryVertexQuality'), ) process.p = cms.Path(process.selectedPrimaryVertexQuality * process.assMap * process.PFCand2VertexAM * process.PFCand) process.myOutput = cms.OutputModule( "PoolOutputModule", fileName=cms.untracked.string('myOutput.root')) process.e = cms.EndPath(process.myOutput)
process.assMap = AssociationMaps.clone( VertexCollection = cms.InputTag('selectedPrimaryVertexQuality'), ) ### PFCandidate AssociationMap-specific includes from CommonTools.RecoUtils.pfcand_assomap_cfi import PFCandAssoMap process.PFCand2VertexAM = PFCandAssoMap.clone( VertexCollection = cms.InputTag('selectedPrimaryVertexQuality'), ) ### PFCandidateCollection-specific includes from CommonTools.RecoUtils.pfcand_nopu_witham_cfi import FirstVertexPFCandidates process.PFCand = FirstVertexPFCandidates.clone( VertexPFCandAssociationMap = cms.InputTag('PFCand2VertexAM'), VertexCollection = cms.InputTag('selectedPrimaryVertexQuality'), ) process.p = cms.Path( process.selectedPrimaryVertexQuality * process.assMap * process.PFCand2VertexAM * process.PFCand ) process.myOutput = cms.OutputModule("PoolOutputModule", fileName = cms.untracked.string('myOutput.root') ) process.e = cms.EndPath( process.myOutput )
cut = cms.string("isValid & ndof >= 4 & chi2 > 0 & tracksSize > 0 & abs(z) < 24 & abs(position.Rho) < 2."), filter = cms.bool(False), ) ### PFCandidate AssociationMap-specific includes from CommonTools.RecoUtils.pfcand_assomap_cfi import PFCandAssoMap process.PFCand2VertexAM = PFCandAssoMap.clone( VertexCollection = cms.InputTag('selectedPrimaryVertexQuality'), ) ### PFCandidateCollection-specific includes from CommonTools.RecoUtils.pfcand_nopu_witham_cfi import FirstVertexPFCandidates process.PFCand = FirstVertexPFCandidates.clone( VertexPFCandAssociationMap = cms.InputTag('PFCand2VertexAM'), ) ### JetProducer-specific includes from RecoJets.JetProducers.ak5PFJets_cfi import ak5PFJets process.ak5PFJetsNew = ak5PFJets.clone( src = cms.InputTag("PFCand") ) process.load("JetMETCorrections.Configuration.JetCorrectionServices_cff") process.load("JetMETCorrections.Configuration.JetCorrectionServicesAllAlgos_cff") # L2L3 Correction Producers process.ak5PFJetsNewL23 = cms.EDProducer('PFJetCorrectionProducer', src = cms.InputTag('ak5PFJetsNew'),
ignoreMissingCollection=cms.bool(True), ) ### PFCandidate AssociationMap-specific includes from CommonTools.RecoUtils.pfcand_assomap_cfi import PFCandAssoMap PFCand2VertexAM = PFCandAssoMap.clone( VertexCollection=cms.InputTag("selectedPrimaryVertexQuality"), VertexTrackAssociationMap=cms.InputTag("Tracks2VertexAM"), ignoreMissingCollection=cms.bool(True), ) ### PFCandidateCollection-specific includes from CommonTools.RecoUtils.pfcand_nopu_witham_cfi import FirstVertexPFCandidates PFCand = FirstVertexPFCandidates.clone(VertexPFCandAssociationMap=cms.InputTag("PFCand2VertexAM")) ### JetProducer-specific includes from RecoJets.JetProducers.ak5PFJets_cfi import ak5PFJets ak5PFCHSNewJets = ak5PFJets.clone(src=cms.InputTag("PFCand")) ###old CHS goodOfflinePrimaryVertices = cms.EDFilter( "PrimaryVertexObjectFilter", filterParams=pvSelector.clone(minNdof=cms.double(4.0), maxZ=cms.double(24.0)), src=cms.InputTag("offlinePrimaryVertices"), ) pfPileUp.Vertices = "goodOfflinePrimaryVertices"