diff --git a/.rootlogon.C b/.rootlogon.C index cb4b2897b06c5d481a87d4e61201c60829e15e88..5ce6226828996f7cf8493ce4b736d6ff82c6a826 100644 --- a/.rootlogon.C +++ b/.rootlogon.C @@ -4,14 +4,13 @@ R__LOAD_LIBRARY(fmt) - // Setting for Graphs - gROOT->SetStyle("Plain"); - gStyle->SetOptFit(1); - gStyle->SetLineWidth(2); - gStyle->SetPadTickX(1); - gStyle->SetPadTickY(1); - gStyle->SetPadGridX(1); - gStyle->SetPadGridY(1); - gStyle->SetPadLeftMargin(0.14); - + // Setting for Graphs + gROOT->SetStyle("Plain"); + gStyle->SetOptFit(1); + gStyle->SetLineWidth(2); + gStyle->SetPadTickX(1); + gStyle->SetPadTickY(1); + gStyle->SetPadGridX(1); + gStyle->SetPadGridY(1); + gStyle->SetPadLeftMargin(0.14); } diff --git a/benchmarks/b0_tracker/scripts/b0_tracker_hits.cxx b/benchmarks/b0_tracker/analysis/b0_tracker_hits.cxx similarity index 100% rename from benchmarks/b0_tracker/scripts/b0_tracker_hits.cxx rename to benchmarks/b0_tracker/analysis/b0_tracker_hits.cxx diff --git a/benchmarks/b0_tracker/config.yml b/benchmarks/b0_tracker/config.yml index c752d9779f32d92e4a529f3217d293848ff06e47..1c6970efb1a39e9f4fd8732c39ffda9709d853d9 100644 --- a/benchmarks/b0_tracker/config.yml +++ b/benchmarks/b0_tracker/config.yml @@ -2,6 +2,7 @@ sim:b0_tracker: stage: simulate extends: .det_benchmark script: + - compile_analyses.py b0_tracker - bash benchmarks/b0_tracker/forward_protons.sh bench:b0_tracker: diff --git a/benchmarks/b0_tracker/forward_protons.sh b/benchmarks/b0_tracker/forward_protons.sh index d78b81b7f0820cce03e96ab1e555209e6e68eb74..f0a6be991dbbb99286629a85fbb127b15586c3f2 100755 --- a/benchmarks/b0_tracker/forward_protons.sh +++ b/benchmarks/b0_tracker/forward_protons.sh @@ -1,7 +1,5 @@ #!/bin/bash -source .local/bin/env.sh - if [[ ! -n "${JUGGLER_DETECTOR}" ]] ; then export JUGGLER_DETECTOR="topside" fi @@ -43,7 +41,7 @@ mkdir -p results rootls -t ${JUGGLER_SIM_FILE} # Plot the input events -root -b -q "benchmarks/b0_tracker/scripts/b0_tracker_hits.cxx(\"${JUGGLER_SIM_FILE}\")" +root -b -q "benchmarks/b0_tracker/analysis/b0_tracker_hits.cxx+(\"${JUGGLER_SIM_FILE}\")" if [[ "$?" -ne "0" ]] ; then echo "ERROR running script: events" exit 1