Example #1
0
lowPtTripletStep.qualityCuts = [-0.6, -0.3, -0.1]

# For Phase1
# MVA selection to be enabled after re-training, for time being we go with cut-based selector
from RecoTracker.FinalTrackSelectors.TrackCutClassifier_cfi import TrackCutClassifier as _TrackCutClassifier
_cutClassifierForPhase1 = _TrackCutClassifier.clone(
    src="lowPtTripletStepTracks",
    vertices="firstStepPrimaryVertices",
    mva=dict(
        minPixelHits=[1, 1, 1],
        maxChi2=[9999., 9999., 9999.],
        maxChi2n=[2.0, 0.9, 0.5],
        minLayers=[3, 3, 3],
        min3DLayers=[3, 3, 3],
        maxLostLayers=[2, 2, 2],
        dz_par=dict(
            dz_par1=[0.7, 0.6, 0.45],
            dz_par2=[0.5, 0.4, 0.4],
            dz_exp=[4, 4, 4],
        ),
        dr_par=dict(
            dr_par1=[0.8, 0.7, 0.6],
            dr_par2=[0.5, 0.4, 0.3],
            dr_exp=[4, 4, 4],
            d0err_par=[0.002, 0.002, 0.001],
        ),
    ))
trackingPhase1.toReplaceWith(lowPtTripletStep, _cutClassifierForPhase1)
trackingPhase1QuadProp.toReplaceWith(lowPtTripletStep, _cutClassifierForPhase1)

# For LowPU and Phase1PU70
import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
Example #2
0
#highPtTripletStep.inputClassifiers=['highPtTripletStepClassifier1','highPtTripletStepClassifier2','highPtTripletStepClassifier3']
#highPtTripletStep.inputClassifiers=['highPtTripletStepClassifier1','highPtTripletStepClassifier2','highPtTripletStepClassifier3']

from RecoTracker.FinalTrackSelectors.TrackCutClassifier_cfi import TrackCutClassifier
highPtTripletStep = TrackCutClassifier.clone(
    src = "highPtTripletStepTracks",
    vertices = "firstStepPrimaryVertices",
    mva = dict(
        minPixelHits = [1,1,1],
        maxChi2 = [9999.,9999.,9999.],
        maxChi2n = [2.0,1.0,0.7],
        minLayers = [3,3,3],
        min3DLayers = [3,3,3],
        maxLostLayers = [3,2,2],
        dz_par = dict(
            dz_par1 = [0.8,0.7,0.7],
            dz_par2 = [0.6,0.5,0.4],
            dz_exp = [4,4,4]
        ),
        dr_par = dict(
            dr_par1 = [0.7,0.6,0.5],
            dr_par2 = [0.4,0.35,0.25],
            dr_exp = [4,4,4],
            d0err_par = [0.002,0.002,0.001]
        )
    )
)

# For Phase1PU70
import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
highPtTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
Example #3
0
#
#
#from RecoTracker.FinalTrackSelectors.ClassifierMerger_cfi import *
#highPtTripletStep = ClassifierMerger.clone()
#highPtTripletStep.inputClassifiers=['highPtTripletStepClassifier1','highPtTripletStepClassifier2','highPtTripletStepClassifier3']
#highPtTripletStep.inputClassifiers=['highPtTripletStepClassifier1','highPtTripletStepClassifier2','highPtTripletStepClassifier3']

from RecoTracker.FinalTrackSelectors.TrackCutClassifier_cfi import TrackCutClassifier
highPtTripletStep = TrackCutClassifier.clone(
    src="highPtTripletStepTracks",
    vertices="firstStepPrimaryVertices",
    mva=dict(minPixelHits=[1, 1, 1],
             maxChi2=[9999., 9999., 9999.],
             maxChi2n=[2.0, 1.0, 0.7],
             minLayers=[3, 3, 3],
             min3DLayers=[3, 3, 3],
             maxLostLayers=[3, 2, 2],
             dz_par=dict(dz_par1=[0.8, 0.7, 0.7],
                         dz_par2=[0.6, 0.5, 0.4],
                         dz_exp=[4, 4, 4]),
             dr_par=dict(dr_par1=[0.7, 0.6, 0.5],
                         dr_par2=[0.4, 0.35, 0.25],
                         dr_exp=[4, 4, 4],
                         d0err_par=[0.002, 0.002, 0.001])))

# For Phase1PU70
import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
highPtTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
    src='highPtTripletStepTracks',
    trackSelectors=[
        RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
            name='highPtTripletStepLoose',
Example #4
0
# For Phase1
# MVA selection to be enabled after re-training, for time being we go with cut-based selector
from RecoTracker.FinalTrackSelectors.TrackCutClassifier_cfi import TrackCutClassifier as _TrackCutClassifier
eras.trackingPhase1.toReplaceWith(lowPtTripletStep, _TrackCutClassifier.clone(
    src = "lowPtTripletStepTracks",
    vertices = "firstStepPrimaryVertices",
    mva = dict (
        minPixelHits = [1,1,1],
        maxChi2 = [9999.,9999.,9999.],
        maxChi2n = [2.0,0.9,0.5],
        minLayers = [3,3,3],
        min3DLayers = [3,3,3],
        maxLostLayers = [2,2,2],
        dz_par = dict(
            dz_par1 = [0.7,0.6,0.45],
            dz_par2 = [0.5,0.4,0.4],
            dz_exp = [4,4,4],
        ),
        dr_par = dict(
            dr_par1 = [0.8,0.7,0.6],
            dr_par2 = [0.5,0.4,0.3],
            dr_exp = [4,4,4],
            d0err_par = [0.002,0.002,0.001],
        ),
    )
))

# For LowPU and Phase1PU70
import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
lowPtTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(