#!/bin/bash

. $HOME/tools/.setO2

destpath="/home/pbuehler/physics/projects/alice/O2/documentation/analysis-framework/docs/tutorials/code"

tutfiles=(  \
  "associatedExample.cxx"  \
  "ccdbaccess.cxx"  \
  "collisionTracksIteration.cxx"  \
  "extendedTables.cxx"  \
  "filters.cxx"  \
  "histogramRegistry.cxx"  \
  "histograms.cxx"  \
  "mcHistograms.cxx"  \
  "multiProcess.cxx" \
  "newCollections.cxx"  \
  "partitions.cxx"  \
  "tableIOin.cxx"  \
  "tableIOout.cxx"  \
  "trackIteration.cxx"  \
)

for file in ${tutfiles[@]}
do
  cp ${ALIBUILD_WORK_DIR}/../O2/Analysis/Tutorials/src/${file} ${destpath}/.
done
