-
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} #32171
Changes from all commits
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 |
---|---|---|
|
@@ -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 = cms.PSet( | ||
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. you can use |
||
HitProducer = cms.string('siPixelRecHits'), | ||
TTRHBuilder = cms.string('WithTrackAngle'), | ||
), | ||
FPix = cms.PSet( | ||
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. same here |
||
HitProducer = cms.string('siPixelRecHits'), | ||
TTRHBuilder = cms.string('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 = cms.PSet( | ||
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. Perhaps also here (I didn't check...) |
||
ComponentName = cms.string('none') | ||
), | ||
extraHitRPhitolerance = 0.032, | ||
maxChi2 = cms.PSet( | ||
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. ...and here |
||
enabled = cms.bool(True), | ||
pt1 = cms.double(0.7), | ||
pt2 = cms.double(2), | ||
value1 = cms.double(200), | ||
value2 = cms.double(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.
I imagine that the original intention was to modify the cloned
hiSignalSelectedTracks,
and then include in the Task, instead of thehiSelectedTracks