-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop type specs in RecoHI {Configuration, HiTracking} #32386
Changes from 3 commits
2de1ca7
b274596
12fe74c
8329e7c
f2edb20
11aeb6d
72e90d3
ebfd5f0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
import HLTrigger.HLTfilters.hltHighLevel_cfi | ||
hltPerhiphHI = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone() | ||
hltPerhiphHI.HLTPaths = ["HLT_HISinglePhoton*_Eta*_Cent50_100_*", | ||
"HLT_HISinglePhoton*_Eta*_Cent30_100_*", | ||
"HLT_HIFullTrack*_L1Centrality30100_*", | ||
"HLT_HIPuAK4CaloJet*_Eta5p1_Cent50_100_v*", | ||
"HLT_HIPuAK4CaloJet*_Eta5p1_Cent30_100_v*", | ||
"HLT_HIDmesonHITrackingGlobal_Dpt*_Cent50_100_v*", | ||
"HLT_HIDmesonHITrackingGlobal_Dpt*_Cent30_100_v*", | ||
"HLT_HIL1Centralityext30100MinimumumBiasHF*", | ||
"HLT_HIL1Centralityext50100MinimumumBiasHF*", | ||
"HLT_HIQ2*005_Centrality3050_v*", | ||
"HLT_HIQ2*005_Centrality5070_v*", | ||
"HLT_HICastor*", | ||
"HLT_HIL1Castor*", | ||
"HLT_HIUPC*"] | ||
hltPerhiphHI.throw = False | ||
hltPerhiphHI.andOr = True | ||
hltPerhiphHI = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone( | ||
HLTPaths = ["HLT_HISinglePhoton*_Eta*_Cent50_100_*", | ||
"HLT_HISinglePhoton*_Eta*_Cent30_100_*", | ||
"HLT_HIFullTrack*_L1Centrality30100_*", | ||
"HLT_HIPuAK4CaloJet*_Eta5p1_Cent50_100_v*", | ||
"HLT_HIPuAK4CaloJet*_Eta5p1_Cent30_100_v*", | ||
"HLT_HIDmesonHITrackingGlobal_Dpt*_Cent50_100_v*", | ||
"HLT_HIDmesonHITrackingGlobal_Dpt*_Cent30_100_v*", | ||
"HLT_HIL1Centralityext30100MinimumumBiasHF*", | ||
"HLT_HIL1Centralityext50100MinimumumBiasHF*", | ||
"HLT_HIQ2*005_Centrality3050_v*", | ||
"HLT_HIQ2*005_Centrality5070_v*", | ||
"HLT_HICastor*", | ||
"HLT_HIL1Castor*", | ||
"HLT_HIUPC*"], | ||
throw = False, | ||
andOr = True | ||
) | ||
|
||
peripheralHLTFilterSequence = cms.Sequence( hltPerhiphHI ) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# sort by number of tracks and keep the best | ||
hiBestAdaptiveVertex = cms.EDFilter("HIBestVertexSelection", | ||
src = cms.InputTag("hiPixelAdaptiveVertex"), | ||
maxNumber = cms.uint32(1) | ||
maxNumber = cms.uint32(1) | ||
) | ||
|
||
# select best of precise vertex, fast vertex, and beamspot | ||
|
@@ -19,18 +19,18 @@ | |
|
||
from RecoHI.HiTracking.HIPixelAdaptiveVertex_cfi import * | ||
hiOfflinePrimaryVertices=hiPixelAdaptiveVertex.clone( # vertexing run AFTER tracking | ||
TrackLabel = cms.InputTag("hiGeneralTracks"), | ||
TrackLabel = "hiGeneralTracks", | ||
|
||
TkFilterParameters = cms.PSet( | ||
algorithm = cms.string('filterWithThreshold'), | ||
maxNormalizedChi2 = cms.double(5.0), | ||
minPixelLayersWithHits=cms.int32(3), #0 missing pix hit (Run 1 pixels) | ||
minSiliconLayersWithHits = cms.int32(5),#at least 8 (3pix+5strip) hits total | ||
maxD0Significance = cms.double(3.0), #default is 5.0 in pp; 3.0 here suppresses split vtxs | ||
minPt = cms.double(0.0), | ||
maxEta = cms.double(100.), | ||
trackQuality = cms.string("any"), | ||
numTracksThreshold = cms.int32(2) | ||
TkFilterParameters = dict( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is perhaps correct, but for safety (not all parameters are re-defined here) I'd revert it to a |
||
algorithm = 'filterWithThreshold', | ||
maxNormalizedChi2 = 5.0, | ||
minPixelLayersWithHits = 3, #0 missing pix hit (Run 1 pixels) | ||
minSiliconLayersWithHits = 5, #at least 8 (3pix+5strip) hits total | ||
maxD0Significance = 3.0, #default is 5.0 in pp; 3.0 here suppresses split vtxs | ||
minPt = 0.0, | ||
maxEta = 100., | ||
trackQuality = "any", | ||
numTracksThreshold = 2 | ||
) | ||
) | ||
from Configuration.Eras.Modifier_trackingPhase1_cff import trackingPhase1 | ||
|
@@ -45,7 +45,7 @@ | |
) | ||
# select best of precise vertex, fast vertex, and beamspot | ||
hiSelectedVertex = hiSelectedPixelVertex.clone( | ||
useFinalAdaptiveVertexCollection = cms.bool(True), | ||
useFinalAdaptiveVertexCollection = True, | ||
finalAdaptiveVertexCollection = cms.InputTag("hiBestOfflinePrimaryVertex") | ||
) | ||
bestFinalHiVertexTask = cms.Task(hiOfflinePrimaryVertices , hiBestOfflinePrimaryVertex , hiSelectedVertex ) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,15 +10,15 @@ | |
|
||
# Hit ntuplets | ||
hiConformalPixelTracksHitDoublets = _hitPairEDProducer.clone( | ||
clusterCheck = "", | ||
seedingLayers = "PixelLayerTriplets", | ||
clusterCheck = "", | ||
seedingLayers = "PixelLayerTriplets", | ||
trackingRegions = "hiTrackingRegionWithVertex", | ||
maxElement = 50000000, | ||
maxElement = 50000000, | ||
produceIntermediateHitDoublets = True, | ||
) | ||
|
||
hiConformalPixelTracksHitTriplets = _pixelTripletHLTEDProducer.clone( | ||
doublets = "hiConformalPixelTracksHitDoublets", | ||
doublets = "hiConformalPixelTracksHitDoublets", | ||
maxElement = 5000000, # increase threshold for triplets in generation step (default: 100000) | ||
produceSeedingHitSets = True, | ||
) | ||
|
@@ -49,78 +49,81 @@ | |
|
||
#Tracking regions - use PV from pp tracking | ||
from RecoTracker.TkTrackingRegions.globalTrackingRegionWithVertices_cfi import globalTrackingRegionWithVertices | ||
hiConformalPixelTracksPhase1TrackingRegions = globalTrackingRegionWithVertices.clone(RegionPSet=dict( | ||
precise = True, | ||
useMultipleScattering = False, | ||
useFakeVertices = False, | ||
beamSpot = "offlineBeamSpot", | ||
useFixedError = True, | ||
nSigmaZ = 3.0, | ||
sigmaZVertex = 3.0, | ||
fixedError = 0.2, | ||
VertexCollection = "offlinePrimaryVertices", | ||
ptMin = 0.3, | ||
useFoundVertices = True, | ||
originRadius = 0.2 | ||
)) | ||
hiConformalPixelTracksPhase1TrackingRegions = globalTrackingRegionWithVertices.clone( | ||
RegionPSet = dict( | ||
precise = True, | ||
useMultipleScattering = False, | ||
useFakeVertices = False, | ||
beamSpot = "offlineBeamSpot", | ||
useFixedError = True, | ||
nSigmaZ = 3.0, | ||
sigmaZVertex = 3.0, | ||
fixedError = 0.2, | ||
VertexCollection = "offlinePrimaryVertices", | ||
ptMin = 0.3, | ||
useFoundVertices = True, | ||
originRadius = 0.2 | ||
) | ||
) | ||
|
||
# SEEDING LAYERS | ||
# Using 4 layers layerlist | ||
from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepSeedLayers | ||
hiConformalPixelTracksPhase1SeedLayers = lowPtQuadStepSeedLayers.clone() | ||
hiConformalPixelTracksPhase1SeedLayers.BPix = cms.PSet( | ||
HitProducer = cms.string('siPixelRecHits'), | ||
TTRHBuilder = cms.string('WithTrackAngle'), | ||
) | ||
hiConformalPixelTracksPhase1SeedLayers.FPix = cms.PSet( | ||
HitProducer = cms.string('siPixelRecHits'), | ||
TTRHBuilder = cms.string('WithTrackAngle'), | ||
hiConformalPixelTracksPhase1SeedLayers = lowPtQuadStepSeedLayers.clone( | ||
BPix = dict( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should get reverted to |
||
HitProducer = 'siPixelRecHits', | ||
TTRHBuilder = 'WithTrackAngle', | ||
), | ||
FPix = dict( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should get reverted to |
||
HitProducer = 'siPixelRecHits', | ||
TTRHBuilder = 'WithTrackAngle', | ||
) | ||
) | ||
|
||
|
||
# Hit ntuplets | ||
from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepHitDoublets | ||
hiConformalPixelTracksPhase1HitDoubletsCA = lowPtQuadStepHitDoublets.clone( | ||
seedingLayers = "hiConformalPixelTracksPhase1SeedLayers", | ||
trackingRegions = "hiConformalPixelTracksPhase1TrackingRegions" | ||
seedingLayers = "hiConformalPixelTracksPhase1SeedLayers", | ||
trackingRegions = "hiConformalPixelTracksPhase1TrackingRegions" | ||
) | ||
|
||
|
||
from RecoTracker.IterativeTracking.LowPtQuadStep_cff import lowPtQuadStepHitQuadruplets | ||
hiConformalPixelTracksPhase1HitQuadrupletsCA = lowPtQuadStepHitQuadruplets.clone( | ||
doublets = "hiConformalPixelTracksPhase1HitDoubletsCA", | ||
CAPhiCut = 0.2, | ||
CAThetaCut = 0.0012, | ||
SeedComparitorPSet = cms.PSet( | ||
ComponentName = cms.string('none') | ||
), | ||
extraHitRPhitolerance = 0.032, | ||
maxChi2 = cms.PSet( | ||
enabled = cms.bool(True), | ||
pt1 = cms.double(0.7), | ||
pt2 = cms.double(2), | ||
value1 = cms.double(200), | ||
value2 = cms.double(50) | ||
) | ||
doublets = "hiConformalPixelTracksPhase1HitDoubletsCA", | ||
CAPhiCut = 0.2, | ||
CAThetaCut = 0.0012, | ||
SeedComparitorPSet = dict( | ||
ComponentName = 'none' | ||
), | ||
extraHitRPhitolerance = 0.032, | ||
maxChi2 = dict( | ||
enabled = True, | ||
pt1 = 0.7, | ||
pt2 = 2, | ||
value1 = 200, | ||
value2 = 50 | ||
) | ||
) | ||
|
||
#Filter | ||
hiConformalPixelTracksPhase1Filter = hiConformalPixelFilter.clone( | ||
VertexCollection = "offlinePrimaryVertices", | ||
chi2 = 999.9, | ||
lipMax = 999.0, | ||
nSigmaLipMaxTolerance = 999.9, | ||
nSigmaTipMaxTolerance = 999.0, | ||
ptMax = 999999, | ||
ptMin = 0.30, | ||
tipMax = 999.0 | ||
VertexCollection = "offlinePrimaryVertices", | ||
chi2 = 999.9, | ||
lipMax = 999.0, | ||
nSigmaLipMaxTolerance = 999.9, | ||
nSigmaTipMaxTolerance = 999.0, | ||
ptMax = 999999, | ||
ptMin = 0.30, | ||
tipMax = 999.0 | ||
) | ||
|
||
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel | ||
phase1Pixel.toModify(hiConformalPixelTracks, | ||
Cleaner = 'pixelTrackCleanerBySharedHits', | ||
Filter = "hiConformalPixelTracksPhase1Filter", | ||
Fitter = "pixelFitterByConformalMappingAndLine", | ||
Filter = "hiConformalPixelTracksPhase1Filter", | ||
Fitter = "pixelFitterByConformalMappingAndLine", | ||
SeedingHitSets = "hiConformalPixelTracksPhase1HitQuadrupletsCA", | ||
) | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here the
hiSignalSelectedTracks
are updated with the input collection "hiSignalGlobalPrimTracks", but then later theheavyIonTrackingTask
is feeed with the (unmodified)hiSelectedTracks
: I wonder how it can even workI suppose you already tested it, e.g. with the HI workflows in the matrix tests (140.43, 140.46, 158.01): but it is possible that you wouldn't get an error in that case, because it does not seem to me that this Reconstruction_hiSignal_cff.py is ever included in any actual reconstruction sequence.
Let then involve the HI reco contact, @mandrenguyen :