Skip to content

Commit

Permalink
Updating with Cecile's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gkaratha committed Feb 17, 2023
1 parent d430268 commit 044d18e
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 177 deletions.
2 changes: 1 addition & 1 deletion DataFormats/L1Trigger/src/TkJetWord.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ namespace l1t {
}
}

} //namespace l1
} //namespace l1t
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


#ifndef L1Trigger_L1TTrackMatch_L1TrackJetEmulationProducer_HH
#define L1Trigger_L1TTrackMatch_L1TrackJetEmulationProducer_HH
#include <iostream>
Expand Down
65 changes: 0 additions & 65 deletions L1Trigger/L1TTrackMatch/python/L1TrackJetEmulationProducer_cfi.py

This file was deleted.

80 changes: 0 additions & 80 deletions L1Trigger/L1TTrackMatch/python/L1TrackJetProducer_cfi.py

This file was deleted.

46 changes: 25 additions & 21 deletions L1Trigger/L1TTrackMatch/python/l1tTrackJetsEmulation_cfi.py
Original file line number Diff line number Diff line change
@@ -1,59 +1,63 @@
import FWCore.ParameterSet.Config as cms

l1tTrackJetsEmulation = cms.EDProducer('L1TrackJetEmulationProducer',
l1tTrackJetsEmulation = cms.EDProducer('L1TrackJetEmulatorProducer',
L1TrackInputTag= cms.InputTag("l1tGTTInputProducer", "Level1TTTracksConverted"),
VertexInputTag=cms.InputTag("l1tVertexFinderEmulator", "l1verticesEmulation"),
MaxDzTrackPV = cms.double(0.5),
VertexInputTag=cms.InputTag("l1tVertexFinderEmulator","l1verticesEmulation"),
MaxDzTrackPV = cms.double(1.0),
trk_zMax = cms.double (15.) , # maximum track z
trk_ptMax = cms.double(200.), # maximumum track pT before saturation [GeV]
trk_ptMin = cms.double(2.0), # minimum track pt [GeV]
trk_etaMax = cms.double(2.4), # maximum track eta
trk_chi2dofMax=cms.double(10.), # maximum track chi2/dof
trk_bendChi2Max=cms.double(2.2), # maximum track bendchi2
nStubs4PromptChi2=cms.double(10.0), #Prompt track quality flags for loose/tight
nStubs4PromptBend=cms.double(2.2),
nStubs5PromptChi2=cms.double(10.0),
nStubs5PromptBend=cms.double(2.2),
trk_nPSStubMin=cms.int32(-1), # minimum PS stubs, -1 means no cut
minTrkJetpT=cms.double(5.), # minimum track pt to be considered for track jet
minTrkJetpT=cms.double(-1.), # minimum track pt to be considered for track jet
etaBins=cms.int32(24),
phiBins=cms.int32(27),
zBins=cms.int32(1),
d0_cutNStubs4=cms.double(0.15),
d0_cutNStubs5=cms.double(0.5),
d0_cutNStubs4=cms.double(-1),
d0_cutNStubs5=cms.double(-1),
lowpTJetMinTrackMultiplicity=cms.int32(2),
lowpTJetMinpT=cms.double(50.),
lowpTJetThreshold=cms.double(50.),
highpTJetMinTrackMultiplicity=cms.int32(3),
highpTJetMinpT=cms.double(100.),
highpTJetThreshold=cms.double(100.),
displaced=cms.bool(False), #Flag for displaced tracks
nStubs4DisplacedChi2=cms.double(5.0), #Displaced track quality flags for loose/tight
nStubs4Displacedbend=cms.double(1.7),
nStubs4DisplacedBend=cms.double(1.7),
nStubs5DisplacedChi2=cms.double(2.75),
nStubs5Displacedbend=cms.double(3.5),
nStubs5DisplacedBend=cms.double(3.5),
nDisplacedTracks=cms.int32(2) #Number of displaced tracks required per jet
)

l1tTrackJetsExtendedEmulation = cms.EDProducer('L1TrackJetEmulationProducer',
l1tTrackJetsExtendedEmulation = cms.EDProducer('L1TrackJetEmulatorProducer',
L1TrackInputTag= cms.InputTag("l1tGTTInputProducerExtended", "Level1TTTracksExtendedConverted"),
VertexInputTag=cms.InputTag("l1tVertexFinderEmulator", "l1verticesEmulation"),
MaxDzTrackPV = cms.double(4.0),
MaxDzTrackPV = cms.double(5.0),
trk_zMax = cms.double (15.) , # maximum track z
trk_ptMax = cms.double(200.), # maximumum track pT before saturation [GeV]
trk_ptMin = cms.double(3.0), # minimum track pt [GeV]
trk_etaMax = cms.double(2.4), # maximum track eta
trk_chi2dofMax=cms.double(40.), # maximum track chi2/dof
trk_bendChi2Max=cms.double(40.), # maximum track bendchi2
nStubs4PromptChi2=cms.double(10.0), #Prompt track quality flags for loose/tight
nStubs4PromptBend=cms.double(2.2),
nStubs5PromptChi2=cms.double(10.0),
nStubs5PromptBend=cms.double(2.2),
trk_nPSStubMin=cms.int32(-1), # minimum # PS stubs, -1 means no cut
minTrkJetpT=cms.double(5.), # minimum track pt to be considered for track jet
etaBins=cms.int32(24),
phiBins=cms.int32(27),
zBins=cms.int32(10),
zBins=cms.int32(1),
d0_cutNStubs4=cms.double(-1), # -1 excludes nstub=4 from disp tag
d0_cutNStubs5=cms.double(0.22),
lowpTJetMinTrackMultiplicity=cms.int32(2),
lowpTJetMinpT=cms.double(50.),
lowpTJetThreshold=cms.double(50.),
highpTJetMinTrackMultiplicity=cms.int32(3),
highpTJetMinpT=cms.double(100.),
highpTJetThreshold=cms.double(100.),
displaced=cms.bool(True), #Flag for displaced tracks
nStubs4DisplacedChi2=cms.double(3.3), #Disp tracks selection [trk<cut]
nStubs4Displacedbend=cms.double(2.3),
nStubs4DisplacedBend=cms.double(2.3),
nStubs5DisplacedChi2=cms.double(11.3),
nStubs5Displacedbend=cms.double(9.8),
nStubs5DisplacedBend=cms.double(9.8),
nDisplacedTracks=cms.int32(3) #min Ntracks to tag a jet as displaced
)
18 changes: 10 additions & 8 deletions L1Trigger/L1TTrackMatch/python/l1tTrackJets_cfi.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import FWCore.ParameterSet.Config as cms

#prompt jet selection
l1tTrackJets = cms.EDProducer('L1TrackJetProducer',
L1TrackInputTag= cms.InputTag("l1tTTTracksFromTrackletEmulation", "Level1TTTracks"),
L1PVertexCollection = cms.InputTag("l1tVertexProducer", "l1vertices"),
MaxDzTrackPV = cms.double( 1.0 ),
L1TrackInputTag= cms.InputTag("l1tTTTracksFromTrackletEmulation","Level1TTTracksConverted"),
VertexInputTag = cms.InputTag("l1tVertexFinderEmulator","l1verticesEmulation"),
MaxDzTrackPV = cms.double( 1.0 ), #max distance from PV;negative=no cut
trk_zMax = cms.double (15.) , # maximum track z
trk_ptMax = cms.double(200.), # maximumum track pT before saturation [GeV]
trk_ptMin = cms.double(3.0), # minimum track pt [GeV]
trk_ptMin = cms.double(2.0), # minimum track pt [GeV]
trk_etaMax = cms.double(2.4), # maximum track eta
nStubs4PromptChi2=cms.double(5.0), #Prompt track quality flags for loose/tight
nStubs4PromptBend=cms.double(1.7),
nStubs5PromptChi2=cms.double(2.75),
nStubs5PromptBend=cms.double(3.5),
nStubs4PromptChi2=cms.double(10.0), #Prompt track quality flags for loose/tight
nStubs4PromptBend=cms.double(2.2),
nStubs5PromptChi2=cms.double(10.0),
nStubs5PromptBend=cms.double(2.2),
trk_nPSStubMin=cms.int32(-1), # minimum PS stubs, -1 means no cut
minTrkJetpT=cms.double(-1.), # min track jet pt to be considered for most energetic zbin finding
etaBins=cms.int32(24),
Expand All @@ -31,6 +32,7 @@
nDisplacedTracks=cms.int32(2)
)

#displaced jets
l1tTrackJetsExtended = l1tTrackJets.clone(
L1TrackInputTag= ("l1tTTTracksFromExtendedTrackletEmulation", "Level1TTTracks"),
MaxDzTrackPV = 5.0 , # tracks with dz(trk,PV)>cut excluded
Expand Down

0 comments on commit 044d18e

Please sign in to comment.