Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-03-04 03:39:41

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoVertex.AdaptiveVertexFinder.inclusiveVertexFinder_cfi import *
0004 from RecoVertex.AdaptiveVertexFinder.vertexMerger_cfi import *
0005 from RecoVertex.AdaptiveVertexFinder.trackVertexArbitrator_cfi import *
0006 
0007 inclusiveSecondaryVertices = vertexMerger.clone(
0008     secondaryVertices = "trackVertexArbitrator",
0009     maxFraction = 0.2,
0010     minSignificance = 10.
0011 )
0012 
0013 inclusiveVertexingTask = cms.Task(inclusiveVertexFinder,
0014                                   vertexMerger,
0015                                   trackVertexArbitrator,
0016                                   inclusiveSecondaryVertices)
0017 inclusiveVertexing = cms.Sequence(inclusiveVertexingTask)
0018 
0019 from RecoVertex.AdaptiveVertexFinder.inclusiveCandidateVertexFinder_cfi import *
0020 from RecoVertex.AdaptiveVertexFinder.candidateVertexMerger_cfi import *
0021 from RecoVertex.AdaptiveVertexFinder.candidateVertexArbitrator_cfi import *
0022 
0023 inclusiveCandidateSecondaryVertices = candidateVertexMerger.clone(
0024     secondaryVertices = "candidateVertexArbitrator",
0025     maxFraction = 0.2,
0026     minSignificance = 10.
0027 )
0028 
0029 inclusiveCandidateVertexingTask = cms.Task(inclusiveCandidateVertexFinder,
0030                                            candidateVertexMerger,
0031                                            candidateVertexArbitrator,
0032                                            inclusiveCandidateSecondaryVertices)
0033 inclusiveCandidateVertexing = cms.Sequence(inclusiveCandidateVertexingTask)
0034 
0035 #relaxed IVF reconstruction cuts for candidate-based ctagging
0036 inclusiveCandidateVertexFinderCvsL = inclusiveCandidateVertexFinder.clone(
0037    vertexMinDLen2DSig = 1.25,
0038    vertexMinDLenSig = 0.25
0039 )
0040 
0041 candidateVertexMergerCvsL = candidateVertexMerger.clone(
0042    secondaryVertices = "inclusiveCandidateVertexFinderCvsL"
0043 )
0044 
0045 candidateVertexArbitratorCvsL = candidateVertexArbitrator.clone(
0046    secondaryVertices = "candidateVertexMergerCvsL"
0047 )
0048 
0049 inclusiveCandidateSecondaryVerticesCvsL = candidateVertexMerger.clone(
0050    secondaryVertices = "candidateVertexArbitratorCvsL",
0051    maxFraction = 0.2,
0052    minSignificance = 10.
0053 )
0054 
0055 inclusiveCandidateVertexingCvsLTask = cms.Task(inclusiveCandidateVertexFinderCvsL,
0056                                                candidateVertexMergerCvsL,
0057                                                candidateVertexArbitratorCvsL,
0058                                                inclusiveCandidateSecondaryVerticesCvsL)
0059 inclusiveCandidateVertexingCvsL = cms.Sequence(inclusiveCandidateVertexingCvsLTask)
0060 
0061 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
0062 pp_on_XeXe_2017.toModify(inclusiveVertexFinder, minHits = 10, minPt = 1.0)
0063 pp_on_XeXe_2017.toModify(inclusiveCandidateVertexFinder, minHits = 10, minPt = 1.0)
0064 pp_on_XeXe_2017.toModify(inclusiveCandidateVertexFinderCvsL, minHits = 10, minPt = 1.0)
0065 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0066 pp_on_AA.toModify(inclusiveVertexFinder, minHits = 999, minPt = 999.0)
0067 pp_on_AA.toModify(inclusiveCandidateVertexFinder, minHits = 999, minPt = 999.0)
0068 pp_on_AA.toModify(inclusiveCandidateVertexFinderCvsL, minHits = 999, minPt = 999.0)
0069 
0070