1 |
mzanetti |
1.3 |
# $Id: DAPrimaryVertex_cff.py,v 1.2 2011/03/07 11:29:30 mzanetti Exp $
|
2 |
mzanetti |
1.1 |
|
3 |
|
|
import FWCore.ParameterSet.Config as cms
|
4 |
|
|
|
5 |
|
|
offlinePrimaryVerticesDA = cms.EDProducer("PrimaryVertexProducer",
|
6 |
|
|
verbose = cms.untracked.bool(False),
|
7 |
|
|
algorithm = cms.string('AdaptiveVertexFitter'),
|
8 |
|
|
TrackLabel = cms.InputTag("generalTracks"),
|
9 |
|
|
useBeamConstraint = cms.bool(False),
|
10 |
|
|
beamSpotLabel = cms.InputTag("offlineBeamSpot"),
|
11 |
|
|
minNdof = cms.double(0.0),
|
12 |
|
|
PVSelParameters = cms.PSet(
|
13 |
|
|
maxDistanceToBeam = cms.double(1.0)
|
14 |
|
|
),
|
15 |
|
|
TkFilterParameters = cms.PSet(
|
16 |
|
|
algorithm=cms.string('filter'),
|
17 |
|
|
maxNormalizedChi2 = cms.double(5.0),
|
18 |
|
|
minPixelLayersWithHits=cms.int32(2),
|
19 |
|
|
minSiliconLayersWithHits = cms.int32(5),
|
20 |
|
|
maxD0Significance = cms.double(5.0),
|
21 |
|
|
minPt = cms.double(0.0),
|
22 |
|
|
trackQuality = cms.string("any")
|
23 |
|
|
),
|
24 |
|
|
|
25 |
|
|
TkClusParameters = cms.PSet(
|
26 |
|
|
algorithm = cms.string("DA"),
|
27 |
|
|
TkDAClusParameters = cms.PSet(
|
28 |
mzanetti |
1.2 |
coolingFactor = cms.double(0.6), # rather slow annealing for now
|
29 |
|
|
Tmin = cms.double(4.), # end of annealing
|
30 |
mzanetti |
1.1 |
vertexSize = cms.double(0.01) # 100 um !!
|
31 |
|
|
)
|
32 |
|
|
)
|
33 |
|
|
)
|
34 |
|
|
|
35 |
mzanetti |
1.3 |
offlinePrimaryVerticesDABS = offlinePrimaryVerticesDA.clone(useBeamConstraint = True)
|
36 |
|
|
|
37 |
|
|
daPrimaryVertexSequence = cms.Sequence( offlinePrimaryVerticesDA * offlinePrimaryVerticesDABS)
|