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.
1 import FWCore.ParameterSet.Config as cms
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 
16 
17 #for displaced global muons
19 duplicateDisplacedTrackClassifier = TrackCutClassifier.clone()
20 duplicateDisplacedTrackClassifier.src='mergedDuplicateDisplacedTracks'
21 duplicateDisplacedTrackClassifier.mva.minPixelHits = [0,0,0]
22 duplicateDisplacedTrackClassifier.mva.maxChi2 = [9999.,9999.,9999.]
23 duplicateDisplacedTrackClassifier.mva.maxChi2n = [9999.,9999.,9999.]
24 duplicateDisplacedTrackClassifier.mva.minLayers = [0,0,0]
25 duplicateDisplacedTrackClassifier.mva.min3DLayers = [0,0,0]
26 duplicateDisplacedTrackClassifier.mva.maxLostLayers = [99,99,99]
27 
28 
29 #for displaced global muons
30 displacedTracks = RecoTracker.FinalTrackSelectors.DuplicateTrackMerger_cfi.duplicateListMerger.clone(
31  originalSource = cms.InputTag("preDuplicateMergingDisplacedTracks"),
32  mergedSource = cms.InputTag("mergedDuplicateDisplacedTracks"),
33  mergedMVAVals = cms.InputTag("duplicateDisplacedTrackClassifier","MVAValues"),
34  candidateSource = cms.InputTag("duplicateDisplacedTrackCandidates","candidateMap")
35  )
36 #for displaced global muons
37 displacedTracksSequence = cms.Sequence(
38  duplicateDisplacedTrackCandidates*
39  mergedDuplicateDisplacedTracks*
40  duplicateDisplacedTrackClassifier*
41  displacedTracks
42  )