Skip to content
Snippets Groups Projects
Commit b8f3ad15 authored by Theodore Efremov's avatar Theodore Efremov :hibiscus:
Browse files

[AlPhaPha] added data managment bash script

parent d5895564
No related branches found
No related tags found
No related merge requests found
Pipeline #387551 passed
......@@ -33,6 +33,6 @@ rule npanalysis:
output:
f"{phy_directory}/{{name}}.root"
shell:
"npanalysis -T {input} RawTree -C Calibration.txt -D pista_e850_2024.detector -O {output}"
"npanalysis -T {input} RawTree -C Calibration.txt -D pista_e850_2024_alex.detector -O {output}"
......@@ -20,7 +20,7 @@ snakemake --cores 30 --forceall --keep-incomplete --keep-going --rerun-incomplet
echo "- snakemake executed successfully!"
echo "- Merging file..."
OName="\"Run${RUN_NUMBER}ZSpline\""
OName="\"Run${RUN_NUMBER}AoQ\""
OPATH="\"root/analysis\""
Path="\"../DataMacro/output/analysis/run_${RUN_NUMBER}/run_raw_${RUN_NUMBER}_\""
......
#include <TChain.h>
TChain* chain;
void DrawAoQ(int sec=8, float time_offset=0){
chain = new TChain("PhysicsTree");
//chain->Add("../../root/analysis/run_48_calib.root");
//chain->Add("../../root/analysis/run_48.root");
chain->Add("../../root/analysis/run_55.root");
chain->Add("../../root/analysis/Run247AoQ.root");
// T13 //
TString to_draw = Form("FF_Brho/3.10761* (FF_T13+%f)/FF_D13*29.9792*sqrt(1-pow(FF_D13,2)/(pow((FF_T13+%f)*29.9792,2)))>>h(1000,2.5,4.5)",time_offset,time_offset) ;
......
for run in {245..252}; do
root -l -q "./Secator.C(\"/home/efremovt/Data/2to_SSD/2024/np_raw/run_raw_"$run".root\",\"output/run_"$run"/\", 30)"
wait
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment