Loading on start up

Try

root -e '.L name.cpp+' -e '.L other.cpp+' ....