Go to the documentation of this file. 1 #ifndef L1Trigger_L1TTrackMatch_L1TKMUMANTRA_H
2 #define L1Trigger_L1TTrackMatch_L1TKMUMANTRA_H
57 std::vector<int>
find_match(
const std::vector<L1TkMuMantraDF::track_df>&
tracks,
58 const std::vector<L1TkMuMantraDF::muon_df>&
muons);
76 return (0 <
x) - (
x < 0);
89 return (2. * atan(
exp(-1. *
x)));
94 while (
x >= 0.5 *
M_PI)
96 while (
x < -0.5 *
M_PI)
135 #endif // L1TKMUMANTRA_H
std::vector< MuMatchWindow > wdws_theta_
void set_safety_factor(float sf_l, float sf_h)
static std::vector< double > prepare_corr_bounds(std::string fname, std::string hname)
std::vector< MuMatchWindow > wdws_phi_
void relax_windows(double &low, double cent, double &high)
constexpr long double degPerRad
L1TkMuMantra(const std::vector< double > &bounds, TFile *fIn_theta, TFile *fIn_phi, std::string name)
void test(double eta, double pt)
std::vector< double > bounds_
std::vector< int > find_match(const std::vector< L1TkMuMantraDF::track_df > &tracks, const std::vector< L1TkMuMantraDF::muon_df > &muons)
static double to_mpio2_pio2(double x)
static double eta_to_theta(double x)
void setArbitrationType(std::string type)
static double deg_to_rad(double x)
static double to_mpi_pi(double x)