Revision: | 1.4 |
Committed: | Wed Mar 16 18:59:24 2011 UTC (14 years, 1 month ago) by mzanetti |
Content type: | text/x-python |
Branch: | MAIN |
CVS Tags: | Mit_032, Mit_031, Mit_025c_branch2, Mit_025c_branch1, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, Mit_029, Mit_029_pre1, Mit_028a, Mit_025c_branch0, Mit_028, Mit_027a, Mit_027, Mit_026, Mit_025e, Mit_025d, Mit_025c, Mit_025b, Mit_025a, Mit_025, Mit_025pre2, Mit_024b, Mit_025pre1, Mit_024a, Mit_024, Mit_023, Mit_022a, Mit_022, Mit_020d, TMit_020d, Mit_020c, Mit_021, Mit_021pre2, Mit_021pre1, Mit_020b, Mit_020a, Mit_020, HEAD |
Branch point for: | Mit_025c_branch |
Changes since 1.3: | +7 -6 lines |
Log Message: | synchronized with CVS (but for additional d0(z)CutOff parameters (to be checked) |
# | Content |
---|---|
1 | # $Id: DAPrimaryVertex_cff.py,v 1.3 2011/03/11 18:47:10 mzanetti Exp $ |
2 | |
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(20.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 | TkClusParameters = cms.PSet( |
25 | algorithm = cms.string("DA"), |
26 | TkDAClusParameters = cms.PSet( |
27 | coolingFactor = cms.double(0.6), # moderate annealing speed |
28 | Tmin = cms.double(4.), # end of annealing |
29 | vertexSize = cms.double(0.01), # ~ resolution / sqrt(Tmin) |
30 | #d0CutOff = cms.double(3.), # downweight high IP tracks |
31 | #dzCutOff = cms.double(4.) # outlier rejection after freeze-out (T<Tmin) |
32 | ) |
33 | ) |
34 | ) |
35 | |
36 | offlinePrimaryVerticesDABS = offlinePrimaryVerticesDA.clone(useBeamConstraint = True) |
37 | |
38 | daPrimaryVertexSequence = cms.Sequence( offlinePrimaryVerticesDA * offlinePrimaryVerticesDABS) |