3 #include <pybind11/pybind11.h> 5 namespace py = pybind11;
38 : pT_lsb_(
config.getParameter<double>(
"pT_lsb")),
39 phi_lsb_(
config.getParameter<double>(
"phi_lsb")),
40 eta_lsb_(
config.getParameter<double>(
"eta_lsb")),
41 z0_lsb_(
config.getParameter<double>(
"z0_lsb")),
43 isolationPT_lsb_(
config.getParameter<double>(
"isolationPT_lsb")),
44 beta_lsb_(
config.getParameter<double>(
"beta_lsb")),
45 mass_lsb_(
config.getParameter<double>(
"mass_lsb")),
46 seed_pT_lsb_(
config.getParameter<double>(
"seed_pT_lsb")),
47 seed_z0_lsb_(
config.getParameter<double>(
"seed_z0_lsb")),
48 scalarSumPT_lsb_(
config.getParameter<double>(
"scalarSumPT_lsb")),
49 sum_pT_pv_lsb_(
config.getParameter<double>(
"sum_pT_pv_lsb")),
50 pos_chg_(
config.getParameter<
int>(
"pos_chg")),
51 neg_chg_(
config.getParameter<
int>(
"neg_chg")) {}
54 desc.add<
double>(
"pT_lsb");
55 desc.add<
double>(
"phi_lsb");
56 desc.add<
double>(
"eta_lsb");
57 desc.add<
double>(
"z0_lsb");
59 desc.add<
double>(
"isolationPT_lsb");
60 desc.add<
double>(
"beta_lsb");
61 desc.add<
double>(
"mass_lsb");
62 desc.add<
double>(
"seed_pT_lsb");
63 desc.add<
double>(
"seed_z0_lsb");
64 desc.add<
double>(
"scalarSumPT_lsb");
65 desc.add<
double>(
"sum_pT_pv_lsb");
66 desc.add<
int>(
"pos_chg");
67 desc.add<
int>(
"neg_chg");
71 py::class_<L1GTScales>(
m,
"L1GTScales")
double to_hw_InvMassSqrOver2DR(double value) const
int def(FILE *, FILE *, int)
int to_hw_dRSquared_ceil(double value) const
int to_hw_mass_ceil(double value) const
double to_hw_InvMassSqrDiv2(double value) const
int to_hw_beta_ceil(double value) const
double to_hw_TransMassSqrDiv2(double value) const
int to_hw_z0_ceil(double value) const
int to_hw_sum_pT_pv_floor(double value) const
int to_hw_scalarSumPT_ceil(double value) const
int to_hw_phi_floor(double value) const
int to_hw_seed_pT_ceil(double value) const
static void fillPSetDescription(edm::ParameterSetDescription &)
int to_hw_beta_floor(double value) const
int to_hw_seed_pT_floor(double value) const
int to_hw_sum_pT_pv_ceil(double value) const
int to_hw_pT_floor(double value) const
int to_hw_relative_isolationPT_ceil(double value) const
int to_hw_dRSquared_floor(double value) const
int to_hw_seed_z0_ceil(double value) const
int to_hw_seed_z0_floor(double value) const
int to_hw_mass_floor(double value) const
int to_hw_eta_ceil(double value) const
int to_hw_z0_floor(double value) const
PYBIND11_MODULE(libL1TriggerPhase2L1GT, m)
int to_hw_pT_ceil(double value) const
int to_hw_eta_floor(double value) const
double to_hw_PtSquared(double value) const
int to_hw_relative_isolationPT_floor(double value) const
int to_hw_phi_ceil(double value) const
int to_hw_scalarSumPT_floor(double value) const
L1GTScales(double pT_lsb, double phi_lsb, double eta_lsb, double z0_lsb, double isolationPT_lsb, double beta_lsb, double mass_lsb, double seed_pT_lsb, double seed_dZ_lsb, double scalarSumPT_lsb, double sum_pT_pv_lsb, int pos_chg, int neg_chg)