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

Add BDT process for the flow #327

Merged
merged 26 commits into from
Dec 20, 2024
Merged

Conversation

wuctlby
Copy link
Contributor

@wuctlby wuctlby commented Dec 3, 2024

Hi, @stefanopolitano. This is the available version for the post-processing, and I tested it locally. The code's framework is based on the work of Fabrizo, Biao, Mingyu, and other developers at DmesonAnalysis. Maybe it still needs to be implemented for other particles. Please let me know if you have other suggestions or comments, and then we can develop it further.

  • run_cutvar.sh
    the script controls the whole process, the only thing we need to do is modify this bash script

  • make_yaml_for_ml.py
    produces the .yaml file which is used when projecting the MC

  • cut_variation.py
    applies the BDT cut on data

  • proj_thn_mc.py
    projects the MC, including applying the BDT cut and the pT-weights

  • compute_efficiency.py
    computes the efficiency

  • get_vn_vs_mass.py
    extracts the v2 by the simultaneous fit

  • compute_frac_cut_var.py
    computes the fraction by the cut variation method

  • ComputeDataDriFrac_flow.py
    computes the fraction by data-driven method

  • ComputeV2vsFDFrac.py
    computes the v2 vs fraction by a linear fit

  • run_cutvar.py
    run the whole BDT process

#TODO:

  • uncorrelated cut
  • remove the make_yaml_for_ml.py
  • optimize the logic of the method of calculating the cut

@Marcellocosti
Copy link
Contributor

Thanks a lot @wuctlby, I'll test the code as soon as it is merged!

@wuctlby
Copy link
Contributor Author

wuctlby commented Dec 6, 2024

Thanks a lot @wuctlby, I'll test the code as soon as it is merged!

Thanks to you Marcel! it is very important to check with another particle. Btw, I am adding the method of the uncorrelated cut, and adding some debug print.

@stefanopolitano stefanopolitano merged commit 0b1df2f into DmesonAnalysers:master Dec 20, 2024
1 check 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.

3 participants