1 #ifndef L1Trigger_L1TTrackMatch_L1TKMUMANTRA_H
2 #define L1Trigger_L1TTrackMatch_L1TKMUMANTRA_H
12 namespace L1TkMuMantraDF {
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);
87 return (2. * atan(
exp(-1. * x)));
92 while (x >= 0.5 *
M_PI)
94 while (x < -0.5 *
M_PI)
125 #endif // L1TKMUMANTRA_H
static double eta_to_theta(double x)
static double to_mpio2_pio2(double x)
L1TkMuMantra(const std::vector< double > &bounds, TFile *fIn_theta, TFile *fIn_phi, std::string name)
auto const & tracks
cannot be loose
Exp< T >::type exp(const T &t)
void relax_windows(double &low, double cent, double &high)
static std::vector< double > prepare_corr_bounds(std::string fname, std::string hname)
std::vector< MuMatchWindow > wdws_phi_
void set_safety_factor(float sf_l, float sf_h)
void test(double eta, double pt)
std::vector< MuMatchWindow > wdws_theta_
std::vector< int > find_match(const std::vector< L1TkMuMantraDF::track_df > &tracks, const std::vector< L1TkMuMantraDF::muon_df > &muons)
void setArbitrationType(std::string type)
std::vector< double > bounds_