first idea of GHistThetaBinning.
Use TFileCacheWrite for output file.