Skip to content
Snippets Groups Projects
Commit 683a2559 authored by brusale's avatar brusale
Browse files

run all configurations at once

parent 0abeba66
Branches load-from-root
No related tags found
No related merge requests found
......@@ -125,10 +125,22 @@ if $recompile ; then
cd ${CURRENT_DIR}
fi
score_thresholds=(0.1 0.2 0.3 0.4 0.5)
score_labels=("0p1" "0p2" "0p3" "0p4" "0p5")
frac_thresholds=(0.95 0.85 0.75 0.65)
frac_labels=("0p95" "0p85" "0p75" "0p65")
if $run_merging ; then
print_step "Running the cluster merging"
./build/COCOATruth /ceph/abrusamolino/PFTruthSamples/COCOATests/SingleTau_Geant4_FlatEtaPt.root 0.85 0.5
cp /ceph/abrusamolino/PFTruthSamples/COCOATests/SingleTau_Geant4_FlatEtaPt.root /ceph/abrusamolino/PFTruthSamples/COCOATests/SingleTau_Geant4_FlatEtaPt_0p85_0p5.root
for i in "${!frac_thresholds[@]}"; do
for j in "${!score_thresholds[@]}"; do
INPUT_FILE="/ceph/abrusamolino/PFTruthSamples/COCOA_wBackscattering/SingleElectron_Geant4_FlatEtaPt.root"
OUTPUT_FILE="/ceph/abrusamolino/PFTruthSamples/COCOA_wBackscattering/SingleElectron_Geant4_FlatEtaPt_${frac_labels[i]}_${score_labels[j]}.root"
./build/COCOATruth ${INPUT_FILE} ${frac_thresholds[i]} ${score_thresholds[j]}
cp ${INPUT_FILE} ${OUTPUT_FILE}
print_step "Saved output file to ${OUTPUT_FILE}"
done
done
fi
print_step "Done"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment