Draft:Scripts for sbit mapping test

Yechan Kang requested to merge feature/sbit_mapping_test into main


This merge request will add the scripts for sbit mapping test. There are 2 scripts. And following lines for description for each script.

The cluster_scan.py is the script that should be running inside of CTP7.

python cluster_scan.py --nOH NUMBER_OF_OH_TO_SCAN \ 
                       --nEvent NUMBER_OF_EVENT_FOR_DATA_TAKING \
                       --threshold THRESHOLD_VALUE_TO_USE_DURING_DATA_TAKING

The run_cluster_scan.py is the wrapper for the previous script.

python run_cluster_scan.py --nOH NUMBER_OF_OH_TO_SCAN \ 
                           --nEvent NUMBER_OF_EVENT_FOR_DATA_TAKING \
                           --threshold THRESHOLD_VALUE_TO_USE_DURING_DATA_TAKING \
                           --CTP7 CTP7_HOST_NAME \
                           --data_path OUTPUT_FILE_DIRECTORY \

The default CTP7_HOST_NAME is gempro@gem-shelf01-amc02.

Related Issue

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)


  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
Edited by Yechan Kang

Merge request reports