Skip to content

Commit

Permalink
TimesliceExample finally runs on Podio v0.99
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwbrei committed May 2, 2024
1 parent f34e05f commit 381c76f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ccpp-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
branches: [ master ]

jobs:
build:
name: Build JANA2 with all options enabled
jana2_env_everything_except_cuda:
name: Build JANA2 with all dependencies except CUDA
runs-on: ubuntu-latest
container:
image: nbrei/jana2_env_everything_except_cuda
Expand Down Expand Up @@ -52,11 +52,13 @@ jobs:
run: |
echo "--- Running TimesliceExample with simple topology ------------------------------"
export JANA_PLUGIN_PATH=$GITHUB_WORKSPACE/Linux/plugins
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/Linux/lib:/app/podio/install/lib:$LD_LIBRARY_PATH
$GITHUB_WORKSPACE/Linux/bin/jana -Pplugins=TimesliceExample -Pjana:nevents=100 events.root
- name: TimesliceExample with complex (timeslice) topology
run: |
echo "--- Running TimesliceExample with complex topology ------------------------------"
export JANA_PLUGIN_PATH=$GITHUB_WORKSPACE/Linux/plugins
export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/Linux/lib:/app/podio/install/lib:$LD_LIBRARY_PATH
$GITHUB_WORKSPACE/Linux/bin/jana -Pplugins=TimesliceExample -Pjana:nevents=100 timeslices.root
2 changes: 1 addition & 1 deletion src/examples/TimesliceExample/MyTimesliceSplitter.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ struct MyTimesliceSplitter : public JEventUnfolder {
event_clusters_out->push_back(m_timeslice_clusters_in()->at(child_idx));

auto event_info_out = std::make_unique<EventInfoCollection>();
event_info_out->push_back(EventInfo(event_nr, timeslice_nr, 0));
event_info_out->push_back(MutableEventInfo(event_nr, timeslice_nr, 0));

LOG_DEBUG(GetLogger()) << "MyTimesliceSplitter: Timeslice " << parent.GetEventNumber()
<< ", Event " << child.GetEventNumber()
Expand Down

0 comments on commit 381c76f

Please sign in to comment.