#!/bin/bash #root FOPI/ClustErrStudy/runReco.C\(\"outfiles/long_tpc/seed_4711_geom/Cosmics_FopiMC_90ar85_1.raw.root\",90,\"ar\",85,false,0,0,0,1,300\) -q evts=0 distort=0 #new clustering cp tpc/reco/TpcClusterFinderSimple.cxx_joh tpc/reco/TpcClusterFinderSimple.cxx cp tpc/reco/TpcClusterFinderSimple.h_joh tpc/reco/TpcClusterFinderSimple.h touch tpc/reco/TpcClusterFinderSimple.h tpc/reco/TpcClusterFinderSimple.cxx make -C build #if [ 0 -eq 1 ] #then #simulation no reclustering root -l FOPI/runRecoFOPI_MC_mb_recl.C\(\"outfiles/new_clustering_no_distortions/Cosmics_FopiMC_86ar85_1111.raw.root\",86,\"ar\",85,1,${evts},false\) -q python FOPI/mberger/analyseFOPIReco_cosmics.py --filenames outfiles/new_clustering_no_distortions/Cosmics_FopiMC_86ar85_1111.reco.root --out anafiles/new_clustering_no_distort_no_recl --sim --batch --raw outfiles/new_clustering_no_distortions/Cosmics_FopiMC_86ar85_1111.raw.root #simulation with reclustering root -l FOPI/runRecoFOPI_MC_mb_recl.C\(\"outfiles/new_clustering_no_distortions/Cosmics_FopiMC_86ar85_1111.raw.root\",86,\"ar\",85,1,${evts},true\) -q python FOPI/mberger/analyseFOPIReco_cosmics.py --filenames outfiles/new_clustering_no_distortions/Cosmics_FopiMC_86ar85_1111_recl.reco.root --out anafiles/new_clustering_no_distort_recl_1cm --sim --batch --raw outfiles/new_clustering_no_distortions/Cosmics_FopiMC_86ar85_1111.raw.root #if [ ${distort} -eq 1] #then #simulation no reclustering distortion root -l FOPI/runRecoFOPI_MC_mb_recl.C\(\"outfiles/new_clustering_distortions/47mm/Cosmics_FopiMC_86ar85_1111.raw.root\",86,\"ar\",85,1,${evts},false\) -q python FOPI/mberger/analyseFOPIReco_cosmics.py --filenames outfiles/new_clustering_distortions/47mm/Cosmics_FopiMC_86ar85_1111.reco.root --out anafiles/new_clustering_distort47_no_recl --sim --batch --raw outfiles/new_clustering_distortions/47mm/Cosmics_FopiMC_86ar85_1111.raw.root #simulation with reclustering distortion root -l FOPI/runRecoFOPI_MC_mb_recl.C\(\"outfiles/new_clustering_distortions/47mm/Cosmics_FopiMC_86ar85_1111.raw.root\",86,\"ar\",85,1,${evts},true\) -q python FOPI/mberger/analyseFOPIReco_cosmics.py --filenames outfiles/new_clustering_distortions/47mm/Cosmics_FopiMC_86ar85_1111_recl.reco.root --out anafiles/new_clustering_distort47_recl_1cm --sim --batch --raw outfiles/new_clustering_distortions/47mm/Cosmics_FopiMC_86ar85_1111.raw.root #fi #data no reclustering root -l FOPI/runReco_mb.C\(3888,\"outfiles/new_clustering_data/\",false,${evts}\) -q python FOPI/mberger/analyseFOPIReco_cosmics.py --filenames outfiles/new_clustering_data/runC_3888_smoothed.reco.root --out anafiles/runC_3888_new_clustering_no_recl --thec --phic --batch #fi #data with reclustering root -l FOPI/runReco_mb.C\(3888,\"outfiles/new_clustering_data/\",true,${evts}\) -q python FOPI/mberger/analyseFOPIReco_cosmics.py --filenames outfiles/new_clustering_data/runC_3888_smoothed_recl.reco.root --out anafiles/runC_3888_new_clustering_recl_1cm --thec --phic --batch #fi #old clustering cp tpc/reco/TpcClusterFinderSimple.cxx_orig tpc/reco/TpcClusterFinderSimple.cxx cp tpc/reco/TpcClusterFinderSimple.h_orig tpc/reco/TpcClusterFinderSimple.h touch tpc/reco/TpcClusterFinderSimple.h tpc/reco/TpcClusterFinderSimple.cxx make -C build #if [ 1 -eq 1 ] #then #simulation no reclustering root -l FOPI/runRecoFOPI_MC_mb_recl.C\(\"outfiles/old_clustering_no_distortions/Cosmics_FopiMC_86ar85_1111.raw.root\",86,\"ar\",85,1,${evts},false\) -q python FOPI/mberger/analyseFOPIReco_cosmics.py --filenames outfiles/old_clustering_no_distortions/Cosmics_FopiMC_86ar85_1111.reco.root --out anafiles/old_clustering_no_distort_no_recl --sim --batch --raw outfiles/old_clustering_no_distortions/Cosmics_FopiMC_86ar85_1111.raw.root #simulation with reclustering root -l FOPI/runRecoFOPI_MC_mb_recl.C\(\"outfiles/old_clustering_no_distortions/Cosmics_FopiMC_86ar85_1111.raw.root\",86,\"ar\",85,1,${evts},true\) -q python FOPI/mberger/analyseFOPIReco_cosmics.py --filenames outfiles/old_clustering_no_distortions/Cosmics_FopiMC_86ar85_1111_recl.reco.root --out anafiles/old_clustering_no_distort_recl_1cm --sim --batch --raw outfiles/old_clustering_no_distortions/Cosmics_FopiMC_86ar85_1111.raw.root #data no reclustering root -l FOPI/runReco_mb.C\(3888,\"outfiles/old_clustering_data/\",false,${evts}\) -q python FOPI/mberger/analyseFOPIReco_cosmics.py --filenames outfiles/old_clustering_data/runC_3888_smoothed.reco.root --out anafiles/runC_3888_old_clustering_no_recl --thec --phic --batch #fi #data with reclustering root -l FOPI/runReco_mb.C\(3888,\"outfiles/old_clustering_data/\",true,${evts}\) -q python FOPI/mberger/analyseFOPIReco_cosmics.py --filenames outfiles/old_clustering_data/runC_3888_smoothed_recl.reco.root --out anafiles/runC_3888_old_clustering_recl_1cm --thec --phic --batch #simulation no reclustering distortion root -l FOPI/runRecoFOPI_MC_mb_recl.C\(\"outfiles/old_clustering_distortions/47mm/Cosmics_FopiMC_86ar85_1111.raw.root\",86,\"ar\",85,1,${evts},false\) -q python FOPI/mberger/analyseFOPIReco_cosmics.py --filenames outfiles/old_clustering_distortions/47mm/Cosmics_FopiMC_86ar85_1111.reco.root --out anafiles/old_clustering_distort47_no_recl --sim --batch --raw outfiles/old_clustering_distortions/47mm/Cosmics_FopiMC_86ar85_1111.raw.root #simulation with reclustering distortion root -l FOPI/runRecoFOPI_MC_mb_recl.C\(\"outfiles/old_clustering_distortions/47mm/Cosmics_FopiMC_86ar85_1111.raw.root\",86,\"ar\",85,1,${evts},true\) -q python FOPI/mberger/analyseFOPIReco_cosmics.py --filenames outfiles/old_clustering_distortions/47mm/Cosmics_FopiMC_86ar85_1111_recl.reco.root --out anafiles/old_clustering_distort47_recl_1cm --sim --batch --raw outfiles/old_clustering_distortions/47mm/Cosmics_FopiMC_86ar85_1111.raw.root #new clustering cp tpc/reco/TpcClusterFinderSimple.cxx_joh tpc/reco/TpcClusterFinderSimple.cxx cp tpc/reco/TpcClusterFinderSimple.h_joh tpc/reco/TpcClusterFinderSimple.h touch tpc/reco/TpcClusterFinderSimple.h tpc/reco/TpcClusterFinderSimple.cxx make -C build