Skip to content

Rewrite all majorana to lepton lepton lines and change cut values.

Louis Henry requested to merge lohenry-update-B2LN-N2LL into qee_upgrade_24

Rewrites the code in b_to_majolep_majo_to_leplep.py in order to:

  • define explicitly the cut values rather than nest them in builder functions shared with the leppi lines
  • change the approach on cuts from a DOCA/P/GHOSTPROB/TRACKCHI2 approach to getting most of the rejection from IPCHI2 and displacement cuts
  • define lines within a loop in order to reduce hardcoding.

The reason behind moving away from common builders is that the change of approach from one set of cuts to the other would mean that all default arguments in, e.g. make_majorana, would have to be overwritten to dumb values, which would make things unnecessarily complicated.

Depending on the considered mode, efficiencies range from 0.1% to 1+%, which represents a large increase compared to the previous status.

### Local Estimation of BW
__With Changes:__  
Ran over 5,000 events.  
- Turbo filesize = 3.0 MB. Turbo Events fired = 360 
- Turbo Rate = 1.14 MHz * 360 / 5,000 = `82.1 kHz`  
- Turbo BW = 1.14 MHz * 3.0 MB / 5,000 = `684 MB/s`  

__Without Changes:__  
- Turbo filesize = 2.9 MB. Turbo Events fired = 343  
- Turbo Rate = 1.14 MHz * 343 / 5,000 = `78.2 kHz`  
- Turbo BW = 1.14 MHz * 2.9 MB / 5,000 = `661 MB/s`  

__Conclusion:__  
Ran locally over 5,000 events.  
Change to QEE's Turbo Rate = 0%
Change to QEE's Turbo BW = +3.5%
Change to QEE's Full-stream Rate = 0%
Change to QEE's Full-stream BW = 0%
Edited by Louis Henry

Merge request reports