Search/Navigation:
Related:
SLAC/EPP/HPS Public
Jefferson Lab/Hall B/HPS Run Wiki
S30XL-LESA/LDMX
Instructions on how to make occupancy plots for data calibration files.
For a data file, run the following command on an EVIO calibration file.
java -cp <jar file> org.hps.evio.EvioToLcio -d <detector> -x hps-java/steering-files/src/main/resources/org/hps/steering/analysis/SensorOccupancyPlotsCalibrationSteeringFile.lcsim <EVIO file> -DoutputFile=<output file>
These commands will output a root file of both strip and cluster (physics) occupancies as a function of both channel number and position. Max sample plots are also output. Cluster (physics) occupancies are meaningless for calibration files.
In order to analyze, you need to clone the HPS-CODE repository.
git clone https://github.com/JeffersonLab/HPS-CODE
Run the following command on the output of the previous java command to produce plots.
Use option -s to only make strip occupancy plots and max occupancy plots
python HPS-CODE/ANALYSIS/SVT/MakeOccupancyPlots.py -s <output file base name> <input root file>
Output:
<output file base name>_stripoccupancy.pdf - strip occupancy at each sensor and max occupancy at each sensor
<output file base name>.root - same plots as the pdf file above but as root histograms
Order of "Sensor Number" is as follows (starting at 0):
0. module_L1b_halfmodule_axial_sensor0
1. module_L1b_halfmodule_stereo_sensor0
2. module_L1t_halfmodule_axial_sensor0
3. module_L1t_halfmodule_stereo_sensor0
4. module_L2b_halfmodule_axial_sensor0
5. module_L2b_halfmodule_stereo_sensor0
6. module_L2t_halfmodule_axial_sensor0
7. module_L2t_halfmodule_stereo_sensor0
8. module_L3b_halfmodule_axial_sensor0
9. module_L3b_halfmodule_stereo_sensor0
10. module_L3t_halfmodule_axial_sensor0
11. module_L3t_halfmodule_stereo_sensor0
12. module_L4b_halfmodule_axial_hole_sensor0
13. module_L4b_halfmodule_axial_slot_sensor0
14. module_L4b_halfmodule_stereo_hole_sensor0
15. module_L4b_halfmodule_stereo_slot_sensor0
16. module_L4t_halfmodule_axial_hole_sensor0
17. module_L4t_halfmodule_axial_slot_sensor0
18. module_L4t_halfmodule_stereo_hole_sensor0
19. module_L4t_halfmodule_stereo_slot_sensor0
20. module_L5b_halfmodule_axial_hole_sensor0
21. module_L5b_halfmodule_axial_slot_sensor0
22. module_L5b_halfmodule_stereo_hole_sensor0
23. module_L5b_halfmodule_stereo_slot_sensor0
24. module_L5t_halfmodule_axial_hole_sensor0
25. module_L5t_halfmodule_axial_slot_sensor0
26. module_L5t_halfmodule_stereo_hole_sensor0
27. module_L5t_halfmodule_stereo_slot_sensor0
28. module_L6b_halfmodule_axial_hole_sensor0
29. module_L6b_halfmodule_axial_slot_sensor0
30. module_L6b_halfmodule_stereo_hole_sensor0
31. module_L6b_halfmodule_stereo_slot_sensor0
32. module_L6t_halfmodule_axial_hole_sensor0
33. module_L6t_halfmodule_axial_slot_sensor0
34. module_L6t_halfmodule_stereo_hole_sensor0
35. module_L6t_halfmodule_stereo_slot_sensor0
For SVT NIM Paper
File: Calibration Run 007343
1 Comment
Tim Nelson
Nice!