CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GeneralTracks_cfi.py
Go to the documentation of this file.
2 
3 import RecoTracker.FinalTrackSelectors.trackListMerger_cfi
4 generalTracksBase = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone(
5  TrackProducers = (cms.InputTag('initialStepTracks'),
6  cms.InputTag('lowPtTripletStepTracks'),
7  cms.InputTag('pixelPairStepTracks'),
8  cms.InputTag('detachedTripletStepTracks'),
9  cms.InputTag('mixedTripletStepTracks'),
10  cms.InputTag('pixelLessStepTracks'),
11  cms.InputTag('tobTecStepTracks'),
12  #### not validated yet cms.InputTag('muonSeededTracksOutIn'),
13  #### not validated yet cms.InputTag('muonSeededTracksInOut')
14  ),
15  ### hasSelector=cms.vint32(1,1,1,1,1,1,1,1,1),
16  hasSelector=cms.vint32(1,1,1,1,1,1,1),
17  selectedTrackQuals = cms.VInputTag(cms.InputTag("initialStepSelector","initialStep"),
18  cms.InputTag("lowPtTripletStepSelector","lowPtTripletStep"),
19  cms.InputTag("pixelPairStepSelector","pixelPairStep"),
20  cms.InputTag("detachedTripletStep"),
21  cms.InputTag("mixedTripletStep"),
22  cms.InputTag("pixelLessStepSelector","pixelLessStep"),
23  cms.InputTag("tobTecStepSelector","tobTecStep"),
24  #### not validated yet cms.InputTag("muonSeededTracksOutInSelector","muonSeededTracksOutInHighPurity"),
25  #### not validated yet cms.InputTag("muonSeededTracksInOutSelector","muonSeededTracksInOutHighPurity")
26  ),
27  ### setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1,2,3,4,5,6,7,8), pQual=cms.bool(True) )
28  setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1,2,3,4,5,6), pQual=cms.bool(True) )
29  ),
30  copyExtras = True,
31  makeReKeyedSeeds = cms.untracked.bool(False)
32  )
33 
34 
35 # this block is to switch between defaul behaviour (MixingMode=='GenMixing') and new mixing
37 if (MixingMode=='GenMixing'):
38  generalTracks = generalTracksBase.clone()
39 elif (MixingMode=='DigiRecoMixing'):
40  generalTracksBeforeMixing = generalTracksBase.clone()
41 else:
42  print 'unsupported MixingMode label'