Beginings of merging CalibOffline into main code.
Main compiles and recognises --calof option, checks for file, but does nothing.
Started changing code in CalibOffline to take TFile when called from main but this is not working (or even compiling yet).  main() will compile if call to CalibOffline is commented out.