Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 10:01:33

0001 import FWCore.ParameterSet.Config as cms
0002 from HLTrigger.Configuration.common import *
0003 import RecoMuon.TrackerSeedGenerator.tsgForOIDNN_cfi as _mod
0004 
0005 def customizeOIseeding(process):
0006     """
0007     - adds doublet-like HB seeds (maxHitDoubletSeeds)
0008     - HL seeds from two trajectories (IP, MuS) are considered separate types
0009     - Number of seeds of each type and error SF for HL seeds  can be determined individually for each L2 muon using a DNN
0010     """
0011 
0012     process.hltIterL3OISeedsFromL2Muons = _mod.tsgForOIDNN.clone(
0013         src = "hltL2Muons:UpdatedAtVtx",
0014         MeasurementTrackerEvent = "hltSiStripClusters",
0015         debug = False,
0016         estimator = 'hltESPChi2MeasurementEstimator100',
0017         fixedErrorRescaleFactorForHitless = 2.0,
0018         hitsToTry = 1,
0019         layersToTry = 2,
0020         maxEtaForTOB = 1.8,
0021         minEtaForTEC = 0.7,
0022         maxHitDoubletSeeds = 0,
0023         maxHitSeeds = 1,
0024         maxHitlessSeedsIP = 5,
0025         maxHitlessSeedsMuS = 0,
0026         maxSeeds = 20,
0027         propagatorName = 'PropagatorWithMaterialParabolicMf',
0028         getStrategyFromDNN = True,  # will override max nSeeds of all types and SF
0029         useRegressor = False,
0030         dnnMetadataPath = 'RecoMuon/TrackerSeedGenerator/data/OIseeding/DNNclassifier_Run3_metadata.json',
0031         # dnnMetadataPath = 'RecoMuon/TrackerSeedGenerator/data/OIseeding/DNNregressor_Run3_metadata.json'
0032     )
0033 
0034     return process