13 library: RemoteResource = default_lib_field
14 symbol: str =
"efficiency"
15 output_table: str =
"tmp_efficiency_out"
16 output_columns: Tuple[str, ...] = (
17 "not_recoed",
"long",
"upstream",
"downstream"
19 references: Tuple[str, ...] = (
"mcparticle_id",)
28 log(norm2(p.px, p.py, p.pz))/log(10.) AS mc_log10_p,
31 pseudorapidity(p.px, p.py, p.pz) AS mc_eta,
32 azimuthal(p.px, p.py, p.pz) AS mc_phi,
33 abs(p.pid) == 11 AS mc_is_e,
34 abs(p.pid) == 13 AS mc_is_mu,
36 abs(p.pid) == 211 OR abs(p.pid) == 321 OR abs(p.pid) == 2212
38 propagation_charge(p.pid) AS mc_charge
40 INNER JOIN MCVertices AS ov ON p.production_vertex = ov.mcvertex_id
44 propagation_charge(p.pid) <> 0.
47 implements: str =
"Plugin"