#include <AngleCalculation.h>
Public Member Functions | |
void | calculate_angles (EMTFTrack &track, const int izone) const |
void | calculate_bx (EMTFTrack &track) const |
void | configure (int verbose, int endcap, int sector, int bx, int bxWindow, int thetaWindow, int thetaWindowZone0, bool bugME11Dupes, bool bugAmbigThetaWin, bool twoStationSameBX) |
void | erase_tracks (EMTFTrackCollection &tracks) const |
void | process (emtf::zone_array< EMTFTrackCollection > &zone_tracks) const |
Private Attributes | |
bool | bugAmbigThetaWin_ |
bool | bugME11Dupes_ |
int | bx_ |
int | bxWindow_ |
int | endcap_ |
int | sector_ |
int | thetaWindow_ |
int | thetaWindowZone0_ |
bool | twoStationSameBX_ |
int | verbose_ |
Definition at line 6 of file AngleCalculation.h.
void AngleCalculation::calculate_angles | ( | EMTFTrack & | track, |
const int | izone | ||
) | const |
Definition at line 80 of file AngleCalculation.cc.
References a, funct::abs(), b, l1t::EMTFPtLUT::bt_ci, l1t::EMTFPtLUT::bt_hi, l1t::EMTFPtLUT::bt_si, l1t::EMTFPtLUT::bt_vi, bugAmbigThetaWin_, bugME11Dupes_, emtf::calc_eta_from_theta_deg(), emtf::calc_phi_glob_deg(), emtf::calc_phi_loc_deg(), emtf::calc_theta_deg_from_int(), relativeConstraints::chamber, l1t::EMTFTrack::clear_Hits(), l1t::EMTFPtLUT::cpattern, l1t::EMTFPtLUT::delta_ph, l1t::EMTFPtLUT::delta_th, l1t::EMTFTrack::Endcap(), l1t::EMTFPtLUT::fr, l1t::EMTFTrack::Hits(), mps_fire::i, L1TMuon::TriggerPrimitive::kGEM, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, emtf::NUM_STATION_PAIRS, emtf::NUM_STATIONS, l1t::EMTFTrack::Phi_loc(), l1t::EMTFTrack::Rank(), mps_fire::result, relativeConstraints::ring, l1t::EMTFTrack::Sector(), l1t::EMTFTrack::set_eta(), l1t::EMTFTrack::set_Hits(), l1t::EMTFTrack::set_mode(), l1t::EMTFTrack::set_mode_inv(), l1t::EMTFTrack::set_phi_fp(), l1t::EMTFTrack::set_phi_glob(), l1t::EMTFTrack::set_phi_loc(), l1t::EMTFTrack::set_PtLUT(), l1t::EMTFTrack::set_rank(), l1t::EMTFTrack::set_theta(), l1t::EMTFTrack::set_theta_fp(), l1t::EMTFPtLUT::sign_ph, l1t::EMTFPtLUT::sign_th, l1t::EMTFPtLUT::st1_ring2, relativeConstraints::station, hcal2_dqm_sourceclient-live_cfg::subsystem, theta(), l1t::EMTFTrack::Theta(), thetaWindow_, thetaWindowZone0_, findQualityFiles::v, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by process().
void AngleCalculation::calculate_bx | ( | EMTFTrack & | track | ) | const |
Definition at line 495 of file AngleCalculation.cc.
References bx_, bxWindow_, counter, l1t::EMTFTrack::Hits(), mps_fire::i, l1t::EMTFTrack::set_first_bx(), and l1t::EMTFTrack::set_second_bx().
Referenced by process().
void AngleCalculation::configure | ( | int | verbose, |
int | endcap, | ||
int | sector, | ||
int | bx, | ||
int | bxWindow, | ||
int | thetaWindow, | ||
int | thetaWindowZone0, | ||
bool | bugME11Dupes, | ||
bool | bugAmbigThetaWin, | ||
bool | twoStationSameBX | ||
) |
Definition at line 13 of file AngleCalculation.cc.
References bugAmbigThetaWin_, bugME11Dupes_, l1GtPatternGenerator_cfi::bx, bx_, bxWindow_, makeMuonMisalignmentScenario::endcap, endcap_, sector_, thetaWindow_, thetaWindowZone0_, twoStationSameBX_, verbose, and verbose_.
Referenced by SectorProcessor::process_single_bx().
void AngleCalculation::erase_tracks | ( | EMTFTrackCollection & | tracks | ) | const |
Definition at line 530 of file AngleCalculation.cc.
References emtf::NUM_STATIONS, HLT_2018_cff::track, twoStationSameBX_, and x.
Referenced by process().
void AngleCalculation::process | ( | emtf::zone_array< EMTFTrackCollection > & | zone_tracks | ) | const |
Definition at line 36 of file AngleCalculation.cc.
References calculate_angles(), calculate_bx(), gather_cfg::cout, erase_tracks(), emtf::NUM_ZONES, to_hex(), HLT_2018_cff::track, PDWG_EXOHSCP_cff::tracks, and verbose_.
Referenced by SectorProcessor::process_single_bx().
|
private |
Definition at line 32 of file AngleCalculation.h.
Referenced by calculate_angles(), and configure().
|
private |
Definition at line 32 of file AngleCalculation.h.
Referenced by calculate_angles(), and configure().
|
private |
Definition at line 28 of file AngleCalculation.h.
Referenced by calculate_bx(), and configure().
|
private |
Definition at line 30 of file AngleCalculation.h.
Referenced by calculate_bx(), and configure().
|
private |
Definition at line 28 of file AngleCalculation.h.
Referenced by configure().
|
private |
Definition at line 28 of file AngleCalculation.h.
Referenced by configure().
|
private |
Definition at line 31 of file AngleCalculation.h.
Referenced by calculate_angles(), and configure().
|
private |
Definition at line 31 of file AngleCalculation.h.
Referenced by calculate_angles(), and configure().
|
private |
Definition at line 32 of file AngleCalculation.h.
Referenced by configure(), and erase_tracks().
|
private |
Definition at line 28 of file AngleCalculation.h.
Referenced by configure(), and process().