CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
trackAssociatorByHits_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 trackAssociatorByHits = cms.EDProducer("TrackAssociatorByHitsProducer",
4  Quality_SimToReco = cms.double(0.5),
5  associateRecoTracks = cms.bool(True),
6  UseGrouped = cms.bool(True),
7  associatePixel = cms.bool(True),
8  ROUList = cms.vstring('TrackerHitsTIBLowTof',
9  'TrackerHitsTIBHighTof',
10  'TrackerHitsTIDLowTof',
11  'TrackerHitsTIDHighTof',
12  'TrackerHitsTOBLowTof',
13  'TrackerHitsTOBHighTof',
14  'TrackerHitsTECLowTof',
15  'TrackerHitsTECHighTof',
16  'TrackerHitsPixelBarrelLowTof',
17  'TrackerHitsPixelBarrelHighTof',
18  'TrackerHitsPixelEndcapLowTof',
19  'TrackerHitsPixelEndcapHighTof'),
20  UseSplitting = cms.bool(True),
21  UsePixels = cms.bool(True),
22  ThreeHitTracksAreSpecial = cms.bool(True),
23  AbsoluteNumberOfHits = cms.bool(False),
24  associateStrip = cms.bool(True),
25  pixelSimLinkSrc = cms.InputTag("simSiPixelDigis"),
26  stripSimLinkSrc = cms.InputTag("simSiStripDigis"),
27  Purity_SimToReco = cms.double(0.75),
28  Cut_RecoToSim = cms.double(0.75),
29  SimToRecoDenominator = cms.string('sim'), ##"reco"
30  simHitTpMapTag = cms.InputTag("simHitTPAssocProducer")
31  )
32 
33 
34 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
35 premix_stage2.toModify(trackAssociatorByHits,
36  pixelSimLinkSrc = "mixData:PixelDigiSimLink",
37  stripSimLinkSrc = "mixData:StripDigiSimLink",
38 )