Skip to content
Snippets Groups Projects

Follow naming changes in Rec!2652

Merged Andre Gunther requested to merge gunther_MCFunctors into master
Files
4
@@ -19,7 +19,7 @@ from ..algorithms import (Filter, CombineTracks)
from Moore.config import HltLine
from Functors import (CLOSESTTOBEAM, NHITS, P, PT, ISMUON, CHI2DOF, MAXDOCA,
MASS, Z, CHARGE)
MASS, REFERENCEPOINT_Z, CHARGE)
from Functors.math import in_range
@@ -32,7 +32,7 @@ def smog_minimumbias_line(
min_Smog_z=-550 * mm,
min_nhits=17,
):
selection = in_range(min_Smog_z, CLOSESTTOBEAM(Z),
selection = in_range(min_Smog_z, CLOSESTTOBEAM(REFERENCEPOINT_Z),
max_Smog_z) & (NHITS > min_nhits)
tracks = {'PrVeloTracks': make_input_tracks()['Pr']}
track_filter = Filter(tracks, selection)['PrVeloTracks']
@@ -63,7 +63,7 @@ def smog_dimuon_line(
comb_cut = (MAXDOCA < max_doca) & (CHARGE == comb_charge_sum)
moth_cut = (CHI2DOF < max_vtx_chi2dof) & (MASS > min_inv_mass) & in_range(
min_Smog_z, Z, max_Smog_z)
min_Smog_z, REFERENCEPOINT_Z, max_Smog_z)
combination_filter = CombineTracks(
AssumedMass='mu+',
Loading