Skip to content

Commit

Permalink
Merge pull request #46347 from stahlleiton/Era_Run2_2016_UPC_CMSSW_14…
Browse files Browse the repository at this point in the history
…_1_X

[14_1_X] Era for UPC re-reco of 2016 pPb data
  • Loading branch information
cmsbuild authored Oct 15, 2024
2 parents cf00bee + cd837b2 commit 5afb930
Show file tree
Hide file tree
Showing 20 changed files with 77 additions and 56 deletions.
2 changes: 1 addition & 1 deletion Configuration/AlCa/python/autoCond.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# GlobalTag for MC production (p-Pb collisions) with realistic alignment and calibrations for Run2
'run2_mc_pa' : '131X_mcRun2_pA_v3',
# GlobalTag for Run2 data reprocessing
'run2_data' : '140X_dataRun2_v2',
'run2_data' : '141X_dataRun2_v2',
# GlobalTag for Run2 data 2018B relvals only: HEM-15-16 fail
'run2_data_HEfail' : '140X_dataRun2_HEfail_v1',
# GlobalTag for Run2 HI data
Expand Down
8 changes: 8 additions & 0 deletions Configuration/Eras/python/Era_Run2_2016_UPC_cff.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import FWCore.ParameterSet.Config as cms

from Configuration.Eras.Era_Run2_2016_cff import Run2_2016
from Configuration.ProcessModifiers.egamma_lowPt_exclusive_cff import egamma_lowPt_exclusive
from Configuration.Eras.Modifier_highBetaStar_cff import highBetaStar
from Configuration.Eras.Modifier_run3_upc_cff import run3_upc

Run2_2016_UPC = cms.ModifierChain(Run2_2016, egamma_lowPt_exclusive, highBetaStar, run3_upc)
4 changes: 2 additions & 2 deletions Configuration/Eras/python/Era_Run2_2018_highBetaStar_cff.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import FWCore.ParameterSet.Config as cms
from Configuration.ProcessModifiers.trackdnn_cff import trackdnn
from Configuration.Eras.Era_Run2_2018_cff import Run2_2018
from Configuration.Eras.Modifier_highBetaStar_2018_cff import highBetaStar_2018
from Configuration.Eras.Modifier_highBetaStar_cff import highBetaStar

Run2_2018_highBetaStar = cms.ModifierChain(Run2_2018.copyAndExclude([trackdnn]), highBetaStar_2018)
Run2_2018_highBetaStar = cms.ModifierChain(Run2_2018.copyAndExclude([trackdnn]), highBetaStar)
4 changes: 2 additions & 2 deletions Configuration/Eras/python/Era_Run3_2023_UPC_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from Configuration.Eras.Era_Run3_2023_cff import Run3_2023
from Configuration.ProcessModifiers.egamma_lowPt_exclusive_cff import egamma_lowPt_exclusive
from Configuration.Eras.Modifier_highBetaStar_2018_cff import highBetaStar_2018
from Configuration.Eras.Modifier_highBetaStar_cff import highBetaStar
from Configuration.Eras.Modifier_run3_upc_cff import run3_upc

Run3_2023_UPC = cms.ModifierChain(Run3_2023, egamma_lowPt_exclusive, highBetaStar_2018, run3_upc)
Run3_2023_UPC = cms.ModifierChain(Run3_2023, egamma_lowPt_exclusive, highBetaStar, run3_upc)
4 changes: 2 additions & 2 deletions Configuration/Eras/python/Era_Run3_2024_UPC_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from Configuration.Eras.Era_Run3_2024_cff import Run3_2024
from Configuration.ProcessModifiers.egamma_lowPt_exclusive_cff import egamma_lowPt_exclusive
from Configuration.Eras.Modifier_highBetaStar_2018_cff import highBetaStar_2018
from Configuration.Eras.Modifier_highBetaStar_cff import highBetaStar
from Configuration.Eras.Modifier_run3_upc_cff import run3_upc

Run3_2024_UPC = cms.ModifierChain(Run3_2024, egamma_lowPt_exclusive, highBetaStar_2018, run3_upc)
Run3_2024_UPC = cms.ModifierChain(Run3_2024, egamma_lowPt_exclusive, highBetaStar, run3_upc)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import FWCore.ParameterSet.Config as cms

highBetaStar_2018 = cms.Modifier()
highBetaStar = cms.Modifier()

3 changes: 3 additions & 0 deletions Configuration/PyReleaseValidation/python/relval_standard.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,9 @@
workflows[142.901] = ['',['RunUPC2023','RECODR3_2024_UPC','HARVESTDPROMPTR3']]
workflows[142.902] = ['',['RunUPC2023','RECODR3_2024_HIN','HARVESTDPROMPTR3']]

### run2-2016 (2024 PA UPC rereco data)
workflows[142.903] = ['',['RunUPC2016PA','RECODR2_2016_UPC','HARVEST2016']]

## 2024 Data Workflows
# for a limited set of eras and PDs not to overflow the IB matrices
#
Expand Down
5 changes: 5 additions & 0 deletions Configuration/PyReleaseValidation/python/relval_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@
steps['RunJetHT2016H_reminiaod']={'INPUT':InputInfo(dataSet='/JetHT/Run2016H-18Apr2017-v1/AOD',label='2016Hrmaod',events=100000,location='STD', ls=Run2016H)}
steps['RunJetHT2016H_reminiaodUL']={'INPUT':InputInfo(dataSet='/JetHT/Run2016H-21Feb2020_UL2016-v1/AOD',label='2016HrmaodUL',events=100000,location='STD', ls=Run2016H)}

#### run2 2016 PA UPC ####
Run2016UPCPA={286051: [[98,98]]}
steps['RunUPC2016PA']={'INPUT':InputInfo(dataSet='/PAForward/PARun2016C-v1/RAW',label='upcPA2016',events=10000,location='STD',ls=Run2016UPCPA)}

#### run2 2017B ####
Run2017BlowPU={297227: [[1, 45]]}
Run2017B={297557: [[8, 167]]}
Expand Down Expand Up @@ -2733,6 +2737,7 @@ def lhegensim2018ml(fragment,howMuch):
steps['RECODR3_reHLT_2023B']=merge([{'--conditions':'auto:run3_data_prompt_relval', '--hltProcess':'reHLT'},steps['RECODR3']])
steps['RECODR3_reHLT_2024']=merge([{'--conditions':'auto:run3_data_prompt_relval', '--hltProcess':'reHLT'},steps['RECODR3']])

steps['RECODR2_2016_UPC']=merge([{'--conditions':'auto:run2_data', '--era':'Run2_2016_UPC', '-s':'RAW2DIGI,L1Reco,RECO,DQM:@commonFakeHLT+@standardDQMFakeHLT', '--repacked':''},steps['RECODR2_2016']])
steps['RECODR3_2023_HIN']=merge([{'--conditions':'auto:run3_data_prompt', '-s':'RAW2DIGI,L1Reco,RECO,DQM:@commonFakeHLT+@standardDQMFakeHLT', '--repacked':'', '-n':1000},steps['RECODR3_2023']])
steps['RECODR3_2023_UPC']=merge([{'--era':'Run3_2023_UPC'},steps['RECODR3_2023_HIN']])
steps['RECODR3_2024_HIN']=merge([{'--conditions':'auto:run3_data_prompt', '-s':'RAW2DIGI,L1Reco,RECO,DQM:@commonFakeHLT+@standardDQMFakeHLT', '--repacked':'', '-n':1000},steps['RECODR3_2024']])
Expand Down
3 changes: 2 additions & 1 deletion Configuration/StandardSequences/python/Eras.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def __init__(self):
'Run2_2016_HIPM',
'Run2_2016_trackingLowPU',
'Run2_2016_pA',
'Run2_2016_UPC',
'Run2_2017',
'Run2_2017_noMkFit',
'Run2_2017_FastSim', #new modifier for Phase1 FastSim, skips the muon GEM sequence
Expand Down Expand Up @@ -88,7 +89,7 @@ def __init__(self):
'phase2_squarePixels', 'phase2_3DPixels',
'trackingLowPU', 'trackingPhase1',
'ctpps', 'ctpps_2016', 'ctpps_2017', 'ctpps_2018', 'ctpps_2022',
'trackingPhase2PU140','highBetaStar_2018',
'trackingPhase2PU140','highBetaStar',
'tracker_apv_vfp30_2016', 'pf_badHcalMitigationOff',
'run2_nanoAOD_106Xv2',
'run3_nanoAOD_122', 'run3_nanoAOD_124',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
from RecoHI.HiCentralityAlgos.HiCentrality_cfi import hiCentrality
from RecoHI.HiCentralityAlgos.HiClusterCompatibility_cfi import hiClusterCompatibility
_highlevelreco_HITask = highlevelrecoTask.copy()
_highlevelreco_HITask.add(hiConformalPixelTracksTaskPhase1)
_highlevelreco_HITask.add(hiConformalPixelTracksTask)
_highlevelreco_HITask.add(hiCentrality)
_highlevelreco_HITask.add(hiClusterCompatibility)
(pp_on_XeXe_2017 | pp_on_AA | run3_upc).toReplaceWith(highlevelrecoTask, _highlevelreco_HITask)
Expand Down
6 changes: 5 additions & 1 deletion RecoHI/HiTracking/python/HILowPtConformalPixelTracks_cfi.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import FWCore.ParameterSet.Config as cms

from RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi import PixelLayerTriplets
from RecoTracker.TkHitPairs.hitPairEDProducer_cfi import hitPairEDProducer as _hitPairEDProducer
from RecoTracker.PixelSeeding.pixelTripletHLTEDProducer_cfi import pixelTripletHLTEDProducer as _pixelTripletHLTEDProducer
from RecoTracker.PixelLowPtUtilities.ClusterShapeHitFilterESProducer_cfi import *
Expand Down Expand Up @@ -123,6 +124,7 @@

hiConformalPixelTracksTask = cms.Task(
hiTrackingRegionWithVertex ,
PixelLayerTriplets ,
hiConformalPixelTracksHitDoublets ,
hiConformalPixelTracksHitTriplets ,
pixelFitterByConformalMappingAndLine ,
Expand Down Expand Up @@ -216,8 +218,10 @@
hiConformalPixelTracksTaskPhase1.copy()
))

hiConformalPixelTracksSequencePhase1 = cms.Sequence(hiConformalPixelTracksTaskPhase1)
phase1Pixel.toReplaceWith(hiConformalPixelTracksTask, hiConformalPixelTracksTaskPhase1)

from Configuration.Eras.Modifier_run3_upc_cff import run3_upc
run3_upc.toModify(hiConformalPixelTracksPhase1TrackingRegions.RegionPSet, ptMin = 0.05)
run3_upc.toModify(hiConformalPixelTracksPhase1Filter, ptMin = 0.05)
run3_upc.toModify(hiTrackingRegionWithVertex.RegionPSet, VertexCollection = "offlinePrimaryVertices", ptMin = 0.05)
run3_upc.toModify(hiConformalPixelFilter, VertexCollection = "offlinePrimaryVertices", ptMin = 0.05)
8 changes: 4 additions & 4 deletions RecoTracker/IterativeTracking/python/DetachedQuadStep_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
)
)
)
from Configuration.Eras.Modifier_highBetaStar_2018_cff import highBetaStar_2018
highBetaStar_2018.toModify(detachedQuadStepTrackingRegions,RegionPSet = dict(ptMin = 0.05))
from Configuration.Eras.Modifier_highBetaStar_cff import highBetaStar
highBetaStar.toModify(detachedQuadStepTrackingRegions,RegionPSet = dict(ptMin = 0.05))


# seeding
Expand Down Expand Up @@ -80,7 +80,7 @@
CAThetaCut = 0.0011,
CAPhiCut = 0,
)
highBetaStar_2018.toModify(detachedQuadStepHitQuadruplets,CAThetaCut = 0.0022,CAPhiCut = 0.1)
highBetaStar.toModify(detachedQuadStepHitQuadruplets,CAThetaCut = 0.0022,CAPhiCut = 0.1)

from RecoTracker.TkSeedGenerator.seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer_cff import seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer as _seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer
detachedQuadStepSeeds = _seedCreatorFromRegionConsecutiveHitsTripletOnlyEDProducer.clone(
Expand Down Expand Up @@ -256,7 +256,7 @@
))


highBetaStar_2018.toModify(detachedQuadStep,qualityCuts = [-0.7,0.0,0.5])
highBetaStar.toModify(detachedQuadStep,qualityCuts = [-0.7,0.0,0.5])

(pp_on_AA & trackdnn).toModify(detachedQuadStep, qualityCuts = [-0.63, 0.5, 0.94] )

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
originRadius = 1.5)
)
)
from Configuration.Eras.Modifier_highBetaStar_2018_cff import highBetaStar_2018
highBetaStar_2018.toModify(detachedTripletStepTrackingRegions, RegionPSet = dict(ptMin = 0.05))
from Configuration.Eras.Modifier_highBetaStar_cff import highBetaStar
highBetaStar.toModify(detachedTripletStepTrackingRegions, RegionPSet = dict(ptMin = 0.05))

# seeding
from RecoTracker.TkHitPairs.hitPairEDProducer_cfi import hitPairEDProducer as _hitPairEDProducer
Expand Down Expand Up @@ -109,7 +109,7 @@
CAPhiCut = 0,
CAHardPtCut = 0.2,
))
highBetaStar_2018.toModify(detachedTripletStepHitTriplets,CAThetaCut = 0.002,CAPhiCut = 0.1,CAHardPtCut = 0)
(highBetaStar & trackingPhase1).toModify(detachedTripletStepHitTriplets,CAThetaCut = 0.002,CAPhiCut = 0.1,CAHardPtCut = 0)

import FastSimulation.Tracking.TrajectorySeedProducer_cfi
_fastSim_detachedTripletStepSeeds = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone(
Expand Down Expand Up @@ -303,7 +303,7 @@

(pp_on_AA & trackdnn).toModify(detachedTripletStep, qualityCuts = [-0.32, 0.5, 0.98] )

highBetaStar_2018.toModify(detachedTripletStep,qualityCuts = [-0.5,0.0,0.5])
(highBetaStar & trackingPhase1).toModify(detachedTripletStep,qualityCuts = [-0.5,0.0,0.5])

# For LowPU
import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
Expand Down
12 changes: 6 additions & 6 deletions RecoTracker/IterativeTracking/python/HighPtTripletStep_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
)
)
)
from Configuration.Eras.Modifier_highBetaStar_2018_cff import highBetaStar_2018
highBetaStar_2018.toModify(highPtTripletStepTrackingRegions,RegionPSet = dict(
from Configuration.Eras.Modifier_highBetaStar_cff import highBetaStar
highBetaStar.toModify(highPtTripletStepTrackingRegions,RegionPSet = dict(
ptMin = 0.05,
originRadius = 0.2
))
Expand Down Expand Up @@ -116,7 +116,7 @@
)

trackingPhase2PU140.toModify(highPtTripletStepHitTriplets,CAThetaCut = 0.003,CAPhiCut = 0.06,CAHardPtCut = 0.5)
highBetaStar_2018.toModify(highPtTripletStepHitTriplets,CAThetaCut = 0.008,CAPhiCut = 0.14,CAHardPtCut = 0)
highBetaStar.toModify(highPtTripletStepHitTriplets,CAThetaCut = 0.008,CAPhiCut = 0.14,CAHardPtCut = 0)

from RecoTracker.TkSeedGenerator.seedCreatorFromRegionConsecutiveHitsEDProducer_cff import seedCreatorFromRegionConsecutiveHitsEDProducer as _seedCreatorFromRegionConsecutiveHitsEDProducer
highPtTripletStepSeeds = _seedCreatorFromRegionConsecutiveHitsEDProducer.clone(
Expand Down Expand Up @@ -153,7 +153,7 @@
trackingPhase2PU140.toReplaceWith(highPtTripletStepTrajectoryFilterBase, _highPtTripletStepTrajectoryFilterBase)

(pp_on_XeXe_2017 | pp_on_AA).toModify(highPtTripletStepTrajectoryFilterBase, minPt=0.7)
highBetaStar_2018.toModify(highPtTripletStepTrajectoryFilterBase, minPt=0.05)
highBetaStar.toModify(highPtTripletStepTrajectoryFilterBase, minPt=0.05)

highPtTripletStepTrajectoryFilter = _TrajectoryFilter_cff.CompositeTrajectoryFilter_block.clone(
filters = [cms.PSet(refToPSet_ = cms.string('highPtTripletStepTrajectoryFilterBase'))]
Expand All @@ -171,7 +171,7 @@
strictSeedExtension = False, # allow inactive
pixelSeedExtension = False,
)
highBetaStar_2018.toModify(highPtTripletStepTrajectoryFilterInOut, minPt=0.05)
highBetaStar.toModify(highPtTripletStepTrajectoryFilterInOut, minPt=0.05)

import RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi
highPtTripletStepChi2Est = RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi.Chi2ChargeMeasurementEstimator.clone(
Expand Down Expand Up @@ -299,7 +299,7 @@
src = 'highPtTripletStepTracks',
qualityCuts = qualityCutDictionary.HighPtTripletStep.value()
))
highBetaStar_2018.toModify(highPtTripletStep,qualityCuts = [-0.2,0.3,0.4])
highBetaStar.toModify(highPtTripletStep,qualityCuts = [-0.2,0.3,0.4])

fastSim.toModify(highPtTripletStep,vertices = 'firstStepPrimaryVerticesBeforeMixing')

Expand Down
8 changes: 4 additions & 4 deletions RecoTracker/IterativeTracking/python/InitialStep_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
))
from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
trackingPhase1.toModify(initialStepTrackingRegions, RegionPSet = dict(ptMin = 0.5))
from Configuration.Eras.Modifier_highBetaStar_2018_cff import highBetaStar_2018
highBetaStar_2018.toModify(initialStepTrackingRegions,RegionPSet = dict(
from Configuration.Eras.Modifier_highBetaStar_cff import highBetaStar
highBetaStar.toModify(initialStepTrackingRegions,RegionPSet = dict(
ptMin = 0.05,
originRadius = 0.2
))
Expand Down Expand Up @@ -78,7 +78,7 @@
CAThetaCut = 0.0012,
CAPhiCut = 0.2,
)
highBetaStar_2018.toModify(_initialStepCAHitQuadruplets,
highBetaStar.toModify(_initialStepCAHitQuadruplets,
CAThetaCut = 0.0024,
CAPhiCut = 0.4
)
Expand Down Expand Up @@ -154,7 +154,7 @@
from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
(pp_on_XeXe_2017 | pp_on_AA).toModify(initialStepTrajectoryFilterBase, minPt=0.6)
highBetaStar_2018.toModify(initialStepTrajectoryFilterBase, minPt = 0.05)
highBetaStar.toModify(initialStepTrajectoryFilterBase, minPt = 0.05)

initialStepTrajectoryFilterInOut = initialStepTrajectoryFilterBase.clone(
minimumNumberOfHits = 4,
Expand Down
8 changes: 4 additions & 4 deletions RecoTracker/IterativeTracking/python/LowPtQuadStep_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
originRadius = 0.02 )
)
)
from Configuration.Eras.Modifier_highBetaStar_2018_cff import highBetaStar_2018
highBetaStar_2018.toModify(lowPtQuadStepTrackingRegions,RegionPSet = dict(
from Configuration.Eras.Modifier_highBetaStar_cff import highBetaStar
highBetaStar.toModify(lowPtQuadStepTrackingRegions,RegionPSet = dict(
ptMin = 0.05,
originRadius = 0.2, )
)
Expand Down Expand Up @@ -76,7 +76,7 @@
CAPhiCut = 0.3,
)
trackingPhase2PU140.toModify(lowPtQuadStepHitQuadruplets,CAThetaCut = 0.0015,CAPhiCut = 0.25)
highBetaStar_2018.toModify(lowPtQuadStepHitQuadruplets,CAThetaCut = 0.0034,CAPhiCut = 0.6)
highBetaStar.toModify(lowPtQuadStepHitQuadruplets,CAThetaCut = 0.0034,CAPhiCut = 0.6)

from RecoTracker.TkSeedGenerator.seedCreatorFromRegionConsecutiveHitsEDProducer_cff import seedCreatorFromRegionConsecutiveHitsEDProducer as _seedCreatorFromRegionConsecutiveHitsEDProducer
lowPtQuadStepSeeds = _seedCreatorFromRegionConsecutiveHitsEDProducer.clone(
Expand Down Expand Up @@ -244,7 +244,7 @@
src = 'lowPtQuadStepTracks',
qualityCuts = qualityCutDictionary.LowPtQuadStep.value()
))
highBetaStar_2018.toModify(lowPtQuadStep,qualityCuts = [-0.9,-0.35,-0.15])
highBetaStar.toModify(lowPtQuadStep,qualityCuts = [-0.9,-0.35,-0.15])
fastSim.toModify(lowPtQuadStep,vertices = 'firstStepPrimaryVerticesBeforeMixing')

((~trackingMkFitLowPtQuadStep) & trackdnn).toModify(lowPtQuadStep, mva = dict(tfDnnLabel = 'trackSelectionTf_CKF'),
Expand Down
8 changes: 4 additions & 4 deletions RecoTracker/IterativeTracking/python/LowPtTripletStep_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
originRadius = 0.02 )
)
)
from Configuration.Eras.Modifier_highBetaStar_2018_cff import highBetaStar_2018
highBetaStar_2018.toModify(lowPtTripletStepTrackingRegions,RegionPSet = dict(
from Configuration.Eras.Modifier_highBetaStar_cff import highBetaStar
highBetaStar.toModify(lowPtTripletStepTrackingRegions,RegionPSet = dict(
ptMin = 0.05,
originRadius = 0.2 )
)
Expand Down Expand Up @@ -130,7 +130,7 @@
CAThetaCut = 0.002,
CAPhiCut = 0.05 )
)
highBetaStar_2018.toModify(lowPtTripletStepHitTriplets,CAThetaCut = 0.004,CAPhiCut = 0.1)
(highBetaStar & trackingPhase1).toModify(lowPtTripletStepHitTriplets,CAThetaCut = 0.004,CAPhiCut = 0.1)

import FastSimulation.Tracking.TrajectorySeedProducer_cfi
from FastSimulation.Tracking.SeedingMigration import _hitSetProducerToFactoryPSet
Expand Down Expand Up @@ -323,7 +323,7 @@
src = 'lowPtTripletStepTracks',
qualityCuts = qualityCutDictionary.LowPtTripletStep.value()
))
highBetaStar_2018.toModify(lowPtTripletStep,qualityCuts = [-0.7,-0.3,-0.1])
highBetaStar.toModify(lowPtTripletStep,qualityCuts = [-0.7,-0.3,-0.1])

fastSim.toModify(lowPtTripletStep, vertices = 'firstStepPrimaryVerticesBeforeMixing')

Expand Down
17 changes: 9 additions & 8 deletions RecoTracker/IterativeTracking/python/MixedTripletStep_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
],
TEC = dict(clusterChargeCut = dict(refToPSet_ = 'SiStripClusterChargeCutTiny')),
)
from Configuration.Eras.Modifier_highBetaStar_2018_cff import highBetaStar_2018
highBetaStar_2018.toModify(mixedTripletStepSeedLayersA,
from Configuration.Eras.Modifier_highBetaStar_cff import highBetaStar
highBetaStar.toModify(mixedTripletStepSeedLayersA,
layerList = [
'BPix1+BPix2+BPix3',
'BPix1+FPix1_pos+FPix2_pos','BPix1+FPix1_neg+FPix2_neg',
Expand All @@ -95,7 +95,7 @@
originRadius = 1.5
))
trackingLowPU.toModify(_mixedTripletStepTrackingRegionsCommon, RegionPSet = dict(originHalfLength = 10.0))
highBetaStar_2018.toModify(_mixedTripletStepTrackingRegionsCommon,RegionPSet = dict(
highBetaStar.toModify(_mixedTripletStepTrackingRegionsCommon,RegionPSet = dict(
ptMin = 0.05,
originRadius = 0.2
))
Expand Down Expand Up @@ -195,7 +195,7 @@
ptMin = 0.6,)
)
)
highBetaStar_2018.toReplaceWith(mixedTripletStepTrackingRegionsB, _mixedTripletStepTrackingRegionsCommon.clone())
highBetaStar.toReplaceWith(mixedTripletStepTrackingRegionsB, _mixedTripletStepTrackingRegionsCommon.clone())

# seeding
mixedTripletStepHitDoubletsB = mixedTripletStepHitDoubletsA.clone(
Expand Down Expand Up @@ -226,7 +226,7 @@
minimumNumberOfHits = 3,
minPt = 0.1
)
highBetaStar_2018.toModify(_mixedTripletStepTrajectoryFilterBase,minPt = 0.05)
highBetaStar.toModify(_mixedTripletStepTrajectoryFilterBase,minPt = 0.05)

mixedTripletStepTrajectoryFilter = _mixedTripletStepTrajectoryFilterBase.clone(
constantValueForLostHitsFractionFilter = 1.4,
Expand All @@ -248,7 +248,7 @@
trackingParabolicMf.toModify(mixedTripletStepPropagator, SimpleMagneticField = 'ParabolicMf')
for e in [pp_on_XeXe_2017, pp_on_AA]:
e.toModify(mixedTripletStepPropagator, ptMin=0.4)
highBetaStar_2018.toModify(mixedTripletStepPropagator,ptMin = 0.05)
highBetaStar.toModify(mixedTripletStepPropagator,ptMin = 0.05)

import TrackingTools.MaterialEffects.OppositeMaterialPropagator_cfi
mixedTripletStepPropagatorOpposite = TrackingTools.MaterialEffects.OppositeMaterialPropagator_cfi.OppositeMaterialPropagator.clone(
Expand All @@ -259,7 +259,7 @@
trackingParabolicMf.toModify(mixedTripletStepPropagatorOpposite, SimpleMagneticField = 'ParabolicMf')
for e in [pp_on_XeXe_2017, pp_on_AA]:
e.toModify(mixedTripletStepPropagatorOpposite, ptMin=0.4)
highBetaStar_2018.toModify(mixedTripletStepPropagatorOpposite,ptMin = 0.05)
highBetaStar.toModify(mixedTripletStepPropagatorOpposite,ptMin = 0.05)

import RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi
mixedTripletStepChi2Est = RecoTracker.MeasurementDet.Chi2ChargeMeasurementEstimator_cfi.Chi2ChargeMeasurementEstimator.clone(
Expand Down Expand Up @@ -388,7 +388,8 @@
))
(trackdnn & fastSim).toModify(mixedTripletStep,vertices = 'firstStepPrimaryVerticesBeforeMixing')

highBetaStar_2018.toModify(mixedTripletStep,qualityCuts = [-0.7,0.0,0.5])
(highBetaStar & trackingPhase1).toModify(mixedTripletStep,qualityCuts = [-0.7,0.0,0.5])
(highBetaStar & ~trackingPhase1).toModify(mixedTripletStepClassifier1,qualityCuts = [-0.7,0.0,0.5])
pp_on_AA.toModify(mixedTripletStep, qualityCuts = [-0.5,0.0,0.9])

# For LowPU
Expand Down
Loading

0 comments on commit 5afb930

Please sign in to comment.