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

L1T-HLT-acceptance: fixes on 1st version (input: NanoAOD samples) #96

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions L1-HLT-acceptance/seeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@

with open(savedir+csvname,"w") as csv_file:
writer = csv.writer(csv_file)
writer.writerow(["HLT"] + runs.keys())
writer.writerow(["HLT"] + list(runs))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

required edit - the ones below are for consistency


for key in keys:
# Count the max number of hltL1 structures for a single HLT path
ls = []
for run in runs.keys():
for run in list(runs):
try:
ls.append(len(runs[run][key]))
except KeyError:
Expand All @@ -118,7 +118,7 @@
for i in range(m): # Iterate through all seeds in possible multiple hltL1 structures for a single HLT path
ls = []
ls.append(key)
for run in runs.keys():
for run in list(runs):
try:
ls.append(runs[run][key][i])
except KeyError:
Expand Down