Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions calibrations/tpc_calibration/fillGainMap/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# TPC Gain & IBF maps generation macro.
This macro is generating maps of Gain and IBF for the sPHENIX TPC.

## Input.
As an input the macro uses calibration measurements from Yele University for two modules IROC 35 & 38:
- IROC 35

<p float="left">
<img src="./Plots/h_map_anode_iroc_35.png" width="300" />
<img src="./Plots/h_map_measuredibf_iroc_35.png" width="300" />
</p>

- IROC 38

<p float="left">
<img src="./Plots/h_map_anode_iroc_38.png" width="300" />
<img src="./Plots/h_map_measuredibf_iroc_38.png" width="300" />
</p>

## Output.
The macro writes the file *./Files/IBF_Map.root* with the "fake" maps for sPHENIX TPC readout:
<p float="left">
<img src="./Plots/h_map_modules_anode.png" width="250" />
<img src="./Plots/h_map_modules_measuredibf.png" width="250" />
</p>

## Running macro.

- Setup local environment: ```source /opt/sphenix/core/bin/sphenix_setup.sh -n```
- Run in the batch mode: ```./makeMap.py -b```
452 changes: 452 additions & 0 deletions calibrations/tpc_calibration/fillGainMap/makeMap.py

Large diffs are not rendered by default.