#include <TPSAlgorithm.h>
Public Member Functions | |
std::vector< PreTrackMatchedMuon > | cleanNeighbor (const std::vector< PreTrackMatchedMuon > &muons, const std::vector< PreTrackMatchedMuon > &muonsPrevious, const std::vector< PreTrackMatchedMuon > &muonsNext, bool equality) |
std::vector< l1t::TrackerMuon > | convert (std::vector< PreTrackMatchedMuon > &muons, uint maximum) |
bool | outputGT (std::vector< l1t::TrackerMuon > &muons) |
std::vector< PreTrackMatchedMuon > | processNonant (const std::vector< ConvertedTTTrack > &convertedTracks, const l1t::MuonStubRefVector &stubs) |
void | SetQualityBits (std::vector< l1t::TrackerMuon > &muons) |
std::vector< l1t::TrackerMuon > | sort (std::vector< l1t::TrackerMuon > &muons, uint maximum) |
TPSAlgorithm (const edm::ParameterSet &iConfig) | |
~TPSAlgorithm () | |
Private Member Functions | |
std::vector< PreTrackMatchedMuon > | clean (std::vector< PreTrackMatchedMuon > &muons) |
ap_uint< 5 > | cleanMuon (const PreTrackMatchedMuon &mu, const PreTrackMatchedMuon &other, bool eq) |
ap_uint< BITSSIGMACOORD+1 > | deltaCoord (const ap_int< BITSSTUBCOORD > &phi1, const ap_int< BITSSTUBCOORD > &phi2) |
ap_uint< BITSSIGMAETA+1 > | deltaEta (const ap_int< BITSSTUBETA > &eta1, const ap_int< BITSSTUBETA > &eta2) |
match_t | getBest (const std::vector< match_t > matches) |
match_t | match (const propagation_t prop, const l1t::MuonStubRef &stub, uint trackID) |
void | matchingInfos (std::vector< match_t > matchInfo, PreTrackMatchedMuon &muon, ap_uint< BITSMATCHQUALITY > &quality) |
PreTrackMatchedMuon | processTrack (const ConvertedTTTrack &, const l1t::MuonStubRefVector &) |
propagation_t | propagate (const ConvertedTTTrack &track, uint layer) |
match_t | propagateAndMatch (const ConvertedTTTrack &track, const l1t::MuonStubRef &stub, uint trackID) |
Private Attributes | |
int | verbose_ |
Definition at line 45 of file TPSAlgorithm.h.
TPSAlgorithm::TPSAlgorithm | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 5 of file TPSAlgorithm.cc.
TPSAlgorithm::~TPSAlgorithm | ( | ) |
Definition at line 7 of file TPSAlgorithm.cc.
|
private |
Definition at line 517 of file TPSAlgorithm.cc.
References cleanMuon(), mps_fire::i, dqmiolumiharvest::j, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, DiMuonV_cfg::muons, MillePedeFileConverter_cfg::out, parallelization::uint, and verbose_.
Referenced by processNonant().
|
private |
Definition at line 481 of file TPSAlgorithm.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), amptDefaultParameters_cff::mu, trackingPlots::other, hltL1SingleMuFiltered5_cfi::overlap, and validateGeometry_cfg::valid.
Referenced by clean(), and cleanNeighbor().
std::vector< PreTrackMatchedMuon > TPSAlgorithm::cleanNeighbor | ( | const std::vector< PreTrackMatchedMuon > & | muons, |
const std::vector< PreTrackMatchedMuon > & | muonsPrevious, | ||
const std::vector< PreTrackMatchedMuon > & | muonsNext, | ||
bool | equality | ||
) |
Definition at line 21 of file TPSAlgorithm.cc.
References cleanMuon(), mps_fire::i, dqmiolumiharvest::j, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, DiMuonV_cfg::muons, MillePedeFileConverter_cfg::out, parallelization::uint, and verbose_.
std::vector< l1t::TrackerMuon > TPSAlgorithm::convert | ( | std::vector< PreTrackMatchedMuon > & | muons, |
uint | maximum | ||
) |
Definition at line 58 of file TPSAlgorithm.cc.
References mps_fire::i, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, oniaPATMuonsWithTrigger_cff::matches, amptDefaultParameters_cff::mu, HLT_2024v14_cff::muon, DiMuonV_cfg::muons, MillePedeFileConverter_cfg::out, parallelization::uint, and verbose_.
|
private |
|
private |
Definition at line 258 of file TPSAlgorithm.cc.
References HLT_2024v14_cff::dEta, HLT_2024v14_cff::eta1, and HLT_2024v14_cff::eta2.
Referenced by match().
Definition at line 393 of file TPSAlgorithm.cc.
References visualization-live-secondInstance_cfg::m, and oniaPATMuonsWithTrigger_cff::matches.
Referenced by matchingInfos().
|
private |
Definition at line 278 of file TPSAlgorithm.cc.
References Phase2L1GMT::propagation_t::coord1, Phase2L1GMT::propagation_t::coord2, deltaCoord(), deltaEta(), Phase2L1GMT::propagation_t::eta, Phase2L1GMT::propagation_t::is_barrel, MillePedeFileConverter_cfg::out, Phase2L1GMT::propagation_t::sigma_coord1, Phase2L1GMT::propagation_t::sigma_coord2, Phase2L1GMT::propagation_t::sigma_eta1, Phase2L1GMT::propagation_t::sigma_eta2, and verbose_.
Referenced by propagateAndMatch().
|
private |
Definition at line 403 of file TPSAlgorithm.cc.
References b, getBest(), and quality.
Referenced by processTrack().
bool TPSAlgorithm::outputGT | ( | std::vector< l1t::TrackerMuon > & | muons | ) |
Definition at line 99 of file TPSAlgorithm.cc.
References Phase2L1GMT::BITSGTBETA, Phase2L1GMT::BITSGTD0, Phase2L1GMT::BITSGTETA, Phase2L1GMT::BITSGTISO, Phase2L1GMT::BITSGTPHI, Phase2L1GMT::BITSGTPT, Phase2L1GMT::BITSGTQUAL, Phase2L1GMT::BITSGTZ0, amptDefaultParameters_cff::mu, and DiMuonV_cfg::muons.
std::vector< PreTrackMatchedMuon > TPSAlgorithm::processNonant | ( | const std::vector< ConvertedTTTrack > & | convertedTracks, |
const l1t::MuonStubRefVector & | stubs | ||
) |
Definition at line 9 of file TPSAlgorithm.cc.
References clean(), l1tGTTFileWriter_cfi::convertedTracks, amptDefaultParameters_cff::mu, processTrack(), SimL1Emulator_cff::stubs, and HLT_2024v14_cff::track.
|
private |
Definition at line 417 of file TPSAlgorithm.cc.
References generateTowerEtThresholdLUT::addr, mps_fire::i, Phase2L1GMT::lt_tpsID, visualization-live-secondInstance_cfg::m, matchingInfos(), HLT_2024v14_cff::muon, propagateAndMatch(), quality, SimL1Emulator_cff::stubs, HLT_2024v14_cff::track, parallelization::uint, and verbose_.
Referenced by processNonant().
|
private |
Definition at line 139 of file TPSAlgorithm.cc.
References cms::cuda::assert(), Phase2L1GMT::barrelLimit0_, Phase2L1GMT::barrelLimit1_, Phase2L1GMT::barrelLimit2_, Phase2L1GMT::barrelLimit3_, Phase2L1GMT::barrelLimit4_, Phase2L1GMT::BITSPROPCOORD, Phase2L1GMT::BITSPROPSIGMACOORD_A, Phase2L1GMT::BITSPROPSIGMACOORD_B, Phase2L1GMT::BITSTTCURV, PixelRecoUtilities::curvature(), PVValHelper::eta, Phase2L1GMT::ETADIVIDER, createfilelist::int, Phase2L1GMT::lt_prop_coord1_0, Phase2L1GMT::lt_prop_coord1_1, Phase2L1GMT::lt_prop_coord1_2, Phase2L1GMT::lt_prop_coord1_3, Phase2L1GMT::lt_prop_coord1_4, Phase2L1GMT::lt_prop_coord2_0, Phase2L1GMT::lt_prop_coord2_1, Phase2L1GMT::lt_prop_coord2_2, Phase2L1GMT::lt_prop_coord2_3, Phase2L1GMT::lt_prop_coord2_4, Phase2L1GMT::lt_res0_coord1_0, Phase2L1GMT::lt_res0_coord1_1, Phase2L1GMT::lt_res0_coord1_2, Phase2L1GMT::lt_res0_coord1_3, Phase2L1GMT::lt_res0_coord1_4, Phase2L1GMT::lt_res0_coord2_0, Phase2L1GMT::lt_res0_coord2_1, Phase2L1GMT::lt_res0_coord2_2, Phase2L1GMT::lt_res0_coord2_3, Phase2L1GMT::lt_res0_coord2_4, Phase2L1GMT::lt_res0_eta1_0, Phase2L1GMT::lt_res0_eta1_1, Phase2L1GMT::lt_res0_eta1_2, Phase2L1GMT::lt_res0_eta1_3, Phase2L1GMT::lt_res0_eta1_4, Phase2L1GMT::lt_res0_eta2_0, Phase2L1GMT::lt_res0_eta2_1, Phase2L1GMT::lt_res0_eta2_2, Phase2L1GMT::lt_res0_eta2_3, Phase2L1GMT::lt_res0_eta2_4, Phase2L1GMT::lt_res1_coord1_0, Phase2L1GMT::lt_res1_coord1_1, Phase2L1GMT::lt_res1_coord1_2, Phase2L1GMT::lt_res1_coord1_3, Phase2L1GMT::lt_res1_coord1_4, Phase2L1GMT::lt_res1_coord2_0, Phase2L1GMT::lt_res1_coord2_1, Phase2L1GMT::lt_res1_coord2_2, Phase2L1GMT::lt_res1_coord2_3, Phase2L1GMT::lt_res1_coord2_4, Phase2L1GMT::lt_res1_eta_0, Phase2L1GMT::lt_res1_eta_1, Phase2L1GMT::lt_res1_eta_2, Phase2L1GMT::lt_res1_eta_3, Phase2L1GMT::lt_res1_eta_4, MillePedeFileConverter_cfg::out, Phase2L1GMT::PHIDIVIDER, HLT_2024v14_cff::track, parallelization::uint, and verbose_.
Referenced by propagateAndMatch().
|
private |
Definition at line 388 of file TPSAlgorithm.cc.
References match(), propagate(), and HLT_2024v14_cff::track.
Referenced by processTrack().
void TPSAlgorithm::SetQualityBits | ( | std::vector< l1t::TrackerMuon > & | muons | ) |
Definition at line 86 of file TPSAlgorithm.cc.
References amptDefaultParameters_cff::mu, and DiMuonV_cfg::muons.
std::vector< l1t::TrackerMuon > TPSAlgorithm::sort | ( | std::vector< l1t::TrackerMuon > & | muons, |
uint | maximum | ||
) |
Definition at line 124 of file TPSAlgorithm.cc.
References a, b, mps_fire::i, DiMuonV_cfg::muons, MillePedeFileConverter_cfg::out, and jetUpdater_cfi::sort.
|
private |
Definition at line 63 of file TPSAlgorithm.h.
Referenced by clean(), cleanNeighbor(), convert(), match(), processTrack(), and propagate().