Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to support newer releases and fix isolation variables #1659

Merged
merged 14 commits into from
Oct 10, 2023

Conversation

SagarA17
Copy link
Contributor

@SagarA17 SagarA17 commented Oct 5, 2023

This MR aims to fix a few tool calls to support newer releases. The main changes however are in the lepton isolation variables -

  1. The newer PHYS and LLP1 derivations now contain the closeByCorrected variables already written, which should then be used to calculate the isolation working points. There are corresponding changes to support this.
  2. Older isolation variables are removed which might not even be written to the derivations anymore.

We also made some safeFill changes to track parameters in case they are not available in the derivations (which is often).

Thanks,
Sagar and @gfrattar

@mdhank
Copy link
Contributor

mdhank commented Oct 6, 2023

Hello,

I tested out this update with my current setup (https://gitlab.cern.ch/atlassusy-bminusl/blcharginohlworkspace), using the sample

mc20_13TeV:mc20_13TeV.410472.PhPy8EG_A14_ttbar_hdamp258p75_dil.deriv.DAOD_PHYS.e6348_s3681_r13144_p5855
and AnalysisBase 24.2.20. I found it is crashing on the line https://github.com/SagarA17/xAODAnaHelpers/blob/new-isol-vars/Root/JetSelector.cxx#L767 . I am currently investigating why this is happening to see if any changes are needed (to the code or to my config). The error message is:

JetSelector.JetSelecto...DEBUG   Applying JVT SF
*** Break *** segmentation violation
[^[[1m2023-10-06 10:25:32,629^[[0m][^[[1;31mERROR^[[0m  ]  --------------------
An exception was caught! (^[[1mxAH_run.py^[[0m:656)
Traceback (most recent call last):
  File "/data/mhank/Penn_Analysis/BLstopWorkspace_Testing/blcharginohlworkspace/./source/xAODAnaHelpers/scripts/xAH_run.py", line 638, in <module>
    driver.submit(job, args.submit_dir)
cppyy.ll.SegmentationViolation: string EL::Driver::submit(const EL::Job& job, const string& location) =>
    SegmentationViolation: segfault in C++; program state was reset
[^[[1m2023-10-06 10:25:32,630^[[0m][^[[1;37mINFO^[[0m   ]  ======================================== (^[[1mtiming.py^[[0m:22)
[^[[1m2023-10-06 10:25:32,630^[[0m][^[[1;37mINFO^[[0m   ]  471279:25:32.630-End Program (^[[1mtiming.py^[[0m:23)
[^[[1m2023-10-06 10:25:32,630^[[0m][^[[1;37mINFO^[[0m   ]  Elapsed time: 0:00:56.915 (^[[1mtiming.py^[[0m:25)
[^[[1m2023-10-06 10:25:32,631^[[0m][^[[1;37mINFO^[[0m   ]  ======================================== (^[[1mtiming.py^[[0m:26)
xAOD::TFileAccessTracer   INFO    Sending file access statistics to http://rucio-lb-prod.cern.ch:18762/traces/

Best,
Michael

@SagarA17
Copy link
Contributor Author

SagarA17 commented Oct 6, 2023 via email

@mdhank
Copy link
Contributor

mdhank commented Oct 6, 2023 via email

@miholzbo
Copy link
Contributor

miholzbo commented Oct 9, 2023

Hello, @mdhank just pointed me to this PR. I've actually made some similar developments recently in the branch (the last four commits): https://github.com/miholzbo/xAODAnaHelpers/commits/dev/AB-updates

Overall, this PR seems to be much more advanced though. Could you try cherry-picking these commits into this PR? In particular the last one might be interesting to "re-solve" the Jvt issue for the moment.

@SagarA17
Copy link
Contributor Author

SagarA17 commented Oct 9, 2023

Hello, @miholzbo. Thanks for the pointer! I have added the last commit to this PR as well. Hopefully, it solves the error/warning that @mdhank sees.

@mdhank
Copy link
Contributor

mdhank commented Oct 9, 2023

I ran a test, and this does solve the error I was seeing! Thanks @SagarA17 and @miholzbo .

@SagarA17
Copy link
Contributor Author

SagarA17 commented Oct 9, 2023

Thanks for checking @mdhank! Let me know what else I should look at before you are ready to merge.

@mdhank
Copy link
Contributor

mdhank commented Oct 9, 2023

Hi @SagarA17 , I don't have merge permissions for xAH.

@SagarA17
Copy link
Contributor Author

Maybe @kratsg could help us merge? We would appreciate the help!

@kratsg kratsg merged commit 0111e8c into UCATLAS:main Oct 10, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants