-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45273 from Mmiglio/140X_BMTFUnpacker
[14_0_X Backport] Unpacker and DataFormat for L1 Trigger Scouting BMTF source
- Loading branch information
Showing
14 changed files
with
430 additions
and
32 deletions.
There are no files selected for viewing
This file contains 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,60 @@ | ||
#ifndef DataFormats_L1Scouting_L1ScoutingBMTFStub_h | ||
#define DataFormats_L1Scouting_L1ScoutingBMTFStub_h | ||
|
||
#include "DataFormats/L1Scouting/interface/OrbitCollection.h" | ||
|
||
namespace l1ScoutingRun3 { | ||
|
||
class BMTFStub { | ||
public: | ||
BMTFStub() | ||
: hwPhi_(0), hwPhiB_(0), hwQual_(0), hwEta_(0), hwQEta_(0), station_(0), wheel_(0), sector_(0), tag_(0) {} | ||
|
||
BMTFStub(int hwPhi, int hwPhiB, int hwQual, int hwEta, int hwQEta, int station, int wheel, int sector, int tag) | ||
: hwPhi_(hwPhi), | ||
hwPhiB_(hwPhiB), | ||
hwQual_(hwQual), | ||
hwEta_(hwEta), | ||
hwQEta_(hwQEta), | ||
station_(station), | ||
wheel_(wheel), | ||
sector_(sector), | ||
tag_(tag) {} | ||
|
||
void setHwPhi(int hwPhi) { hwPhi_ = hwPhi; } | ||
void setHwPhiB(int hwPhiB) { hwPhiB_ = hwPhiB; } | ||
void setHwQual(int hwQual) { hwQual_ = hwQual; } | ||
void setHwEta(int hwEta) { hwEta_ = hwEta; } | ||
void setHwQEta(int hwQEta) { hwQEta_ = hwQEta; } | ||
void setStation(int station) { station_ = station; } | ||
void setWheel(int wheel) { wheel_ = wheel; } | ||
void setSector(int sector) { sector_ = sector; } | ||
void setTag(int tag) { tag_ = tag; } | ||
|
||
int hwPhi() const { return hwPhi_; } | ||
int hwPhiB() const { return hwPhiB_; } | ||
int hwQual() const { return hwQual_; } | ||
int hwEta() const { return hwEta_; } | ||
int hwQEta() const { return hwQEta_; } | ||
int station() const { return station_; } | ||
int wheel() const { return wheel_; } | ||
int sector() const { return sector_; } | ||
int tag() const { return tag_; } | ||
|
||
private: | ||
int hwPhi_; | ||
int hwPhiB_; | ||
int hwQual_; | ||
int hwEta_; | ||
int hwQEta_; | ||
int station_; | ||
int wheel_; | ||
int sector_; | ||
int tag_; | ||
}; | ||
|
||
typedef OrbitCollection<BMTFStub> BMTFStubOrbitCollection; | ||
|
||
} // namespace l1ScoutingRun3 | ||
|
||
#endif //DataFormats_L1Scouting_L1ScoutingBMTFStub_h |
This file contains 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 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 |
---|---|---|
@@ -1,40 +1,50 @@ | ||
<lcgdict> | ||
<class name="l1ScoutingRun3::Muon" ClassVersion="3"> | ||
<version ClassVersion="3" checksum="3886315831"/> | ||
|
||
<class name="l1ScoutingRun3::BMTFStub" ClassVersion="3"> | ||
<version ClassVersion="3" checksum="3502311834"/> | ||
</class> | ||
|
||
<class name="l1ScoutingRun3::BxSums" ClassVersion="3"> | ||
<version ClassVersion="3" checksum="1112955969"/> | ||
</class> | ||
<class name="std::vector<l1ScoutingRun3::Muon>"/> | ||
<class name="l1ScoutingRun3::MuonOrbitCollection"/> | ||
<class name="edm::Wrapper<l1ScoutingRun3::MuonOrbitCollection>"/> | ||
|
||
<class name="l1ScoutingRun3::CaloObject"/> | ||
<class name="std::vector<l1ScoutingRun3::CaloObject>"/> | ||
|
||
<class name="l1ScoutingRun3::EGamma" ClassVersion="3"> | ||
<version ClassVersion="3" checksum="1578240696"/> | ||
</class> | ||
|
||
<class name="l1ScoutingRun3::Jet" ClassVersion="3"> | ||
<version ClassVersion="3" checksum="1391509699"/> | ||
</class> | ||
<class name="std::vector<l1ScoutingRun3::Jet>"/> | ||
<class name="l1ScoutingRun3::JetOrbitCollection"/> | ||
<class name="edm::Wrapper<l1ScoutingRun3::JetOrbitCollection>"/> | ||
|
||
<class name="l1ScoutingRun3::EGamma" ClassVersion="3"> | ||
<version ClassVersion="3" checksum="1578240696"/> | ||
<class name="l1ScoutingRun3::Muon" ClassVersion="3"> | ||
<version ClassVersion="3" checksum="3886315831"/> | ||
</class> | ||
<class name="std::vector<l1ScoutingRun3::EGamma>"/> | ||
<class name="l1ScoutingRun3::EGammaOrbitCollection"/> | ||
<class name="edm::Wrapper<l1ScoutingRun3::EGammaOrbitCollection>"/> | ||
|
||
|
||
<class name="l1ScoutingRun3::Tau" ClassVersion="3"> | ||
<version ClassVersion="3" checksum="2889952120"/> | ||
</class> | ||
|
||
<class name="std::vector<l1ScoutingRun3::BMTFStub>"/> | ||
<class name="std::vector<l1ScoutingRun3::BxSums>"/> | ||
<class name="std::vector<l1ScoutingRun3::EGamma>"/> | ||
<class name="std::vector<l1ScoutingRun3::Jet>"/> | ||
<class name="std::vector<l1ScoutingRun3::Muon>"/> | ||
<class name="std::vector<l1ScoutingRun3::Tau>"/> | ||
|
||
<class name="l1ScoutingRun3::BMTFStubOrbitCollection"/> | ||
<class name="l1ScoutingRun3::BxSumsOrbitCollection"/> | ||
<class name="l1ScoutingRun3::EGammaOrbitCollection"/> | ||
<class name="l1ScoutingRun3::JetOrbitCollection"/> | ||
<class name="l1ScoutingRun3::MuonOrbitCollection"/> | ||
<class name="l1ScoutingRun3::TauOrbitCollection"/> | ||
<class name="edm::Wrapper<l1ScoutingRun3::TauOrbitCollection>"/> | ||
|
||
<class name="l1ScoutingRun3::BxSums" ClassVersion="3"> | ||
<version ClassVersion="3" checksum="1112955969"/> | ||
</class> | ||
<class name="std::vector<l1ScoutingRun3::BxSums>"/> | ||
<class name="l1ScoutingRun3::BxSumsOrbitCollection"/> | ||
<class name="edm::Wrapper<l1ScoutingRun3::BMTFStubOrbitCollection>"/> | ||
<class name="edm::Wrapper<l1ScoutingRun3::BxSumsOrbitCollection>"/> | ||
<class name="edm::Wrapper<l1ScoutingRun3::EGammaOrbitCollection>"/> | ||
<class name="edm::Wrapper<l1ScoutingRun3::JetOrbitCollection>"/> | ||
<class name="edm::Wrapper<l1ScoutingRun3::MuonOrbitCollection>"/> | ||
<class name="edm::Wrapper<l1ScoutingRun3::TauOrbitCollection>"/> | ||
|
||
</lcgdict> | ||
</lcgdict> |
This file contains 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 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 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 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.