Skip to content

adding R2_R3_cent_comparison.py - #15

Open
F-Ali-Khan wants to merge 8 commits into
flowHF:devfrom
F-Ali-Khan:dev
Open

adding R2_R3_cent_comparison.py#15
F-Ali-Khan wants to merge 8 commits into
flowHF:devfrom
F-Ali-Khan:dev

Conversation

@F-Ali-Khan

Copy link
Copy Markdown

No description provided.

@stefanopolitano

Copy link
Copy Markdown
Contributor

Hi @F-Ali-Khan ! Thanks for the development. I have few comments that I leave here below. Let me know if you need help with those

@F-Ali-Khan

Copy link
Copy Markdown
Author

Hi @F-Ali-Khan ! Thanks for the development. I have few comments that I leave here below. Let me know if you need help with those

hi @stefanopolitano I cannot see the comments, you posted.

@F-Ali-Khan

Copy link
Copy Markdown
Author

Hi @stefanopolitano Please see the code i have modify it according to your comments ...let me know if there is needed any further changing

@stefanopolitano stefanopolitano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi @F-Ali-Khan ! Thanks for the update, I still have a couple of points you might want to address

Comment thread src/compute_Resolution.py Outdated
sys.path.append(utils_path)

# Import your custom functions
from my_utils import get_resolution, get_centrality_bins, getListOfHisots

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is this "my_utils" folder? Could you align it with the current folder structure? Also, make sure the utils you are considering here are also present in the repository

Comment thread src/compute_Resolution.py Outdated
histos_triplets, histos_triplets_lables = getListOfHisots(an_res_file, wagon_id, vn_method)

# prepare output file
if vn_method == 'sp':

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I comment this here, but it counts for all the instances. We do not use the ep or deltaphi methods anymore. It would be cleaner to remove the vn_method option all over from the code

Comment thread src/compute_Resolution.py
sys.path.append(utils_path)

# Import your custom functions from utils
from utils import get_resolution, get_centrality_bins, getListOfHisots

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi @F-Ali-Khan ! Thanks for the update. We should include also these utility functions in the utils of the repository, otherwise the script will break

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Hi @stefanopolitano (get_resolution, get_centrality_bins, getListOfHisots) these all functions is define in the utills,py and i run this script it is working properly ...

Comment thread src/compute_Resolution.py Outdated
@stefanopolitano

Copy link
Copy Markdown
Contributor

Hi @F-Ali-Khan ! Any updates on this? :)

Comment thread utils/utils.py
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