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

Resolve "Job Failed #349161" - B0_far_forward_protons

parent d680136b
Branches
No related tags found
1 merge request!213Resolve "Job Failed #349161" - B0_far_forward_protons
{
// Ensure fmt is loaded
R__LOAD_LIBRARY(libfmt);
//
// top-level include-dir
gROOT->ProcessLine(".include include");
// setup a local build directory so we don't polute our source code with
// ROOT dictionaries etc. if desired
const char* build_dir = gSystem->Getenv("ROOT_BUILD_DIR");
if (build_dir) {
gSystem->SetBuildDir(build_dir);
}
}
......@@ -4,10 +4,12 @@
#include "HepMC3/Print.h"
#include <iostream>
#include<random>
#include<cmath>
#include <random>
#include <cmath>
#include <math.h>
#include <TMath.h>
#include <TRandom.h>
using namespace HepMC3;
......
......@@ -2,7 +2,9 @@
#include "TCanvas.h"
#include "TLegend.h"
#include "TH1D.h"
#include "THStack.h"
#include "TProfile.h"
#include "Math/Vector4D.h"
#include <iostream>
......
......@@ -2,7 +2,9 @@
#include "TCanvas.h"
#include "TLegend.h"
#include "TH1D.h"
#include "THStack.h"
#include "TProfile.h"
#include "Math/Vector4D.h"
#include <iostream>
......
......@@ -3,4 +3,5 @@ B0_far_forward_protons:
stage: run
timeout: 24 hours
script:
- compile_analyses.py far_forward
- bash benchmarks/far_forward/far_forward_protons.sh
......@@ -70,7 +70,7 @@ if [[ -z "${REC_ONLY}" && -z "${ANALYSIS_ONLY}" ]] ;
then
## generate the input events
root -b -q "benchmarks/far_forward/scripts/gen_far_forward_protons.cxx(${JUGGLER_N_EVENTS}, \"${JUGGLER_FILE_NAME_TAG}.hepmc\")"
root -b -q "benchmarks/far_forward/analysis/gen_far_forward_protons.cxx+(${JUGGLER_N_EVENTS}, \"${JUGGLER_FILE_NAME_TAG}.hepmc\")"
if [[ "$?" -ne "0" ]] ; then
echo "ERROR running script"
exit 1
......@@ -108,19 +108,19 @@ mkdir -p results/far_forward/B0
mkdir -p results/far_forward/RomanPot
mkdir -p results/far_forward/OffMTracker
root -b -q "benchmarks/far_forward/scripts/print_far_forward_protons.cxx(\"${JUGGLER_REC_FILE}\")"
root -b -q "benchmarks/far_forward/analysis/print_far_forward_protons.cxx+(\"${JUGGLER_REC_FILE}\")"
if [[ "$?" -ne "0" ]] ; then
echo "ERROR running root script"
exit 1
fi
root -b -q "benchmarks/far_forward/scripts/rec_far_forward_protons.cxx(\"${JUGGLER_REC_FILE}\")"
root -b -q "benchmarks/far_forward/analysis/rec_far_forward_protons.cxx+(\"${JUGGLER_REC_FILE}\")"
if [[ "$?" -ne "0" ]] ; then
echo "ERROR running root script"
exit 1
fi
root -b -q "benchmarks/far_forward/scripts/hits_far_forward_protons.cxx(\"${JUGGLER_SIM_FILE}\")"
root -b -q "benchmarks/far_forward/analysis/hits_far_forward_protons.cxx+(\"${JUGGLER_SIM_FILE}\")"
if [[ "$?" -ne "0" ]] ; then
echo "ERROR running root script"
exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment