Warning, file /epic-lfhcal-tbana/NewStructure/runHGCROCCalibration_FocalLaser_2026.sh was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004 source helperCalibHGCROC.sh
0005
0006 PlotBaseDir=..
0007 runList=../configs/FOCalTest2026/DataDB_LaserTestFocal_202609.csv
0008
0009
0010
0011
0012
0013 dataDirRaw=""
0014 dataDirOut=""
0015
0016 if [ $1 = "fbock" ]; then
0017 dataDirRaw=/media/fbock/FrediExt4TB/FOCAL_TB/202609_FocalLaser/HGCROCData
0018 dataDirOut=/media/fbock/FrediExt4TB/FOCAL_TB/202609_FocalLaser/HGCROCData
0019 PlotBaseDir=/media/fbock/FrediExt4TB/FOCAL_TB/202609_FocalLaser/
0020 runList=../configs/FOCalTest2026/DataDB_LaserTestFocal_202609.csv
0021 elif [ $1 = "fbockOct" ]; then
0022 dataDirRaw=/media/fbock/FrediExt4TB/FOCAL_TB/202610_FocalLaser/HGCROCData
0023 dataDirOut=/media/fbock/FrediExt4TB/FOCAL_TB/202610_FocalLaser/HGCROCData
0024 PlotBaseDir=/media/fbock/FrediExt4TB/FOCAL_TB/202610_FocalLaser/
0025 runList=../configs/FOCalTest2026/DataDB_LaserTestFocal_202610.csv
0026 else
0027 echo "Please select a known user name, otherwise I don't know where the data is"
0028 exit
0029 fi
0030
0031
0032
0033
0034 if [ $2 = "pedestal" ]; then
0035 if [ $3 = "Sept" ]; then
0036 runs='166 167 168 178 188 198 208 210 212 213 216 218 221 258 268 279 309 334 359 372 386 401 416 431'
0037
0038
0039
0040 else
0041 runs='1 2 477 478 504 718 719 745 762 763 789 815 816 843 1105 1106 1133'
0042 fi
0043 for runNr in $runs; do
0044 printf -v runNrPed "%03d" "$runNr"
0045 Pedestal $2 $runNrPed $dataDirRaw $dataDirOut Run$runNrPed pdf
0046 done
0047 fi
0048
0049
0050
0051
0052 if [ $2 = "toaPhase" ]; then
0053 if [ $3 = "SetA" ]; then
0054 runNrPed='168'
0055
0056 runs='169 170 171 172 173 174 175 176 177'
0057 elif [ $3 = "SetD" ]; then
0058 runNrPed='178'
0059 runs='179 180 181 182 183 184 185 186 187'
0060 fi
0061 for runNr in $runs; do
0062 ./DataPrep -d 1 -f -i $dataDirRaw/rawHGCROC_$runNr.root -o $dataDirOut/rawHGCROC_toaPhase_$runNr.root -O $PlotBaseDir/ToAPhaseExtraction/Run$runNr -r $runList -g $dataDirOut/rawHGCROC_wPed_$runNrPed.root
0063 done
0064 fi
0065
0066
0067
0068
0069 if [ $2 == "calibMuon" ]; then
0070 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0071 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0072
0073 if [ $4 == "SetA" ]; then
0074 runNrPed='168'
0075 runs='169 170 171 172 173 174 175 176 177'
0076 elif [ $4 == "SetD" ]; then
0077 runNrPed='178'
0078 runs='179 180 181 182 183 184 185 186 187'
0079 elif [ $4 == "SetE" ]; then
0080 runNrPed='188'
0081 runs='189 190 191 192 193 194 195 196 197'
0082 elif [ $4 == "SetQ" ]; then
0083 runNrPed='198'
0084 runs='199 200 201 202 203 204 205 206 207'
0085 elif [ $4 == "SetB" ]; then
0086 runNrPed='221'
0087 runs='222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257'
0088 elif [ $4 == "SetC" ]; then
0089 runNrPed='258'
0090 runs='259 260 261 262 263 264 265 266 267'
0091 elif [ $4 == "SetF" ]; then
0092 runNrPed='268'
0093 runs='269 270 271 272 273 274 275 276 277'
0094 elif [ $4 == "SetK" ]; then
0095 runNrPed='279'
0096 runs='280 281 282 283 284 285 286 287 288 289 290 291 292 293'
0097 elif [ $4 == "SetL" ]; then
0098 runNrPed='279'
0099 runs='294 295 296 297 298 299 300 301 302 303 304 305 306 307 308'
0100 elif [ $4 == "SetM" ]; then
0101 runNrPed='309'
0102 runs='310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333'
0103 elif [ $4 == "SetG" ]; then
0104 runNrPed='334'
0105 runs='335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 '
0106 elif [ $4 == "SetH" ]; then
0107 runNrPed='359'
0108 runs='360 361 362 363 364 365 366 367 368 369 370 371 '
0109 elif [ $4 == "SetI" ]; then
0110 runNrPed='372'
0111 runs='373 374 375 376 377 378 379 380 381 382 383 384 385 '
0112 elif [ $4 == "SetJ" ]; then
0113 runNrPed='386'
0114 runs='387 388 389 390 391 392 393 394 395 396 397 398 399 400 '
0115 elif [ $4 == "SetN" ]; then
0116 runNrPed='401'
0117 runs='402 403 404 405 406 407 408 409 410 411 412 413 414 415 '
0118 elif [ $4 == "SetO" ]; then
0119 runNrPed='416'
0120 runs='417 418 419 420 421 422 423 424 425 426 427 428 429 430 '
0121 elif [ $4 == "SetP" ]; then
0122 runNrPed='431'
0123 runs='432 433 434 435 436 437 438 439 440 441 442 443 444 445'
0124 elif [ $4 == "HVScan" ]; then
0125 runNrPeds='208 210 212 214 216 218 220'
0126 runs='209 211 213 215 217 219'
0127
0128
0129
0130 elif [ $4 = "Oct_RF4_T22" ]; then
0131 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0132 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0133
0134 runNrPed='002'
0135 runs=''
0136 rm runlist.txt
0137 for runNr in {003..476}; do
0138 echo "$runNr " >> runlist.txt
0139 done
0140 runs=`cat runlist.txt`
0141 elif [ $4 = "Oct_RF4_V43_T-27" ]; then
0142 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0143 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0144
0145 runNrPed='1106'
0146 runs=''
0147 echo "removing runlist"
0148 rm runlist.txt
0149 for runNr in {1107..1132}; do
0150 echo "$runNr " >> runlist.txt
0151 done
0152 for runNr in {1158..1169}; do
0153 echo "$runNr " >> runlist.txt
0154 done
0155 for runNr in {1194..1206}; do
0156 echo "$runNr " >> runlist.txt
0157 done
0158 for runNr in {1207..1232}; do
0159 echo "$runNr " >> runlist.txt
0160 done
0161 for runNr in {1239..1250}; do
0162 echo "$runNr " >> runlist.txt
0163 done
0164 for runNr in {1257..1281}; do
0165 echo "$runNr " >> runlist.txt
0166 done
0167 for runNr in {1301..1325}; do
0168 echo "$runNr " >> runlist.txt
0169 done
0170 for runNr in {1351..1375}; do
0171 echo "$runNr " >> runlist.txt
0172 done
0173 for runNr in {1396..1420}; do
0174 echo "$runNr " >> runlist.txt
0175 done
0176 runs=`cat runlist.txt`
0177 elif [ $4 = "Oct_RF4_V45_T-27" ]; then
0178 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0179 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0180
0181 runNrPed='1133'
0182 runs=''
0183 echo "removing runlist"
0184 echo $runs
0185 rm runlist.txt
0186 ls runlist.txt
0187 cat runlist.txt
0188 for runNr in {1134..1157}; do
0189 echo "$runNr " >> runlist.txt
0190 done
0191 for runNr in {1170..1193}; do
0192 echo "$runNr " >> runlist.txt
0193 done
0194 for runNr in {1233..1238}; do
0195 echo "$runNr " >> runlist.txt
0196 done
0197 for runNr in {1251..1256}; do
0198 echo "$runNr " >> runlist.txt
0199 done
0200 for runNr in {1282..1300}; do
0201 echo "$runNr " >> runlist.txt
0202 done
0203 for runNr in {1326..1350}; do
0204 echo "$runNr " >> runlist.txt
0205 done
0206 for runNr in {1376..1395}; do
0207 echo "$runNr " >> runlist.txt
0208 done
0209 for runNr in {1421..1443}; do
0210 echo "$runNr " >> runlist.txt
0211 done
0212 echo "after filling"
0213 runs=`cat runlist.txt`
0214 echo $runs
0215 elif [ $4 = "Oct_RF12_V43_T22" ]; then
0216 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0217 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0218
0219 runNrPed='478'
0220 runs=''
0221
0222 rm runlist.txt
0223 for runNr in {479..503}; do
0224 echo "$runNr " >> runlist.txt
0225 done
0226 for runNr in {530..554}; do
0227 echo "$runNr " >> runlist.txt
0228 done
0229 for runNr in {570..594}; do
0230 echo "$runNr " >> runlist.txt
0231 done
0232 for runNr in {610..634}; do
0233 echo "$runNr " >> runlist.txt
0234 done
0235 for runNr in {650..674}; do
0236 echo "$runNr " >> runlist.txt
0237 done
0238 for runNr in {695..706}; do
0239 echo "$runNr " >> runlist.txt
0240 done
0241 runs=`cat runlist.txt`
0242 elif [ $4 = "Oct_RF12_V45_T22" ]; then
0243 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0244 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0245
0246 runNrPed='504'
0247 runs=''
0248 rm runlist.txt
0249 for runNr in {505..529}; do
0250 echo "$runNr " >> runlist.txt
0251 done
0252 for runNr in {555..569}; do
0253 echo "$runNr " >> runlist.txt
0254 done
0255 for runNr in {595..609}; do
0256 echo "$runNr " >> runlist.txt
0257 done
0258 for runNr in {635..649}; do
0259 echo "$runNr " >> runlist.txt
0260 done
0261 for runNr in {675..694}; do
0262 echo "$runNr " >> runlist.txt
0263 done
0264 for runNr in {707..717}; do
0265 echo "$runNr " >> runlist.txt
0266 done
0267 runs=`cat runlist.txt`
0268 elif [ $4 = "Oct_RF12_V43_T-27" ]; then
0269 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0270 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0271
0272 runNrPed='816'
0273 runs=''
0274 rm runlist.txt
0275
0276 for runNr in {817..842}; do
0277 echo "$runNr " >> runlist.txt
0278 done
0279
0280
0281
0282
0283
0284
0285
0286
0287
0288
0289
0290
0291
0292
0293
0294 runs=`cat runlist.txt`
0295 elif [ $4 = "Oct_RF12_V45_T-27" ]; then
0296 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0297 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0298
0299 runNrPed='843'
0300 runs=''
0301 rm runlist.txt
0302 for runNr in {844..868}; do
0303 echo "$runNr " >> runlist.txt
0304 done
0305 for runNr in {894..918}; do
0306 echo "$runNr " >> runlist.txt
0307 done
0308 for runNr in {957..970}; do
0309 echo "$runNr " >> runlist.txt
0310 done
0311 for runNr in {996..1010}; do
0312 echo "$runNr " >> runlist.txt
0313 done
0314 for runNr in {1036..1059}; do
0315 echo "$runNr " >> runlist.txt
0316 done
0317 for runNr in {1085..1104}; do
0318 echo "$runNr " >> runlist.txt
0319 done
0320 runs=`cat runlist.txt`
0321 elif [ $4 = "Oct_RF9_V43_T22" ]; then
0322 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0323 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0324
0325 runNrPed='719'
0326 runs=''
0327 rm runlist.txt
0328 for runNr in {720..744}; do
0329 echo "$runNr " >> runlist.txt
0330 done
0331 runs=`cat runlist.txt`
0332 elif [ $4 = "Oct_RF9_V45_T22" ]; then
0333 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0334 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0335
0336 runNrPed='745'
0337 runs=''
0338 rm runlist.txt
0339 for runNr in {746..761}; do
0340 echo "$runNr " >> runlist.txt
0341 done
0342 runs=`cat runlist.txt`
0343 elif [ $4 = "Oct_RF9_V43_T-27" ]; then
0344 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0345 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0346
0347 runNrPed='763'
0348 runs=''
0349 rm runlist.txt
0350 for runNr in {764..788}; do
0351 echo "$runNr " >> runlist.txt
0352 done
0353 runs=`cat runlist.txt`
0354 elif [ $4 = "Oct_RF9_V45_T-27" ]; then
0355 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0356 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0357
0358 runNrPed='789'
0359 runs=''
0360 rm runlist.txt
0361 for runNr in {790..814}; do
0362 echo "$runNr " >> runlist.txt
0363 done
0364 runs=`cat runlist.txt`
0365 fi
0366
0367 echo $runs
0368 for runNr in $runs; do
0369 MuonCalibHGCROC $3 $runNrPed $runNr $dataDirRaw $dataDirOut Run_$runNr $badChannelMap $toaPhaseOffset
0370 done
0371 fi
0372
0373
0374
0375
0376 if [ $2 = "tot" ]; then
0377 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0378 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0379 cellList="../configs/FOCalTest2026/cellListActive_board2_laserScanFocalLab.txt"
0380 if [ $3 = "SetA" ]; then
0381 runNrPed='168'
0382 runs='173'
0383
0384 elif [ $3 = "SetD" ]; then
0385 runNrPed='178'
0386 runs='179 180 181 182 183 184 185 186 187'
0387 fi
0388
0389 for runNr in $runs; do
0390 ./HGCROCStudy -f -d 1 -V -C $dataDirRaw/rawHGCROC_wPed_wBC_$runNr.root -i $dataDirRaw/rawHGCROC_wPed_wBC_$runNr.root -o $dataDirOut/TOTvsMeanADC_Output_Run$runNr.root -O $PlotBaseDir/HGCROC_PlotsTotStudy/ -r $runList -l $cellList
0391 done
0392 fi
0393
0394
0395
0396
0397 if [ $2 = "wave" ]; then
0398 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0399 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0400 cellList="../configs/FOCalTest2026/cellListActive_board2_laserScanFocalLab.txt"
0401 if [ $3 = "SetA" ]; then
0402 runNrPed='168'
0403
0404 runs='169 170 171 172 173 174 175 176 177'
0405 elif [ $3 = "SetB" ]; then
0406 runNrPed='178'
0407 runs='179 180 181 182 183 184 185 186 187'
0408
0409
0410
0411 elif [ $3 = "Oct_RF4_T22" ]; then
0412 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0413 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0414
0415 runNrPed='002'
0416 runs=''
0417 rm runlist.txt
0418 for runNr in {003..476}; do
0419 echo "$runNr " >> runlist.txt
0420 done
0421 runs=`cat runlist.txt`
0422 elif [ $3 = "Oct_RF4_V43_T-27" ]; then
0423 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0424 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0425
0426 runNrPed='1106'
0427 runs=''
0428 rm runlist.txt
0429 for runNr in {1107..1132}; do
0430 echo "$runNr " >> runlist.txt
0431 done
0432
0433
0434
0435
0436
0437
0438
0439
0440
0441
0442
0443
0444
0445
0446
0447
0448
0449
0450
0451
0452
0453
0454
0455
0456 runs=`cat runlist.txt`
0457 elif [ $3 = "Oct_RF4_V45_T-27" ]; then
0458 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0459 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0460
0461 runNrPed='1133'
0462 runs=''
0463 rm runlist.txt
0464
0465
0466
0467
0468
0469
0470
0471
0472
0473
0474
0475
0476 for runNr in {1282..1300}; do
0477 echo "$runNr " >> runlist.txt
0478 done
0479 for runNr in {1326..1350}; do
0480 echo "$runNr " >> runlist.txt
0481 done
0482 for runNr in {1376..1395}; do
0483 echo "$runNr " >> runlist.txt
0484 done
0485 for runNr in {1421..1443}; do
0486 echo "$runNr " >> runlist.txt
0487 done
0488 runs=`cat runlist.txt`
0489
0490 elif [ $3 = "Oct_RF12_V43_T22" ]; then
0491 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0492 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0493
0494 runNrPed='478'
0495 runs=''
0496 rm runlist.txt
0497 for runNr in {479..503}; do
0498 echo "$runNr " >> runlist.txt
0499 done
0500 for runNr in {530..554}; do
0501 echo "$runNr " >> runlist.txt
0502 done
0503 for runNr in {570..594}; do
0504 echo "$runNr " >> runlist.txt
0505 done
0506 for runNr in {610..634}; do
0507 echo "$runNr " >> runlist.txt
0508 done
0509 for runNr in {650..674}; do
0510 echo "$runNr " >> runlist.txt
0511 done
0512 for runNr in {695..706}; do
0513 echo "$runNr " >> runlist.txt
0514 done
0515 runs=`cat runlist.txt`
0516 elif [ $3 = "Oct_RF12_V45_T22" ]; then
0517 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0518 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0519
0520 runNrPed='504'
0521 runs=''
0522 rm runlist.txt
0523 for runNr in {505..529}; do
0524 echo "$runNr " >> runlist.txt
0525 done
0526 for runNr in {555..569}; do
0527 echo "$runNr " >> runlist.txt
0528 done
0529 for runNr in {595..609}; do
0530 echo "$runNr " >> runlist.txt
0531 done
0532 for runNr in {635..649}; do
0533 echo "$runNr " >> runlist.txt
0534 done
0535 for runNr in {675..694}; do
0536 echo "$runNr " >> runlist.txt
0537 done
0538 for runNr in {707..717}; do
0539 echo "$runNr " >> runlist.txt
0540 done
0541 runs=`cat runlist.txt`
0542 elif [ $3 = "Oct_RF12_V43_T-27" ]; then
0543 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0544 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0545
0546 runNrPed='816'
0547 runs=''
0548 rm runlist.txt
0549 for runNr in {817..842}; do
0550 echo "$runNr " >> runlist.txt
0551 done
0552
0553
0554
0555
0556
0557
0558
0559
0560
0561
0562
0563
0564
0565
0566
0567 runs=`cat runlist.txt`
0568 elif [ $3 = "Oct_RF12_V45_T-27" ]; then
0569 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0570 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0571
0572 runNrPed='843'
0573 runs=''
0574 rm runlist.txt
0575 for runNr in {844..868}; do
0576 echo "$runNr " >> runlist.txt
0577 done
0578 for runNr in {894..918}; do
0579 echo "$runNr " >> runlist.txt
0580 done
0581 for runNr in {957..970}; do
0582 echo "$runNr " >> runlist.txt
0583 done
0584 for runNr in {996..1010}; do
0585 echo "$runNr " >> runlist.txt
0586 done
0587 for runNr in {1036..1059}; do
0588 echo "$runNr " >> runlist.txt
0589 done
0590 for runNr in {1085..1104}; do
0591 echo "$runNr " >> runlist.txt
0592 done
0593 runs=`cat runlist.txt`
0594 elif [ $3 = "Oct_RF9_V43_T22" ]; then
0595 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0596 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0597
0598 runNrPed='719'
0599 runs=''
0600 rm runlist.txt
0601 for runNr in {720..744}; do
0602 echo "$runNr " >> runlist.txt
0603 done
0604 runs=`cat runlist.txt`
0605 elif [ $3 = "Oct_RF9_V45_T22" ]; then
0606 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0607 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0608
0609 runNrPed='745'
0610 runs=''
0611 rm runlist.txt
0612 for runNr in {746..761}; do
0613 echo "$runNr " >> runlist.txt
0614 done
0615 runs=`cat runlist.txt`
0616 elif [ $3 = "Oct_RF9_V43_T-27" ]; then
0617 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0618 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0619
0620 runNrPed='763'
0621 runs=''
0622 rm runlist.txt
0623 for runNr in {764..788}; do
0624 echo "$runNr " >> runlist.txt
0625 done
0626 runs=`cat runlist.txt`
0627 elif [ $3 = "Oct_RF9_V45_T-27" ]; then
0628 toaPhaseOffset='../configs/FOCalTest2026/toAOffset_SetA.txt'
0629 badChannelMap=../configs/FOCalTest2026/dummyFocalTB.txt
0630
0631 runNrPed='789'
0632 runs=''
0633 rm runlist.txt
0634 for runNr in {790..814}; do
0635 echo "$runNr " >> runlist.txt
0636 done
0637 runs=`cat runlist.txt`
0638 fi
0639
0640
0641 for runNr in $runs; do
0642 time ./HGCROCStudy -d 1 -E 2 -f -w -i $dataDirRaw/rawHGCROC_wPed_wBC_$runNr.root -o $dataDirOut/rawHGCROC_wave_Run_$runNr.root -O $PlotBaseDir/HGCROC_PlotsWaveOffSetCorr/Run_$runNr -r $runList -t $toaPhaseOffset
0643 done
0644 fi
0645