Skip to content

Commit 23a36df

Browse files
authored
Add Kine publisher test (#15058)
1 parent cbace39 commit 23a36df

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

prodtests/full_system_test.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,13 @@ taskwrapper collcontext.log o2-steer-colcontexttool \
168168
SIMOPTKEY+="GenTPCLoopers.colsys=${BEAMTYPE};"
169169

170170
taskwrapper sim.log o2-sim ${FST_BFIELD+--field=}${FST_BFIELD} --vertexMode kCollContext --seed $O2SIMSEED -n $NEvents --configKeyValues "\"$SIMOPTKEY\"" -g ${FST_GENERATOR} -e ${FST_MC_ENGINE} -j $NJOBS --run ${RUNNUMBER} -o o2sim --fromCollContext collisioncontext.root:o2sim
171+
# Test MCTracks to AO2D conversion tool
172+
taskwrapper kine2aod.log "o2-sim-kine-publisher -b --kineFileName o2sim --aggregate-timeframe $NEvents | o2-sim-mctracks-to-aod -b --aod-writer-keep dangling | o2-analysis-mctracks-to-aod-simple-task -b"
173+
if [[ ! -s AnalysisResults_trees.root ]] || [[ ! -s AnalysisResults.root ]]; then
174+
echo "Error: AnalysisResults_trees.root (AO2D from Kine file) or AnalysisResults.root (simple analysis task output) missing or empty"
175+
exit 1
176+
fi
177+
171178
if [[ $DO_EMBEDDING == 1 ]]; then
172179
taskwrapper embed.log o2-sim ${FST_BFIELD+--field=}${FST_BFIELD} -j $NJOBS --run ${RUNNUMBER} -n $NEvents -g pythia8pp -e ${FST_MC_ENGINE} -o sig --configKeyValues ${FST_EMBEDDING_CONFIG} --embedIntoFile o2sim_MCHeader.root
173180
fi

0 commit comments

Comments
 (0)