Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:15:44

0001 #! /bin/bash
0002 
0003 dataDir=""
0004 if [ $1 = "fbock" ]; then 
0005         dataDir=/media/fbock/Samsung_T5/LFHCAL_TB/202408_PST09/CAENdata/MuonRuns
0006         dataRaw=/home/fbock/EIC/Analysis/LFHCalTB2024/CAENdata/MuonRuns
0007 elif [ $1 = "fbockExt" ]; then 
0008         dataDir=/media/fbock/T7/CAEN_Sept24_TB_PS
0009         dataRaw=/media/fbock/Samsung_T5/LFHCAL_TB/202408_PST09/CAENdata
0010 else
0011         echo "Please select a known user name, otherwise I don't know where the data is"
0012         exit
0013 fi
0014 
0015 if [ $2 == "single" ]; then 
0016 #   runs='244'
0017 #   runs='271'
0018   runs='492 505'
0019   for runNr in $runs; do 
0020     ./Analyse -c $dataDir/Run$runNr\_list.txt -o $dataRaw/raw_$runNr.root -d 1 -f -m ../configs/mappingFile_202409_CAEN.txt -r ../configs/DataTakingDB_202409_CAEN.csv
0021   done;
0022 elif [ $2 == "electronsA" ]; then 
0023   runs='251 252 254 257 258 ' 
0024   for runNr in $runs; do 
0025     ./Analyse -c $dataDir/Run$runNr\_list.txt -o $dataRaw/ElectronRuns/raw_$runNr.root -d 1 -f -m ../configs/mappingFile_202409_CAEN.txt -r ../configs/DataTakingDB_202409_CAEN.csv
0026   done;
0027 elif [ $2 == "electronsB" ]; then 
0028   runs='333 334 336 337 338 ' 
0029   for runNr in $runs; do 
0030     ./Analyse -c $dataDir/Run$runNr\_list.txt -o $dataRaw/ElectronRuns/raw_$runNr.root -d 1 -f -m ../configs/mappingFile_202409_CAEN.txt -r ../configs/DataTakingDB_202409_CAEN.csv
0031   done;
0032 elif [ $2 == "electronsC" ]; then 
0033   runs='379 380 381 384 387 ' 
0034   for runNr in $runs; do 
0035     ./Analyse -c $dataDir/Run$runNr\_list.txt -o $dataRaw/ElectronRuns/raw_$runNr.root -d 1 -f -m ../configs/mappingFile_202409_CAEN.txt -r ../configs/DataTakingDB_202409_CAEN.csv
0036   done;
0037 elif [ $2 == "electronsD" ]; then 
0038   runs='421 422 429 430 432 ' 
0039   for runNr in $runs; do 
0040     ./Analyse -c $dataDir/Run$runNr\_list.txt -o $dataRaw/ElectronRuns/raw_$runNr.root -d 1 -f -m ../configs/mappingFile_202409_CAEN.txt -r ../configs/DataTakingDB_202409_CAEN.csv
0041   done;
0042 elif [ $2 == "electronsE" ]; then 
0043   runs='466 467 468 471 472 ' 
0044   for runNr in $runs; do 
0045     ./Analyse -c $dataDir/Run$runNr\_list.txt -o $dataRaw/ElectronRuns/raw_$runNr.root -d 1 -f -m ../configs/mappingFile_202409_CAEN.txt -r ../configs/DataTakingDB_202409_CAEN.csv
0046   done;
0047 elif [ $2 == "electronsF" ]; then 
0048   runs='494 495 497 502 504 ' 
0049   for runNr in $runs; do 
0050     ./Analyse -c $dataDir/Run$runNr\_list.txt -o $dataRaw/ElectronRuns/raw_$runNr.root -d 1 -f -m ../configs/mappingFile_202409_CAEN.txt -r ../configs/DataTakingDB_202409_CAEN.csv
0051   done;
0052 elif [ $2 == "electronsG" ]; then 
0053   runs='513 514 516 517 520 ' 
0054   for runNr in $runs; do 
0055     ./Analyse -c $dataDir/Run$runNr\_list.txt -o $dataRaw/ElectronRuns/raw_$runNr.root -d 1 -f -m ../configs/mappingFile_202409_CAEN.txt -r ../configs/DataTakingDB_202409_CAEN.csv
0056   done;
0057 elif [ $2 == "electronsH" ]; then 
0058   runs='529 530 533 535 538 541 '
0059   for runNr in $runs; do 
0060     ./Analyse -c $dataDir/Run$runNr\_list.txt -o $dataRaw/ElectronRuns/raw_$runNr.root -d 1 -f -m ../configs/mappingFile_202409_CAEN.txt -r ../configs/DataTakingDB_202409_CAEN.csv
0061   done;
0062 elif [ $2 == "hadronsA" ]; then 
0063   runs='261 264 265 269 270 272 274 275 ' 
0064   for runNr in $runs; do 
0065     ./Analyse -c $dataDir/Run$runNr\_list.txt -o $dataRaw/HadronRuns/raw_$runNr.root -d 1 -f -m ../configs/mappingFile_202409_CAEN.txt -r ../configs/DataTakingDB_202409_CAEN.csv
0066   done;
0067 elif [ $2 == "pedandmuD1" ]; then 
0068   runs='412 417 420 '
0069   for runNr in $runs; do 
0070     ./Analyse -c $dataDir/Run$runNr\_list.txt -o $dataRaw/MuonRuns/raw_$runNr.root -d 1 -f -m ../configs/mappingFile_202409_CAEN.txt -r ../configs/DataTakingDB_202409_CAEN.csv
0071   done;
0072 
0073 else 
0074   runs='244     250     271     277     282     283     303     305     306     307     308     309     311     312     315     316     322     331     332     369     370     371     374     375     376     377     404     405     408     410     412     417     420     454     456     457     460     463     464     465     476     478     481     486     489     492     505     506     507     508     510     511     521     524     525     526     527     528     552     553     554     559' 
0075   for runNr in $runs; do 
0076     ./Analyse -c $dataDir/Run$runNr\_list.txt -o $dataRaw/raw_$runNr.root -d 1 -f -m ../configs/mappingFile_202409_CAEN.txt -r ../configs/DataTakingDB_202409_CAEN.csv
0077   done;
0078 fi