CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MergeDisplacedTrackCollections_cff.py
Go to the documentation of this file.
2 
4 
5 #for displaced global muons
6 duplicateDisplacedTrackCandidates = RecoTracker.FinalTrackSelectors.DuplicateTrackMerger_cfi.duplicateTrackMerger.clone(
7  source=cms.InputTag("preDuplicateMergingDisplacedTracks"),
8  useInnermostState = cms.bool(True),
9  ttrhBuilderName = cms.string("WithAngleAndTemplate")
10  )
11 #for displaced global muons
12 mergedDuplicateDisplacedTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
13  src = cms.InputTag("duplicateDisplacedTrackCandidates","candidates"),
14  )
15 #for displaced global muons
16 duplicateDisplacedTrackSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
17  src='mergedDuplicateDisplacedTracks',
18  trackSelectors= cms.VPSet(
19  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
20  name = 'duplicateDisplacedTrackSelectorLoose',
21  minHitsToBypassChecks = cms.uint32(0),
22  ),
23  )
24  )
25 
26 #for displaced global muons
27 displacedTracks = RecoTracker.FinalTrackSelectors.DuplicateTrackMerger_cfi.duplicateListMerger.clone(
28  originalSource = cms.InputTag("preDuplicateMergingDisplacedTracks"),
29  mergedSource = cms.InputTag("mergedDuplicateDisplacedTracks"),
30  mergedMVAVals = cms.InputTag("duplicateDisplacedTrackSelector","MVAVals"),
31  candidateSource = cms.InputTag("duplicateDisplacedTrackCandidates","candidateMap")
32  )
33 #for displaced global muons
34 displacedTracksSequence = cms.Sequence(
35  duplicateDisplacedTrackCandidates*
36  mergedDuplicateDisplacedTracks*
37  duplicateDisplacedTrackSelector*
38  displacedTracks
39  )