-
Notifications
You must be signed in to change notification settings - Fork 23
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…omputeDataDriFrac_flow.py
The flow with BDT
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 MCcut_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: