Skip to content

Commit

Permalink
fix cfi
Browse files Browse the repository at this point in the history
  • Loading branch information
ccaillol committed Aug 19, 2022
1 parent 338d63c commit f6c5d02
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
58 changes: 29 additions & 29 deletions L1Trigger/L1TTrackMatch/python/L1TrackSelectionProducer_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,43 +7,43 @@
l1VerticesEmulationInputTag = cms.InputTag("L1VertexFinderEmulator", "l1verticesEmulation"),
outputCollectionName = cms.string("Level1TTTracksSelected"),
cutSet = cms.PSet(
ptMin = 2.0, # pt must be greater than this value, [GeV]
absEtaMax = 2.4, # absolute value of eta must be less than this value
absZ0Max = 15.0, # z0 must be less than this value, [cm]
nStubsMin = 4, # number of stubs must be greater than or equal to this value
nPSStubsMin = 0, # the number of stubs in the PS Modules must be greater than or equal to this value

reducedBendChi2Max = 2.25, # bend chi2 must be less than this value
reducedChi2RZMax = 5.0, # chi2rz/dof must be less than this value
reducedChi2RPhiMax = 20.0, # chi2rphi/dof must be less than this value

deltaZMaxEtaBounds = [0.0, 0.7, 1.0, 1.2, 1.6, 2.0, 2.4], # these values define the bin boundaries in |eta|
deltaZMax = cms.vdouble[0.37, 0.50, 0.60, 0.75, 1.00, 1.60], # delta z must be less than these values, there will be one less value here than in deltaZMaxEtaBounds, [cm]
ptMin = cms.double(2.0), # pt must be greater than this value, [GeV]
absEtaMax = cms.double(2.4), # absolute value of eta must be less than this value
absZ0Max = cms.double(15.0), # z0 must be less than this value, [cm]
nStubsMin = cms.int32(4), # number of stubs must be greater than or equal to this value
nPSStubsMin = cms.int32(0), # the number of stubs in the PS Modules must be greater than or equal to this value

reducedBendChi2Max = cms.double(2.25), # bend chi2 must be less than this value
reducedChi2RZMax = cms.double(5.0), # chi2rz/dof must be less than this value
reducedChi2RPhiMax = cms.double(20.0), # chi2rphi/dof must be less than this value

deltaZMaxEtaBounds = cms.vdouble(0.0, 0.7, 1.0, 1.2, 1.6, 2.0, 2.4), # these values define the bin boundaries in |eta|
deltaZMax = cms.vdouble(0.37, 0.50, 0.60, 0.75, 1.00, 1.60), # delta z must be less than these values, there will be one less value here than in deltaZMaxEtaBounds, [cm]
),
useDisplacedTracksDeltaZOverride = -1.0, # override the deltaZ cut value for displaced tracks
processSimulatedTracks = True, # return selected tracks after cutting on the floating point values
processEmulatedTracks = True, # return selected tracks after cutting on the bitwise emulated values
debug = 0 # Verbosity levels: 0, 1, 2, 3, 4
useDisplacedTracksDeltaZOverride = cms.double(-1.0), # override the deltaZ cut value for displaced tracks
processSimulatedTracks = cms.bool(True), # return selected tracks after cutting on the floating point values
processEmulatedTracks = cms.bool(True), # return selected tracks after cutting on the bitwise emulated values
debug = cms.int32(0) # Verbosity levels: 0, 1, 2, 3, 4
)

L1TrackSelectionProducerExtended = L1TrackSelectionProducer.clone(
l1TracksInputTag = ("L1GTTInputProducerExtended","Level1TTTracksExtendedConverted"),
outputCollectionName = "Level1TTTracksExtendedSelected",
cutSet = cms.PSet(
ptMin = 3.0, # pt must be greater than this value, [GeV]
absEtaMax = 2.4, # absolute value of eta must be less than this value
absZ0Max = 15.0, # z0 must be less than this value, [cm]
nStubsMin = 4, # number of stubs must be greater than or equal to this value
nPSStubsMin = 0, # the number of stubs in the PS Modules must be greater than or equal to this value

reducedBendChi2Max = 2.4, # bend chi2 must be less than this value
reducedChi2RZMax = 10.0, # chi2rz/dof must be less than this value
reducedChi2RPhiMax = 40.0, # chi2rphi/dof must be less than this value

deltaZMaxEtaBounds = [0.0, 0.7, 1.0, 1.2, 1.6, 2.0, 2.4], # these values define the bin boundaries in |eta|
deltaZMax = [3.0, 3.0, 3.0, 3.0, 3.0, 3.0], # delta z must be less than these values, there will be one less value here than in deltaZMaxEtaBounds, [cm]
ptMin = cms.double(3.0), # pt must be greater than this value, [GeV]
absEtaMax = cms.double(2.4), # absolute value of eta must be less than this value
absZ0Max = cms.double(15.0), # z0 must be less than this value, [cm]
nStubsMin = cms.int32(4), # number of stubs must be greater than or equal to this value
nPSStubsMin = cms.int32(0), # the number of stubs in the PS Modules must be greater than or equal to this value

reducedBendChi2Max = cms.double(2.4), # bend chi2 must be less than this value
reducedChi2RZMax = cms.double(10.0), # chi2rz/dof must be less than this value
reducedChi2RPhiMax = cms.double(40.0), # chi2rphi/dof must be less than this value

deltaZMaxEtaBounds = cms.vdouble(0.0, 0.7, 1.0, 1.2, 1.6, 2.0, 2.4), # these values define the bin boundaries in |eta|
deltaZMax = cms.vdouble(3.0, 3.0, 3.0, 3.0, 3.0, 3.0), # delta z must be less than these values, there will be one less value here than in deltaZMaxEtaBounds, [cm]
),
useDisplacedTracksDeltaZOverride = 3.0, # Use promt/displaced tracks
useDisplacedTracksDeltaZOverride = cms.double(3.0), # Use promt/displaced tracks
)


12 changes: 6 additions & 6 deletions L1Trigger/L1TTrackMatch/python/L1TrackerEtMissProducer_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
from L1Trigger.L1TTrackMatch.L1TrackSelectionProducer_cfi import L1TrackSelectionProducer, L1TrackSelectionProducerExtended

L1TrackerEtMiss = cms.EDProducer('L1TrackerEtMissProducer',
L1TrackInputTag = ("L1TrackSelectionProducer", L1TrackSelectionProducer.outputCollectionName.value()),
L1TrackAssociatedInputTag = ("L1TrackSelectionProducer", L1TrackSelectionProducer.outputCollectionName.value() + "Associated"),
L1MetCollectionName = "L1TrackerEtMiss",
maxPt = -10. , # in GeV. When maxPt > 0, tracks with PT above maxPt are considered as
L1TrackInputTag = cms.InputTag("L1TrackSelectionProducer", L1TrackSelectionProducer.outputCollectionName.value()),
L1TrackAssociatedInputTag = cms.InputTag("L1TrackSelectionProducer", L1TrackSelectionProducer.outputCollectionName.value() + "Associated"),
L1MetCollectionName = cms.string("L1TrackerEtMiss"),
maxPt = cms.double(-10.) , # in GeV. When maxPt > 0, tracks with PT above maxPt are considered as
# mismeasured and are treated according to highPtTracks below.
# When maxPt < 0, no special treatment is done for high PT tracks.
highPtTracks = 1 , # when = 0 : truncation. Tracks with PT above maxPt are ignored
highPtTracks = cms.int32(1) , # when = 0 : truncation. Tracks with PT above maxPt are ignored
# when = 1 : saturation. Tracks with PT above maxPt are set to PT=maxPt.
# When maxPt < 0, no special treatment is done for high PT tracks.
debug = False
debug = cms.bool(False)
)

L1TrackerEtMissExtended = L1TrackerEtMiss.clone( #NOT OPTIMIZED, STUDIED, OR USED
Expand Down

0 comments on commit f6c5d02

Please sign in to comment.