-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
L1track jet emulator update #40563
L1track jet emulator update #40563
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40563/33795
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
} //namespace l1 |
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.
The namespace is still l1t
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.
Done !
<class name="l1t::TkJetWord" ClassVersion="3"> | ||
<version ClassVersion="3" checksum="3521396532"/> | ||
<class name="l1t::TkJetWord" ClassVersion="4"> | ||
<version ClassVersion="4" checksum="2346039066"/> |
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.
Can you keep the ClassVersion 3 below?
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.
@cecilecaillol How I can do that? This number is generated automatically (as far as I know). Is there a way to keep it bellow 3? If so I would be glad to do it.
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.
You should use ClassVersion 4 as automatically generated, but ClassVersion 3 details are still written below to keep track:
class name="l1t::TkJetWord" ClassVersion="4"
version ClassVersion="4" checksum="2346039066"/
version ClassVersion="3" checksum="3521396532"/
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.
Hi Cecile,
Ok If I understand correctly, use the class v4 but keep the v3 lines as well (like comment) right?
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.
yes, see eg
cmssw/DataFormats/L1Trigger/src/classes_def.xml
Lines 2 to 5 in a473301
<class name="l1t::L1Candidate" ClassVersion="12"> | |
<version ClassVersion="12" checksum="939575486"/> | |
<version ClassVersion="11" checksum="2395983446"/> | |
<version ClassVersion="10" checksum="3629668391"/> |
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.
Thanks a lot. I will do it today and update the PR!
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.
Dear Cecile,
I did it in my new update. Let me know if you have more questions
@@ -1,3 +1,5 @@ | |||
|
|||
|
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.
Remove the empty lines
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.
Done!
|
||
L1TrackJetsEmulation = cms.EDProducer('L1TrackJetEmulatorProducer', | ||
L1TrackInputTag= cms.InputTag("L1GTTInputProducer", "Level1TTTracksConverted"), | ||
#L1TrackInputTag= cms.InputTag("L1TrackSelectionProducer", "Level1TTTracksSelectedEmulation"), |
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.
Remove commented line
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.
Done!
L1TrackJetsEmulation = cms.EDProducer('L1TrackJetEmulatorProducer', | ||
L1TrackInputTag= cms.InputTag("L1GTTInputProducer", "Level1TTTracksConverted"), |
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.
These lines are not following the naming conventions. l1tTrackJetsEmulation, l1tGTTInputProducer
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.
The convention changed when I was working in the code... I have changed them now
|
||
#displaced jets | ||
L1TrackJetsExtended = cms.EDProducer('L1TrackJetProducer', | ||
L1TrackInputTag= cms.InputTag("TTTracksFromExtendedTrackletEmulation", "Level1TTTracks"), |
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.
l1tTTTracksFromExtendedTrackletEmulation
#displaced jets | ||
L1TrackJetsExtended = cms.EDProducer('L1TrackJetProducer', | ||
L1TrackInputTag= cms.InputTag("TTTracksFromExtendedTrackletEmulation", "Level1TTTracks"), | ||
VertexInputTag = cms.InputTag("VertexProducerEmu","l1verticesEmulation"), |
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.
l1tVertexProducerEmu
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 think this is l1tVertexFinderEmulator right?
) | ||
|
||
L1TrackJetsExtendedEmulation = cms.EDProducer('L1TrackJetEmulatorProducer', | ||
L1TrackInputTag= cms.InputTag("L1GTTInputProducerExtended", "Level1TTTracksExtendedConverted"), |
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.
l1tGTTInputProducerExtended
|
||
L1TrackJetsExtendedEmulation = cms.EDProducer('L1TrackJetEmulatorProducer', | ||
L1TrackInputTag= cms.InputTag("L1GTTInputProducerExtended", "Level1TTTracksExtendedConverted"), | ||
VertexInputTag=cms.InputTag("VertexProducerEmu", "l1verticesEmulation"), |
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.
l1tVertexProducerEmu
L1TrackJetsEmulation = cms.EDProducer('L1TrackJetEmulatorProducer', | ||
L1TrackInputTag= cms.InputTag("L1GTTInputProducer", "Level1TTTracksConverted"), | ||
#L1TrackInputTag= cms.InputTag("L1TrackSelectionProducer", "Level1TTTracksSelectedEmulation"), | ||
VertexInputTag=cms.InputTag("VertexProducerEmu","l1verticesEmulation"), |
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.
l1tVertexProducerEmu
@gkaratha do you plan to apply the code-format update and implement the comments from the code review, or should we close this PR instead? |
Hi @perrotta , Yes I will implement the comments (thanks @cecilecaillol ). Sorry for the delay (the Moriond period is tough). Best, |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40563/34250
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40563/34252 |
A new Pull Request was created by @gkaratha for master. It involves the following packages:
@rekovic, @epalencia, @cmsbuild, @AdrianoDee, @srimanob, @cecilecaillol can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40563/34293 |
Pull request #40563 was updated. @smuzaffar, @Dr15Jones, @makortel, @epalencia, @cmsbuild, @AdrianoDee, @srimanob, @aloeliger, @cecilecaillol can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0dc9e2/32343/summary.html Comparison SummarySummary:
|
+core |
@cms-sw/l1-l2 @cms-sw/upgrade-l2 do you have other comments? Or can we merge this longstanding PR, as it seems now converged to something working in cmssw? |
+upgrade |
+l1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
Dear experts
This PR includes the updated trackjet emulation code. The new code has a different structure and uses common functions between emulator and simulation. This way we are sure that exactly the same code is run in both cases and the only difference is in the inputs. The code was presented in the GTT meeting:
Best regards,
George