#include <PrimitiveMatching.h>
Public Types | |
typedef EMTFHitCollection::const_iterator | hit_ptr_t |
typedef std::pair< int, hit_ptr_t > | hit_sort_pair_t |
Public Member Functions | |
void | configure (int verbose, int endcap, int sector, int bx, bool fixZonePhi, bool useNewZones, bool bugSt2PhDiff, bool bugME11Dupes) |
void | insert_hits (hit_ptr_t conv_hit_ptr, const EMTFHitCollection &conv_hits, EMTFTrack &track) const |
void | process (const std::deque< EMTFHitCollection > &extended_conv_hits, const emtf::zone_array< EMTFRoadCollection > &zone_roads, emtf::zone_array< EMTFTrackCollection > &zone_tracks) const |
void | process_single_zone_station (int zone, int station, const EMTFRoadCollection &roads, const EMTFHitCollection &conv_hits, std::vector< hit_sort_pair_t > &phi_differences) const |
Private Attributes | |
bool | bugME11Dupes_ |
bool | bugSt2PhDiff_ |
int | bx_ |
int | endcap_ |
bool | fixZonePhi_ |
int | sector_ |
bool | useNewZones_ |
int | verbose_ |
Definition at line 6 of file PrimitiveMatching.h.
typedef EMTFHitCollection::const_iterator PrimitiveMatching::hit_ptr_t |
Definition at line 8 of file PrimitiveMatching.h.
typedef std::pair<int, hit_ptr_t> PrimitiveMatching::hit_sort_pair_t |
Definition at line 9 of file PrimitiveMatching.h.
void PrimitiveMatching::configure | ( | int | verbose, |
int | endcap, | ||
int | sector, | ||
int | bx, | ||
bool | fixZonePhi, | ||
bool | useNewZones, | ||
bool | bugSt2PhDiff, | ||
bool | bugME11Dupes | ||
) |
Definition at line 11 of file PrimitiveMatching.cc.
References bugME11Dupes_, bugSt2PhDiff_, l1GtPatternGenerator_cfi::bx, bx_, makeMuonMisalignmentScenario::endcap, endcap_, fixZonePhi_, sector_, useNewZones_, verbose, and verbose_.
Referenced by SectorProcessor::process_single_bx().
void PrimitiveMatching::insert_hits | ( | hit_ptr_t | conv_hit_ptr, |
const EMTFHitCollection & | conv_hits, | ||
EMTFTrack & | track | ||
) | const |
Definition at line 433 of file PrimitiveMatching.cc.
References bugME11Dupes_, l1t::EMTFHit::BX(), emtf_assert, l1t::EMTFHit::Is_RPC(), L1TMuon::TriggerPrimitive::kCSC, l1t::EMTFHit::Pattern(), l1t::EMTFHit::PC_chamber(), l1t::EMTFHit::PC_station(), l1t::EMTFHit::Phi_fp(), l1t::EMTFHit::Ring(), l1t::EMTFHit::Roll(), l1t::EMTFHit::set_theta_fp(), l1t::EMTFHit::Strip(), l1t::EMTFHit::Strip_hi(), l1t::EMTFHit::Strip_low(), l1t::EMTFHit::Subsystem(), l1t::EMTFHit::Theta_fp(), and HLT_2018_cff::track.
Referenced by process().
void PrimitiveMatching::process | ( | const std::deque< EMTFHitCollection > & | extended_conv_hits, |
const emtf::zone_array< EMTFRoadCollection > & | zone_roads, | ||
emtf::zone_array< EMTFTrackCollection > & | zone_tracks | ||
) | const |
Definition at line 30 of file PrimitiveMatching.cc.
References b1, l1t::EMTFHit::BT_segment(), l1t::EMTFRoad::BX(), l1t::EMTFHit::BX(), bx_, gather_cfg::cout, emtf_assert, l1t::EMTFRoad::Endcap(), fixZonePhi_, l1t::EMTFHit::FS_segment(), insert_hits(), l1t::EMTFRoad::Key_zhit(), emtf::NUM_STATIONS, emtf::NUM_ZONES, process_single_zone_station(), l1t::EMTFRoad::Quality_code(), l1t::EMTFRoad::Sector(), l1t::EMTFRoad::Sector_idx(), l1t::EMTFHit::set_bt_segment(), l1t::EMTFHit::set_fs_segment(), to_hex(), HLT_2018_cff::track, PDWG_EXOHSCP_cff::tracks, verbose_, l1t::EMTFRoad::Winner(), and l1t::EMTFRoad::Zone().
Referenced by SectorProcessor::process_single_bx().
void PrimitiveMatching::process_single_zone_station | ( | int | zone, |
int | station, | ||
const EMTFRoadCollection & | roads, | ||
const EMTFHitCollection & | conv_hits, | ||
std::vector< hit_sort_pair_t > & | phi_differences | ||
) | const |
Definition at line 218 of file PrimitiveMatching.cc.
References a, funct::abs(), b, electrons_cff::bool, bugSt2PhDiff_, HltBtagPostValidation_cff::c, emtf_assert, fixZonePhi_, L1TMuon::TriggerPrimitive::kCSC, alignCSCRings::r, findQualityFiles::rr, relativeConstraints::station, and useNewZones_.
Referenced by process().
|
private |
Definition at line 36 of file PrimitiveMatching.h.
Referenced by configure(), and insert_hits().
|
private |
Definition at line 36 of file PrimitiveMatching.h.
Referenced by configure(), and process_single_zone_station().
|
private |
Definition at line 33 of file PrimitiveMatching.h.
Referenced by configure(), and process().
|
private |
Definition at line 33 of file PrimitiveMatching.h.
Referenced by configure().
|
private |
Definition at line 35 of file PrimitiveMatching.h.
Referenced by configure(), process(), and process_single_zone_station().
|
private |
Definition at line 33 of file PrimitiveMatching.h.
Referenced by configure().
|
private |
Definition at line 35 of file PrimitiveMatching.h.
Referenced by configure(), and process_single_zone_station().
|
private |
Definition at line 33 of file PrimitiveMatching.h.
Referenced by configure(), and process().