Skip to content

Commit

Permalink
renaming inclusiveVertices to inclusiveSecondaryVertices
Browse files Browse the repository at this point in the history
  • Loading branch information
pvmulder committed Mar 20, 2014
1 parent 8cb9e15 commit 4bac17b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion PhysicsTools/PatAlgos/python/tools/jetTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def toolCode(self, process):
if 'inclusiveSecondaryVertexFinderFilteredTagInfos' in acceptedTagInfos:
if not hasattr( process, 'inclusiveVertexing' ):
process.load( 'RecoVertex.AdaptiveVertexFinder.inclusiveVertexing_cff' )
if not hasattr( process, 'inclusiveVerticesFiltered' ):
if not hasattr( process, 'inclusiveSecondaryVerticesFiltered' ):
process.load( 'RecoBTag.SecondaryVertex.secondaryVertex_cff' )
if not hasattr( process, 'bToCharmDecayVertexMerged' ):
process.load( 'RecoBTag.SecondaryVertex.bToCharmDecayVertexMerger_cfi' )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

bToCharmDecayVertexMerged = cms.EDProducer("BtoCharmDecayVertexMerger",
primaryVertices = cms.InputTag("offlinePrimaryVertices"),
secondaryVertices = cms.InputTag("inclusiveVerticesFiltered"),
secondaryVertices = cms.InputTag("inclusiveSecondaryVerticesFiltered"),
minDRUnique = cms.untracked.double(0.4),
minvecSumIMifsmallDRUnique = cms.untracked.double(5.5),
minCosPAtomerge = cms.untracked.double(0.99),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
inclusiveSecondaryVertexFinderTagInfos = secondaryVertexTagInfos.clone()

# use external SV collection made from IVF
inclusiveSecondaryVertexFinderTagInfos.extSVCollection = cms.InputTag('inclusiveVertices')
inclusiveSecondaryVertexFinderTagInfos.extSVCollection = cms.InputTag('inclusiveSecondaryVertices')
inclusiveSecondaryVertexFinderTagInfos.extSVDeltaRToJet = cms.double(0.3)
inclusiveSecondaryVertexFinderTagInfos.useExternalSV = cms.bool(True)
inclusiveSecondaryVertexFinderTagInfos.vertexCuts.fracPV = 0.79 ## 4 out of 5 is discarded
Expand Down
6 changes: 3 additions & 3 deletions RecoBTag/SecondaryVertex/python/secondaryVertex_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
from RecoBTag.SecondaryVertex.combinedInclusiveSecondaryVertexBJetTags_cfi import *
#from RecoBTag.SecondaryVertex.combinedIVFES_cfi import * #not yet using dedicated training, share CSV ones
from RecoBTag.SecondaryVertex.bVertexFilter_cfi import *
inclusiveVerticesFiltered = bVertexFilter.clone()
inclusiveVerticesFiltered.vertexFilter.multiplicityMin = 2
inclusiveVerticesFiltered.secondaryVertices = cms.InputTag("inclusiveVertices")
inclusiveSecondaryVerticesFiltered = bVertexFilter.clone()
inclusiveSecondaryVerticesFiltered.vertexFilter.multiplicityMin = 2
inclusiveSecondaryVerticesFiltered.secondaryVertices = cms.InputTag("inclusiveSecondaryVertices")

from RecoBTag.SecondaryVertex.bToCharmDecayVertexMerger_cfi import *
from RecoBTag.SecondaryVertex.simpleInclusiveSecondaryVertexBJetTags_cfi import *
Expand Down
10 changes: 5 additions & 5 deletions RecoVertex/AdaptiveVertexFinder/python/inclusiveVertexing_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
from RecoVertex.AdaptiveVertexFinder.vertexMerger_cfi import *
from RecoVertex.AdaptiveVertexFinder.trackVertexArbitrator_cfi import *

inclusiveVertices = vertexMerger.clone()
inclusiveVertices.secondaryVertices = cms.InputTag("trackVertexArbitrator")
inclusiveVertices.maxFraction = 0.2
inclusiveVertices.minSignificance = 10.
inclusiveSecondaryVertices = vertexMerger.clone()
inclusiveSecondaryVertices.secondaryVertices = cms.InputTag("trackVertexArbitrator")
inclusiveSecondaryVertices.maxFraction = 0.2
inclusiveSecondaryVertices.minSignificance = 10.

inclusiveVertexing = cms.Sequence(inclusiveVertexFinder*vertexMerger*trackVertexArbitrator*inclusiveVertices)
inclusiveVertexing = cms.Sequence(inclusiveVertexFinder*vertexMerger*trackVertexArbitrator*inclusiveSecondaryVertices)

0 comments on commit 4bac17b

Please sign in to comment.