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 
3 #
4 # FIXME most probably this part is not needed for dispaced muons...
5 #
6 
8 
9 #for displaced global muons
10 duplicateDisplacedTrackCandidates = DuplicateTrackMerger.clone(
11  source=cms.InputTag("preDuplicateMergingDisplacedTracks"),
12  useInnermostState = cms.bool(True),
13  ttrhBuilderName = cms.string("WithAngleAndTemplate")
14  )
15 #for displaced global muons
16 mergedDuplicateDisplacedTracks = RecoTracker.TrackProducer.TrackProducer_cfi.TrackProducer.clone(
17  src = cms.InputTag("duplicateDisplacedTrackCandidates","candidates"),
18  )
19 
20 
21 #for displaced global muons
23 duplicateDisplacedTrackClassifier = TrackCutClassifier.clone()
24 duplicateDisplacedTrackClassifier.src='mergedDuplicateDisplacedTracks'
25 duplicateDisplacedTrackClassifier.mva.minPixelHits = [0,0,0]
26 duplicateDisplacedTrackClassifier.mva.maxChi2 = [9999.,9999.,9999.]
27 duplicateDisplacedTrackClassifier.mva.maxChi2n = [9999.,9999.,9999.]
28 duplicateDisplacedTrackClassifier.mva.minLayers = [0,0,0]
29 duplicateDisplacedTrackClassifier.mva.min3DLayers = [0,0,0]
30 duplicateDisplacedTrackClassifier.mva.maxLostLayers = [99,99,99]
31 
32 
33 #for displaced global muons
34 displacedTracks = DuplicateListMerger.clone(
35  originalSource = cms.InputTag("preDuplicateMergingDisplacedTracks"),
36  originalMVAVals = cms.InputTag("preDuplicateMergingDisplacedTracks","MVAValues"),
37  mergedSource = cms.InputTag("mergedDuplicateDisplacedTracks"),
38  mergedMVAVals = cms.InputTag("duplicateDisplacedTrackClassifier","MVAValues"),
39  candidateSource = cms.InputTag("duplicateDisplacedTrackCandidates","candidates"),
40  candidateComponents = cms.InputTag("duplicateDisplacedTrackCandidates","candidateMap")
41  )
42 #for displaced global muons
43 displacedTracksSequence = cms.Sequence(
44  duplicateDisplacedTrackCandidates*
45  mergedDuplicateDisplacedTracks*
46  duplicateDisplacedTrackClassifier*
47  displacedTracks
48  )