AEgIS experiment: Measuring the acceleration g of the earth's gravitational field on antihydrogen beam