Implementation of RD isolation tool
TO BE TESTED WITH Rec!3444 (merged)
This MR aims at implement a common framework to persist in the extra_output
selections of particle associated to isolation, useful in several physics analysis to suppress offline the partial reconstructed background.
The goal is to have a common configurable tool to be implemented in different lines to persist a reduced amount of information, necessary to make offline studies with the isolation. This supports the idea of saving space for HLT2 BW in Turbo lines.
ATM, these are the persisted TES locations:
To get these object persisted, we can use the method select_parts_for_isolation
in isolation.py
as follows:
- set a list of names of particles wrt we want to calculate isolations,
- set a list of containers of particles wrt we want to calculate isolations,
- set the predicate that will filter the selection of extra particles,
- set to
True
the flags correspondent to the kind of isolation that we want to evaluate
The following list of extra particles are accessible to be persisted and to compute offline isolation:
-
make_long_pions
for long track isolation (by default: True) -
make_ttrack_pions
for t-track isolation (by default: False) -
make_down_pions
for downstream track isolation (by default: False) -
make_up_pions
for upstream track isolation (by default: False) -
make_photons
for neutral isolation (by default: True) -
make_merged_pi0s
for neutral isolation with pi0s (by default: False)
Furthermore, the MR implements the method find_in_decay
in isolation.py
, which returns a selection of particles in the decay tree a particle container matching a given id, passed as string parameter. In this way it could be possible to save extra information only for signal children candidate and limit the space for the HLT2 BW.
Example of application could be found in b_to_xtaul_hlt2.py
file.
Further developments and improvements are discussed in #494
TODO:
-
Add the possibility to save merged pi0 and set by default to False
-
Change ~
withnot
when excluding signal candidates -
Check what happen when empty array is saved in extra_outputs
-
Have a rough estimation of HLT2 BW saved by implementing isolation -
Have a look at isolation variables on persisted selections on MC and data
cc: @cagapopo, @msaur, @alobosal, @htilquin, @rquaglia, @elsmith
Merge request reports
Activity
added RD hlt2 new feature selection labels
assigned to @tfulghes
added RTA label
- Resolved by Rosen Matev
mentioned in merge request !2325 (merged)
added 1 commit
- a5010d40 - Fixes for implementing the isolation algorithm
mentioned in issue #494
added 1 commit
- 71d0b31c - Update algo with new functors, centralize functionalities
added 1 commit
- 2b763198 - Get subselection of particles from final candidates
added 16 commits
-
bae770a6...f126bffb - 2 commits from branch
master
- 23e7863c - Add first sketch for common builder for RD isolation
- 2591af00 - Fixed formatting
- 649dbc45 - Update extra_output
- 8355f70c - Test isolation
- b68fb532 - Fix implementation
- c1553213 - Fixes for implementing the isolation algorithm
- 6afd3118 - Update algo with new functors, centralize functionalities
- 48b61e6e - Fix main builder
- 50425473 - Fix functor name
- b8cdd17a - Get subselection of particles from final candidates
- 9fc522cf - Fix filtering
- 9b689aa7 - Fix isolation for RD
- a393e883 - Fixed formatting
- f679bc2c - Update isolation considering different kind of tracks
Toggle commit list-
bae770a6...f126bffb - 2 commits from branch