Skip to content
Snippets Groups Projects

Follow-up from Analysis!977

Merged Abhijit Mathad requested to merge AM_invalidvalue_array into master
All threads resolved!
Files
2
@@ -98,12 +98,12 @@ def main(options: Options):
# make electrons with some cuts
with reconstruction.bind(from_file=True, spruce=True):
long_electrons_test = ParticleFilter(
long_electrons_tight_cuts = ParticleFilter(
Input=make_long_electrons_with_brem(),
Cut=F.FILTER(F.require_all(F.PT > 500. * MeV, F.PID_E > 1.)))
# make a test relation table
relation_table_match_by_veloid_test = VeloIDOverlapRelationTable(
MatchFrom=basic_particles_dz_to_kpi, MatchTo=long_electrons_test)
relation_table_match_by_veloid_tight_cuts = VeloIDOverlapRelationTable(
MatchFrom=basic_particles_dz_to_kpi, MatchTo=long_electrons_tight_cuts)
my_filter = create_lines_filter(
name="HDRFilter_D0Kpi", lines=[f"{line_name}"])
@@ -115,10 +115,10 @@ def main(options: Options):
Relations=relation_table_match_by_veloid.OutputRelations),
"Matched_to_Electron_Weight[nMatchTracks]":
F.MAP_WEIGHT(Relations=relation_table_match_by_veloid.OutputRelations),
'Matched_to_Electron_P_test[nMatchTracks_test]':
'Matched_to_Electron_P_tight_cuts[nMatchTracks_tight_cuts]':
F.MAP_INPUT_ARRAY(
Functor=F.P,
Relations=relation_table_match_by_veloid_test.OutputRelations),
Relations=relation_table_match_by_veloid_tight_cuts.OutputRelations),
})
evt_variables = FC.SelectionInfo(
Loading