Interactive mode (Could be interesting for simple analysis of small samples):

make lib (to create shared library of persistent objects)
ln -s my_miniDST_file.root mDST.root (as input file name mDST.root is assumed inside script)
root
[] .x root/ReadExample.C


(CINT version better than 5.14 is required)

Semi-interactive mode(by precompiled ROOT script). As "interactive" mode but works much faster and independent from CINT problems
- compile ROOT script:
g++ -o ReadExample.exe root/ReadExample.C -I lib/ -I $ROOTSYS/include lib/libPhast.so `root-config --libs`
- run it:
./ReadExample.exe