Skip to content
Snippets Groups Projects
Commit 96bc8ac8 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

b0_tracker debugging

parent ecae0203
No related branches found
No related tags found
1 merge request!102b0_tracker debugging
...@@ -4,14 +4,13 @@ ...@@ -4,14 +4,13 @@
R__LOAD_LIBRARY(fmt) R__LOAD_LIBRARY(fmt)
// Setting for Graphs // Setting for Graphs
gROOT->SetStyle("Plain"); gROOT->SetStyle("Plain");
gStyle->SetOptFit(1); gStyle->SetOptFit(1);
gStyle->SetLineWidth(2); gStyle->SetLineWidth(2);
gStyle->SetPadTickX(1); gStyle->SetPadTickX(1);
gStyle->SetPadTickY(1); gStyle->SetPadTickY(1);
gStyle->SetPadGridX(1); gStyle->SetPadGridX(1);
gStyle->SetPadGridY(1); gStyle->SetPadGridY(1);
gStyle->SetPadLeftMargin(0.14); gStyle->SetPadLeftMargin(0.14);
} }
...@@ -2,6 +2,7 @@ sim:b0_tracker: ...@@ -2,6 +2,7 @@ sim:b0_tracker:
stage: simulate stage: simulate
extends: .det_benchmark extends: .det_benchmark
script: script:
- compile_analyses.py b0_tracker
- bash benchmarks/b0_tracker/forward_protons.sh - bash benchmarks/b0_tracker/forward_protons.sh
bench:b0_tracker: bench:b0_tracker:
......
#!/bin/bash #!/bin/bash
source .local/bin/env.sh
if [[ ! -n "${JUGGLER_DETECTOR}" ]] ; then if [[ ! -n "${JUGGLER_DETECTOR}" ]] ; then
export JUGGLER_DETECTOR="topside" export JUGGLER_DETECTOR="topside"
fi fi
...@@ -43,7 +41,7 @@ mkdir -p results ...@@ -43,7 +41,7 @@ mkdir -p results
rootls -t ${JUGGLER_SIM_FILE} rootls -t ${JUGGLER_SIM_FILE}
# Plot the input events # 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 if [[ "$?" -ne "0" ]] ; then
echo "ERROR running script: events" echo "ERROR running script: events"
exit 1 exit 1
......
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