CMS 3D CMS Logo

inclusiveVertexing_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
6 
7 inclusiveSecondaryVertices = vertexMerger.clone(
8  secondaryVertices = "trackVertexArbitrator",
9  maxFraction = 0.2,
10  minSignificance = 10.
11 )
12 
13 inclusiveVertexingTask = cms.Task(inclusiveVertexFinder,
14  vertexMerger,
15  trackVertexArbitrator,
16  inclusiveSecondaryVertices)
17 inclusiveVertexing = cms.Sequence(inclusiveVertexingTask)
18 
22 
23 inclusiveCandidateSecondaryVertices = candidateVertexMerger.clone(
24  secondaryVertices = "candidateVertexArbitrator",
25  maxFraction = 0.2,
26  minSignificance = 10.
27 )
28 
29 inclusiveCandidateVertexingTask = cms.Task(inclusiveCandidateVertexFinder,
30  candidateVertexMerger,
31  candidateVertexArbitrator,
32  inclusiveCandidateSecondaryVertices)
33 inclusiveCandidateVertexing = cms.Sequence(inclusiveCandidateVertexingTask)
34 
35 #relaxed IVF reconstruction cuts for candidate-based ctagging
36 inclusiveCandidateVertexFinderCvsL = inclusiveCandidateVertexFinder.clone(
37  vertexMinDLen2DSig = 1.25,
38  vertexMinDLenSig = 0.25
39 )
40 
41 candidateVertexMergerCvsL = candidateVertexMerger.clone(
42  secondaryVertices = "inclusiveCandidateVertexFinderCvsL"
43 )
44 
45 candidateVertexArbitratorCvsL = candidateVertexArbitrator.clone(
46  secondaryVertices = cms.InputTag("candidateVertexMergerCvsL")
47 )
48 
49 inclusiveCandidateSecondaryVerticesCvsL = candidateVertexMerger.clone(
50  secondaryVertices = "candidateVertexArbitratorCvsL",
51  maxFraction = 0.2,
52  minSignificance = 10.
53 )
54 
55 inclusiveCandidateVertexingCvsLTask = cms.Task(inclusiveCandidateVertexFinderCvsL,
56  candidateVertexMergerCvsL,
57  candidateVertexArbitratorCvsL,
58  inclusiveCandidateSecondaryVerticesCvsL)
59 inclusiveCandidateVertexingCvsL = cms.Sequence(inclusiveCandidateVertexingCvsLTask)
60 
61 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
62 pp_on_XeXe_2017.toModify(inclusiveVertexFinder, minHits = 10, minPt = 1.0)
63 pp_on_XeXe_2017.toModify(inclusiveCandidateVertexFinder, minHits = 10, minPt = 1.0)
64 pp_on_XeXe_2017.toModify(inclusiveCandidateVertexFinderCvsL, minHits = 10, minPt = 1.0)
65 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
66 pp_on_AA.toModify(inclusiveVertexFinder, minHits = 999, minPt = 999.0)
67 pp_on_AA.toModify(inclusiveCandidateVertexFinder, minHits = 999, minPt = 999.0)
68 pp_on_AA.toModify(inclusiveCandidateVertexFinderCvsL, minHits = 999, minPt = 999.0)
69 
70 
vertexMerger_cfi
candidateVertexArbitrator_cfi
inclusiveCandidateVertexFinder_cfi
candidateVertexMerger_cfi
inclusiveVertexFinder_cfi
trackVertexArbitrator_cfi