-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Updates L1T OMTF for Phase 2 #50032
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
Merged
Merged
Updates L1T OMTF for Phase 2 #50032
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
9ac5aa2
Many updates related to phase2, no changes to phase1 algorithm
0c25e97
Added class OmtfProcessorPhase2, implemented phase-2 eta scale for stubs
e2b064a
removed AngleConverterBase
2c0e546
Fixes in CandidateSimMuonMatcher
1e417b3
after code-checks and code-format
3beb659
Fixes in InputMakerPhase2 - using dtBxShift from ProcConfigurationBase
66190ff
remove include of removed header
mbluj 338ccac
technical: removal of unused counters and explicite rounding instead …
mbluj 415c574
Fix of a logical bug
mbluj 1422f14
Code cleaning and fixes,
mbluj fc85ff5
Fixing pt for displaced-only muon
7c8650a
Removing RegionalMuonCands from L1TMuonOverlapPhase2
bd61b8c
Sync with 201X release series
mbluj 9b4c874
Code style, e.g. fixed typos in names, consistent use of the std name…
mbluj 9297b1f
Set names of the OMTF digis instances in the autogenerated descriptio…
mbluj a001c62
Update geometries in test configurations
mbluj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,4 +35,3 @@ | |
| <use name="roofit"/> | ||
| <use name="root"/> | ||
| <use name="xerces-c"/> | ||
| <use name="Utilities/Xerces"/> | ||
116 changes: 0 additions & 116 deletions
116
L1Trigger/L1TMuonOverlapPhase1/interface/AngleConverterBase.h
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
117 changes: 117 additions & 0 deletions
117
L1Trigger/L1TMuonOverlapPhase1/interface/Omtf/FinalMuon.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,117 @@ | ||
| /* | ||
| * FinalMuon.h | ||
| * | ||
| * Created on: Dec 17, 2024 | ||
| * Author: kbunkow | ||
| */ | ||
|
|
||
| #ifndef L1T_OmtfP1_FinalMuon_H | ||
| #define L1T_OmtfP1_FinalMuon_H | ||
|
|
||
| #include "L1Trigger/L1TMuonOverlapPhase1/interface/Omtf/AlgoMuon.h" | ||
|
mbluj marked this conversation as resolved.
|
||
|
|
||
| #include <ostream> | ||
| #include <memory> | ||
| #include <vector> | ||
|
|
||
| class FinalMuon { | ||
| public: | ||
| FinalMuon() {}; | ||
| FinalMuon(const AlgoMuonPtr& algoMuon) | ||
| : algoMuon(algoMuon), quality(algoMuon->getQuality()), firedLayerCnt(algoMuon->getFiredLayerCnt()) {}; | ||
|
|
||
| virtual ~FinalMuon() {}; | ||
|
|
||
| const AlgoMuonPtr& getAlgoMuon() const { return algoMuon; } | ||
|
|
||
| int getSign() const { return sign; } | ||
|
|
||
| void setSign(int sign = 0) { this->sign = sign; } | ||
|
|
||
| void setBx(int bx = 0) { this->bx = bx; } | ||
|
|
||
| int getBx() const { return bx; } | ||
|
|
||
| int getProcessor() const { return processor; } | ||
|
|
||
| void setProcessor(int processor = -1) { this->processor = processor; } | ||
|
|
||
| void setTrackFinderType(l1t::tftype mtfType) { this->mtfType = mtfType; } | ||
| l1t::tftype trackFinderType() const { return mtfType; } | ||
|
|
||
| int getQuality() const { return quality; } | ||
|
|
||
| void setQuality(int quality = 0) { this->quality = quality; } | ||
|
|
||
| float getPtGev() const { return ptGev; } | ||
|
|
||
| void setPtGev(float ptGev = -1) { this->ptGev = ptGev; } | ||
|
|
||
| float getPtUnconstrGev() const { return ptUnconstrGev; } | ||
|
|
||
| void setPtUnconstrGev(float ptUnconstrGev = -1) { this->ptUnconstrGev = ptUnconstrGev; } | ||
|
|
||
| float getEtaRad() const { return etaRad; } | ||
|
|
||
| void setEtaRad(float etaRad = -10) { this->etaRad = etaRad; } | ||
|
|
||
| float getPhiRad() const { return phiRad; } | ||
|
|
||
| void setPhiRad(float phiRad = -10) { this->phiRad = phiRad; } | ||
|
|
||
| int getPtGmt() const { return ptGmt; } | ||
|
|
||
| void setPtGmt(int ptGmt = 0) { this->ptGmt = ptGmt; } | ||
|
|
||
| int getPtUnconstrGmt() const { return ptUnconstrGmt; } | ||
|
|
||
| void setPtUnconstrGmt(int ptUnconstrGmt = 0) { this->ptUnconstrGmt = ptUnconstrGmt; } | ||
|
|
||
| int getPhiGmt() const { return phiGmt; } | ||
|
|
||
| void setPhiGmt(int phiGmt = 0) { this->phiGmt = phiGmt; } | ||
|
|
||
| int getEtaGmt() const { return etaGmt; } | ||
|
|
||
| void setEtaGmt(int etaGmt = 0) { this->etaGmt = etaGmt; } | ||
|
|
||
| int getFiredLayerCnt() const { return firedLayerCnt; } | ||
|
|
||
| void setFiredLayerCnt(int firedLayerCnt = 0) { this->firedLayerCnt = firedLayerCnt; } | ||
|
|
||
| int getFiredLayerBits() const { return firedLayerBits; } | ||
|
|
||
| void setFiredLayerBits(int firedLayerBits = 0) { this->firedLayerBits = firedLayerBits; } | ||
|
|
||
| friend std::ostream& operator<<(std::ostream& out, const FinalMuon& finalMuon); | ||
|
|
||
| private: | ||
| AlgoMuonPtr algoMuon; | ||
|
|
||
| int bx = 0; | ||
| int processor = -1; | ||
| l1t::tftype mtfType = l1t::omtf_pos; | ||
|
|
||
| int quality = 0; | ||
|
|
||
| int sign = 0; | ||
|
|
||
| float ptGev = -1; | ||
| float ptUnconstrGev = -1; | ||
| float phiRad = -10; | ||
| float etaRad = -10; | ||
|
|
||
| int ptGmt = 0; | ||
| int ptUnconstrGmt = 0; | ||
| int phiGmt = 0; | ||
| int etaGmt = 0; | ||
|
|
||
| int firedLayerCnt = 0; | ||
|
|
||
| int firedLayerBits = 0; | ||
| }; | ||
|
|
||
| typedef std::shared_ptr<FinalMuon> FinalMuonPtr; | ||
| typedef std::vector<FinalMuonPtr> FinalMuons; | ||
|
|
||
| #endif /* FinalMuon */ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.