Add electrons with brem correction
Add electrons with bremsstrahlung correction to standard_particles
:
- new
make_long_electrons_with_brem
: takes as inputmake_long_electrons_no_brem
andmake_photons
and uses the newParticleWithBremMaker
introduced in Phys!820 (merged) to create electrons with brem correction applied - modify
make_detached_ee
so input electrons can be passed as an option, defaulting tomake_long_electrons_no_brem
, which was previously hardcoded - new
make_ee_with_brem
: takes as input a container of electrons and uses the newFunctionalDiElectronMaker
introduced in Phys!820 (merged) to create dielectrons with brem correction applied, ensuring the same photon is not used to correct both electrons in the pair - new
make_detached_ee_with_brem
: creates electrons usingmake_long_electrons_no_brem
, filters them with detachment requirements following the selection inmake_detached_ee
and created dielectrons with brem correction using the abovemake_ee_with_brem
Add also Hlt2Conf.test_hlt2_bremsstrahlung
to test the new standard particles. Three B2JpsiK_ee lines are run using make_detached_ee
, make_detached_ee
with make_long_electrons_with_brem
, and make_detached_ee_with_brem
, respectively. Currently only check for no errors and at least 1 selected candidate.
Needs Phys!820 (merged) and lhcb-datapkg/PRConfig!175 (merged)
Closes #214 (closed)
Merge request reports
Activity
I've checked
Hlt2Conf.test_hlt2_standard_particles
runs fine with the addition ofmake_long_electrons_with_brem
, are there more tests I should run when adding new standard particles? Next step would be to use this in an Hlt2 line, but I'd leave that to line authors so they can properly test the effectadded enhancement hlt2 labels
mentioned in merge request !707 (merged)
added 203 commits
-
af038ea6...4af0d224 - 199 commits from branch
master
- dbf993da - add electrons with brem
- 6b2ea55d - configure BremAdder
- c79e2867 - add diElectrons with brem
- 46f572dd - add test line for brem
Toggle commit list-
af038ea6...4af0d224 - 199 commits from branch
mentioned in merge request !774 (merged)
- Resolved by Carla Marin Benito
The baseline functionality is working! I've run on 10k BToJpsiK, JpsiToEE, events to test both the
ParticleWithBremMaker
and theFunctionalDiElectronMaker
and the Jpsi mass resolution gets much improved when adding brem, so the algorithms seem to work as expected:(the resolution without brem looks terrible and with brem it seems still worse than in Run 1/2 but investigating such effects is out of the scope of this MR)
added 1 commit
- 2da2fd4a - detached_ee_with_brem CloneFilteredParticles
mentioned in merge request Phys!820 (merged)