CMS 3D CMS Logo

classifierTest_cff.py
Go to the documentation of this file.
4 
5 testTrackClassifier1 = TrackMVAClassifierPrompt.clone(
6  src = 'initialStepTracks',
7  mva = dict(GBRForestLabel = 'MVASelectorIter0_13TeV'),
8  qualityCuts = [-0.9,-0.8,-0.7]
9 )
10 
11 testTrackClassifier2 = TrackCutClassifier.clone(
12  src = 'initialStepTracks',
13  mva = dict(minPixelHits = [0,1,1])
14 )
15 
17 testMergedClassifier = ClassifierMerger.clone(
18  inputClassifiers=['testTrackClassifier1','testTrackClassifier2']
19 )
20 
22 testTrackMerger = TrackCollectionMerger.clone(
23  trackProducers = ['initialStepTracks'],
24  inputClassifiers =['testMergedClassifier'],
25  minQuality = 'tight'
26 )
27 
28 testTrackClassifier3 = TrackMVAClassifierDetached.clone(
29  src = 'detachedTripletStepTracks',
30  mva = dict(GBRForestLabel = 'MVASelectorIter3_13TeV'),
31  qualityCuts = [-0.5,0.0,0.5]
32 )
33 
34 from RecoTracker.FinalTrackSelectors.trackAlgoPriorityOrder_cfi import trackAlgoPriorityOrder
36 testTrackMerger2 = TrackCollectionMerger.clone(
37  trackProducers = ['initialStepTracks','detachedTripletStepTracks'],
38  inputClassifiers =['testMergedClassifier','testTrackClassifier3'],
39  minQuality = 'tight'
40 )
41 
42 testTrackCloning = cms.Sequence(testTrackClassifier1*testTrackClassifier2*testTrackClassifier3*
43  testMergedClassifier*testTrackMerger*testTrackMerger2)
TrackCollectionMerger_cfi
TrackMVAClassifierDetached_cfi
TrackCutClassifier_cff
ClassifierMerger_cfi
TrackMVAClassifierPrompt_cfi