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

Merge.

parents 2eb641ec 639836c7
No related branches found
No related tags found
No related merge requests found
image: eicweb.phy.anl.gov:4567/containers/eic_container/eic_container:latest
image: eicweb.phy.anl.gov:4567/eic/npdet/npdet:latest
default:
artifacts:
......@@ -11,9 +11,9 @@ default:
# - .git/
# - datasets/.git/
before_script:
- git clone https://eicweb.phy.anl.gov/EIC/NPDet.git && mkdir NPDet/build
- cd NPDet/build && cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j10 && make install
- cd ../..
- git clone https://eicweb.phy.anl.gov/EIC/NPDet.git
# - cd NPDet/build && cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j10 && make install
# - cd ../..
stages:
- data_init
......@@ -49,6 +49,15 @@ cal_sim_1_dummy_test2:
script:
- echo "here we run simulation"
roman_pot_simu:
stage: simulate
tags:
- sodium
script:
- cp NPDet/src/GenericDetectors/trackers/compact/elements.xml ./.
- cp NPDet/src/GenericDetectors/trackers/compact/materials.xml ./.
- bash trackers/roman_pot_simu.sh
cal_test_1_dummy_test2:
stage: benchmarks
tags:
......@@ -89,21 +98,11 @@ track_test_1_dummy_test:
- bash trackers/dummy_test.sh
allow_failure: true
roman_pot_simu:
stage: simulate
tags:
- sodium
script:
- bash trackers/roman_pot_simu.sh
allow_failure: true
roman_pot_nhits:
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
......
......@@ -68,9 +68,8 @@
<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" />
<slice material="Silicon" thickness="0.3*mm" vis = "GreenVis" sensitive = "true" />
<slice material="Carbon" thickness="0.5*mm" vis = "BlueVis" />
<slice material="SiliconNitride" thickness="0.001*mm" vis="BlueVis" />
<slice material="Silicon" thickness="0.03*cm" vis="GreenVis" sensitive="true" />
<slice material="Vacuum" thickness="1.0*mm" vis="InvisibleWithDaughters" />
</layer>
</detector>
......
......@@ -3,6 +3,6 @@
source /usr/local/bin/thisdd4hep.sh
ddsim --runType batch -N 300 \
--inputFiles ../data/forward_ions.hepmc \
--compactFile ./roman_pot.xml \
--outputFile ../sim_output/roman_pot_out.root
--inputFiles ./data/forward_ions.hepmc \
--compactFile ./trackers/roman_pot.xml \
--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.
Finish editing this message first!
Please register or to comment