Last active
October 24, 2022 15:26
-
-
Save mconcas/fd541451761b309f33b663a4497d1bf7 to your computer and use it in GitHub Desktop.
Run three different configuration of reconstruction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# global params | |
DATA_LIST="${1}" | |
# global arguments | |
GLO_ARG="--shm-segment-size 24000000000" | |
# raw arguments | |
CLPAR_RAW=" --configKeyValues ITSClustererParam.maxBCDiffToMaskBias=-10;ITSClustererParam.maxBCDiffToSquashBias=-10;fastMultConfig.cutMultClusLow=-1;fastMultConfig.cutMultClusHigh=-1;fastMultConfig.cutMultVtxHigh=-1;ITSVertexerParam.phiCut=0.5;ITSVertexerParam.clusterContributorsCut=3;ITSVertexerParam.tanLambdaCut=0.2;" | |
# mask arguments | |
CLPAR_MSK=" --configKeyValues ITSClustererParam.maxBCDiffToMaskBias=10;ITSClustererParam.maxBCDiffToSquashBias=-10;ITSClustererParam.maxSOTMUS=8.;fastMultConfig.cutMultClusLow=-1;fastMultConfig.cutMultClusHigh=-1;fastMultConfig.cutMultVtxHigh=-1;ITSVertexerParam.phiCut=0.5;ITSVertexerParam.clusterContributorsCut=3;ITSVertexerParam.tanLambdaCut=0.2;" | |
# squash arguments | |
CLPAR_SQ3=" --configKeyValues ITSClustererParam.maxBCDiffToMaskBias=-10;ITSClustererParam.maxBCDiffToSquashBias=10;ITSClustererParam.maxSOTMUS=8.;fastMultConfig.cutMultClusLow=-1;fastMultConfig.cutMultClusHigh=-1;fastMultConfig.cutMultVtxHigh=-1;ITSVertexerParam.phiCut=0.5;ITSVertexerParam.clusterContributorsCut=3;ITSVertexerParam.tanLambdaCut=0.2;" | |
# run raw | |
echo "running reconstruction raw" | |
o2-raw-tf-reader-workflow $GLO_ARG --input-data $DATA_LIST --onlyDet ITS -b --delay 0.01 --max-cached-files 10 | \ | |
o2-itsmft-stf-decoder-workflow $GLO_ARG --no-clusters --digits -b | \ | |
o2-its-reco-workflow $GLO_ARG --disable-mc --digits-from-upstream --trackerCA $CLPAR_RAW --tracking-mode sync_misaligned -b --run > raw.log | |
mv o2trac_its.root o2trac_its_raw.root | |
mv o2clus_its.root o2clus_its_raw.root | |
# run mask | |
echo "running reconstruction with masking" | |
o2-raw-tf-reader-workflow $GLO_ARG --input-data $DATA_LIST --onlyDet ITS -b --delay 0.01 --max-cached-files 10 | \ | |
o2-itsmft-stf-decoder-workflow $GLO_ARG --no-clusters --digits -b | \ | |
o2-its-reco-workflow $GLO_ARG --disable-mc --digits-from-upstream --trackerCA $CLPAR_MSK --tracking-mode sync_misaligned -b --run > mask.log | |
mv o2trac_its.root o2trac_its_mask.root | |
mv o2clus_its.root o2clus_its_mask.root | |
# run squash | |
echo "running reconstruction with squashing" | |
o2-raw-tf-reader-workflow $GLO_ARG --input-data $DATA_LIST --onlyDet ITS -b --delay 0.01 --max-cached-files 10 | \ | |
o2-itsmft-stf-decoder-workflow $GLO_ARG --no-clusters --digits -b | \ | |
o2-its-reco-workflow $GLO_ARG --disable-mc --digits-from-upstream --trackerCA $CLPAR_SQ3 --tracking-mode sync_misaligned -b --run > squash.log | |
mv o2trac_its.root o2trac_its_sq3.root | |
mv o2clus_its.root o2clus_its_sq3.root | |
# epilog | |
echo "done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fix cluster filename