CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
customizeOIseeding.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 import RecoMuon.TrackerSeedGenerator.tsgForOIDNN_cfi as _mod
4 
5 def customizeOIseeding(process):
6  """
7  - adds doublet-like HB seeds (maxHitDoubletSeeds)
8  - HL seeds from two trajectories (IP, MuS) are considered separate types
9  - Number of seeds of each type and error SF for HL seeds can be determined individually for each L2 muon using a DNN
10  """
11 
12  process.hltIterL3OISeedsFromL2Muons = _mod.tsgForOIDNN.clone(
13  src = "hltL2Muons:UpdatedAtVtx",
14  MeasurementTrackerEvent = "hltSiStripClusters",
15  debug = False,
16  estimator = 'hltESPChi2MeasurementEstimator100',
17  fixedErrorRescaleFactorForHitless = 2.0,
18  hitsToTry = 1,
19  layersToTry = 2,
20  maxEtaForTOB = 1.8,
21  minEtaForTEC = 0.7,
22  maxHitDoubletSeeds = 0,
23  maxHitSeeds = 1,
24  maxHitlessSeedsIP = 5,
25  maxHitlessSeedsMuS = 0,
26  maxSeeds = 20,
27  propagatorName = 'PropagatorWithMaterialParabolicMf',
28  getStrategyFromDNN = True, # will override max nSeeds of all types and SF
29  useRegressor = False,
30  dnnMetadataPath = 'RecoMuon/TrackerSeedGenerator/data/OIseeding/DNNclassifier_Run3_metadata.json',
31  # dnnMetadataPath = 'RecoMuon/TrackerSeedGenerator/data/OIseeding/DNNregressor_Run3_metadata.json'
32  )
33 
34  return process
def customizeOIseeding(process)