Abstract: The present invention relates to a gun with a removable barrel, the barrel having a mounting rail connected to it and extending in the direction of the longitudinal barrel axis A, the barrel being connected to the system housing by means of a receptacle on the system housing, the receptacle being tubular at least partially in the direction of the longitudinal barrel axis A and the corresponding inner tube diameter dl being adapted to the outer circumference of the barrel, so that the barrel can be introduced into the receptacle in the direction of the longitudinal barrel axis A when the barrel is mounted on the system housing, and wherein the receptacle has a recess of the tube circumference which extends in the direction of the longitudinal barrel axis A, wherein the barrel is fixed axially with respect to the longitudinal barrel axis A by at least one connecting element and is fixed with respect to rotation at least in that the mounting rail extends in its longitudinal direction at least partially within th
Abstract: The present invention concerns a method for producing riflings in barrels of guns including a barrel 6 as a workpiece 6 which defines an axis A in its longitudinal direction and which has a bore lying in the longitudinal direction which defines an inner wall of the barrel and a tool 8 comprising a tool head 10, which has an outer contour corresponding to the shape of the riflings to be produced, consisting of an electrically conductive material, wherein an electrolyte solution is pumped through the bore of the barrel 6, while the tool 8 is guided through the bore of the barrel 6, wherein a pulsed electrical voltage is applied to workpiece 6 and tool 8, with which a direct current is generated, the workpiece 6 being the anode and the tool head 10 being the cathode, the barrel 6 being positioned vertically with its longitudinal direction, wherein between the electrically conductive outer contour of the tool head 10 and the inner wall of the barrel 6 there is a gap surrounding the tool head 10, through which the