Skip to content
Snippets Groups Projects
Commit a538e008 authored by Tom Polakovic's avatar Tom Polakovic
Browse files

CI setup.

parent 77df4830
Branches
Tags
No related merge requests found
......@@ -89,11 +89,21 @@ track_test_1_dummy_test:
- bash trackers/dummy_test.sh
allow_failure: true
simple_tracking_test:
roman_pot_simu:
stage: simulate
tags:
- sodium
script:
- bash trackers/roman_pot_simu.sh
allow_failure: true
roman_pot_benchmark:
stage: benchmarks
tags:
- sodium
script:
- cp NPDet/src/GenericDetectors/trackers/compact/elements.xml trackers/.
- cp NPDet/src/GenericDetectors/trackers/compact/materials.xml trackers/.
- root -b -q trackers/simple_tracking.cxx+
allow_failure: true
......
......@@ -64,8 +64,8 @@
<detectors>
<detector id = "1" name = "MyRomanPot" type = "RomanPot" readout =
"ForwardRomanPotHits" vis = "InvisibleWithDaughters">
<dimensions x = "3.0*cm" y = "3.0*cm" delta = "0.5*cm" />
<frame x = "10.0*cm" y = "5.0*cm" z = "2*cm" />
<dimensions x = "5.0*cm" y = "5.0*cm" delta = "0.05*mm" />
<frame x = "20.0*cm" y = "10.0*cm" z = "2*cm" />
<position z_offset = "20.0*m" rotation = "false" vmax = "10*cm" v = "0.5*cm" />
<layer repeat = "5">
<slice material="Carbon" thickness="0.5*mm" vis = "BlueVis" />
......
#!/bin/bash
ddsim --runType batch -N 100 \
ddsim --runType batch -N 300 \
--inputFiles ../data/forward_ions.hepmc \
--compactFile ./roman_pot.xml \
--outputFile ./roman_pot_out.root
--outputFile ../sim_output/roman_pot_out.root
......@@ -29,7 +29,7 @@ R__LOAD_LIBRARY(libDDG4IO.so)
//#include "lcio2/TrackerRawDataData.h"
//#include "lcio2/TrackerRawData.h"
void simple_tracking(const char* fname = "sim_output/roman_pot_out.root"){
void simple_tracking(const char* fname = "../sim_output/roman_pot_out.root"){
ROOT::EnableImplicitMT(); // Tell ROOT you want to go parallel
//using namespace lcio2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment