Before revision: In this paper we develop an algorithm to calculate  prices and Greeks of barrier options driven by a class of additive processes. Additive processes are time-inhomogeneous Levy processes, or equivalently, processes with independent but inhomogeneous increments .
After revision: In this paper we develop an algorithm to calculate prices and Greeks of barrier options in a hyper-exponential additive model with piecewise constant parameters .