This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import zfit | |
| import tempfile | |
| from zfit import dill | |
| from pathlib import Path | |
| from multiprocessing import get_context | |
| class ContextMinimizer: | |
| ''' | |
| Class meant to run minimization in a separate process | |
| This is needed to deal with the memory leak described here: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| di_track_angles_rk: | |
| th_l1_l2: TVector3 v1(L1_PX, L1_PY, L1_PZ); TVector3 v2(L2_PX, L2_PY, L2_PZ); return v1.Angle(v2); | |
| th_l1_kp: TVector3 v1(L1_PX, L1_PY, L1_PZ); TVector3 v2( H_PX, H_PY, H_PZ); return v1.Angle(v2); | |
| th_l2_kp: TVector3 v1(L2_PX, L2_PY, L2_PZ); TVector3 v2( H_PX, H_PY, H_PZ); return v1.Angle(v2); | |
| RK: | |
| EE: | |
| ghost: H_TRACK_GhostProb<0.3 && L1_TRACK_GhostProb <0.3 && L2_TRACK_GhostProb<0.3 | |
| hlt1: (B_Hlt1TrackMVADecision_TOS == 1) || (B_Hlt1TwoTrackMVADecision_TOS == 1) | |
| hlt2: (1) | |
| kinem_lep: (1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| '10000000': incl_b | |
| '10000010': incl_b=Biased2BinAcc | |
| '10000020': incl_b=BiasedDisplVert | |
| '10000021': incl_b=Biased_1DisplVert | |
| '10000022': incl_b=Biased_LifetimeAll5ps | |
| '10000023': incl_b=Biased_2DisplVert | |
| '10000027': incl_b,powheg | |
| '10000030': incl_b=HardQCDScatter,TightCut | |
| '10002203': incl_b=KKgammaX,updated | |
| '10002213': incl_b=KpigammaX,updated |