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

WIP:: Added tier2 paths and tHbbCPTools.py #57

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

AlexEdmundMay
Copy link
Collaborator

@AlexEdmundMay AlexEdmundMay commented Mar 15, 2023

In 'src/pythium/sklimming/reader.py' Used XRootD.client and XRootD.client.glob_funcs to allow files to be read in from the tier 2 storage.
In 'src/pythium/sklimming/writer.py' Added two lines before the ak.to_parquet(...) to remove any empty events.
Added a new file 'src/pythium/common/tHbbCPTools.py' which contains functions to:

  • Unpack Samples from a dictionary of samples
  • Find overlapping and leading particles
  • calculate the dxbb score
  • Output the 4-momentum from the E,p_t,eta and phi.

@MoAly98 MoAly98 self-assigned this Mar 15, 2023
@MoAly98 MoAly98 changed the title Added tier2 paths and tHbbCPTools.py WIP:: Added tier2 paths and tHbbCPTools.py Mar 15, 2023
@MoAly98 MoAly98 self-requested a review March 15, 2023 15:26
@MoAly98 MoAly98 marked this pull request as draft March 16, 2023 11:59
@AlexEdmundMay AlexEdmundMay marked this pull request as ready for review March 16, 2023 12:10
@MoAly98 MoAly98 marked this pull request as draft March 16, 2023 12:14
src/pythium/common/tHbbCPTools.py Outdated Show resolved Hide resolved
src/pythium/sklimming/reader.py Outdated Show resolved Hide resolved
src/pythium/sklimming/reader.py Outdated Show resolved Hide resolved
src/pythium/sklimming/reader.py Outdated Show resolved Hide resolved
src/pythium/sklimming/reader.py Outdated Show resolved Hide resolved
src/pythium/sklimming/reader.py Show resolved Hide resolved
src/pythium/sklimming/reader.py Show resolved Hide resolved
src/pythium/sklimming/writer.py Outdated Show resolved Hide resolved
@AlexEdmundMay AlexEdmundMay marked this pull request as ready for review March 17, 2023 15:12
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.

2 participants