#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 7 of file PrimitiveMatching.h.
typedef EMTFHitCollection::const_iterator PrimitiveMatching::hit_ptr_t |
Definition at line 9 of file PrimitiveMatching.h.
typedef std::pair<int, hit_ptr_t> PrimitiveMatching::hit_sort_pair_t |
Definition at line 10 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 12 of file PrimitiveMatching.cc.
References bugME11Dupes_, bugSt2PhDiff_, 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 440 of file PrimitiveMatching.cc.
References bugME11Dupes_, l1t::EMTFHit::BX(), l1t::EMTFTrack::Hits(), l1t::EMTFHit::Is_RPC(), L1TMuon::TriggerPrimitive::kCSC, l1t::EMTFHit::Pattern(), l1t::EMTFHit::PC_chamber(), l1t::EMTFHit::PC_station(), l1t::EMTFHit::Phi_fp(), l1t::EMTFTrack::push_Hit(), l1t::EMTFHit::Ring(), l1t::EMTFHit::Roll(), l1t::EMTFTrack::set_Hits(), l1t::EMTFHit::set_theta_fp(), l1t::EMTFHit::Strip(), l1t::EMTFHit::Strip_hi(), l1t::EMTFHit::Strip_low(), l1t::EMTFHit::Subsystem(), and l1t::EMTFHit::Theta_fp().
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 28 of file PrimitiveMatching.cc.
References l1t::EMTFHit::BT_segment(), l1t::EMTFRoad::BX(), l1t::EMTFHit::BX(), bx_, l1t::EMTFTrack::clear_Hits(), gather_cfg::cout, l1t::EMTFRoad::Endcap(), fixZonePhi_, l1t::EMTFHit::FS_segment(), l1t::EMTFTrack::Hits(), 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::EMTFTrack::set_bx(), l1t::EMTFTrack::set_endcap(), l1t::EMTFHit::set_fs_segment(), l1t::EMTFTrack::set_ph_num(), l1t::EMTFTrack::set_ph_q(), l1t::EMTFTrack::set_rank(), l1t::EMTFTrack::set_sector(), l1t::EMTFTrack::set_sector_idx(), l1t::EMTFTrack::set_winner(), l1t::EMTFTrack::set_zone(), to_hex(), HiIsolationCommonParameters_cff::track, l1t::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 234 of file PrimitiveMatching.cc.
References a, funct::abs(), b, electrons_cff::bool, bugSt2PhDiff_, EnergyCorrector::c, fixZonePhi_, L1TMuon::TriggerPrimitive::kCSC, alignCSCRings::r, findQualityFiles::rr, checklumidiff::tot_diff, and useNewZones_.
Referenced by process().
|
private |
Definition at line 40 of file PrimitiveMatching.h.
Referenced by configure(), and insert_hits().
|
private |
Definition at line 40 of file PrimitiveMatching.h.
Referenced by configure(), and process_single_zone_station().
|
private |
Definition at line 37 of file PrimitiveMatching.h.
Referenced by configure(), and process().
|
private |
Definition at line 37 of file PrimitiveMatching.h.
Referenced by configure().
|
private |
Definition at line 39 of file PrimitiveMatching.h.
Referenced by configure(), process(), and process_single_zone_station().
|
private |
Definition at line 37 of file PrimitiveMatching.h.
Referenced by configure().
|
private |
Definition at line 39 of file PrimitiveMatching.h.
Referenced by configure(), and process_single_zone_station().
|
private |
Definition at line 37 of file PrimitiveMatching.h.
Referenced by configure(), and process().