Closed Chao1009 closed 2 months ago
Plan to move all the related scripts to benchmarks
To use it (assuming under dir epic
):
mkdir scan_test
cd scan_test
../bin/g4MaterialScan_to_csv -c ${DETECTOR_PATH}/epic_craterlake.xml --raw-output --phi=0. --eta=-4:4:0.01
../bin/g4MaterialScan_raw_plot_2d --phi=0. --eta=-4:4:0.01
Linear scale
../bin/g4MaterialScan_raw_plot_2d --eta=-4:4:0.01 --plot-scale=linear
Log scale
../bin/g4MaterialScan_raw_plot_2d --eta=-4:4:0.01
A zoomed-in plot for the tracking region
Linear scale
../bin/g4MaterialScan_raw_plot_2d --eta=-4:4:0.01 --z-min=-250 --z-max=250 --r-max=100 --x0-min=0 --x0-max=0.2 --lambda-min=0 --lambda-max=0.2 --plot-scale linear
Log scale
../bin/g4MaterialScan_raw_plot_2d --eta=-4:4:0.01 --z-min=-250 --z-max=250 --r-max=100
The scripts related to material scans will be moved to benchmarks in the following PR.
Briefly, what does this PR introduce?
A script to generate 2D plots
What kind of change does this PR introduce?
Please check if this PR fulfills the following:
Does this PR introduce breaking changes? What changes might users need to make to their code?
No
Does this PR change default behavior?
No