Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-14 07:55:48

0001 #! /bin/bash
0002 
0003 #include common helper functions to make it easier across years
0004 source helperCalibHGCROC.sh
0005 
0006 # base settings
0007 PlotBaseDir=..
0008 runList=../configs/TB2026/DataTakingDB_TBSPSH2_202605_HGCROC.csv
0009 dataDirRaw=""
0010 dataDirOut=""
0011 
0012 #set up your username and location for input & output
0013 if [ $1 = "fbockTB" ]; then 
0014   dataDirRaw=/media/fbock/ALICE2-4TB/202605_SPSH2/HGCROCData
0015   dataDirOut=/media/fbock/ALICE2-4TB/202605_SPSH2/HGCROCData
0016   PlotBaseDir=/media/fbock/ALICE2-4TB/202605_SPSH2/
0017 else
0018   echo "Please select a known user name, otherwise I don't know where the data is"
0019   exit
0020 fi
0021 
0022 # real running starts here
0023 if [ $2 = "ParamScan" ]; then 
0024   badChannelMap=../configs/TB2026/badChannel_HGCROC_SPSTB2026_OnlyCenter2x4.txt
0025   toAOffSetCalib=../configs/TB2026/ToAOffsets_TBSPS2026_ParamScan_1.csv
0026 #   runs='295 298 300 302 304 306 308 310 329 331 333 335 337 339 341 343 345 347 349 351 353 355 357 359 361 363 366 369' 
0027   runs='329' 
0028   for runNr in $runs; do 
0029     HGCInv $3 $runNr $dataDirRaw $dataDirOut Run_$runNr $4
0030   done
0031 fi