The present invention relates to methods for the synthesis of galanthamine, morphine, intermediates, salts and derivatives thereof. The ECU then adjusts the mass flow rate of a coolant flowing through a boiler so that a detection value of a pressure sensor indicates a pressure as close as possible to an upper limit pressure, on condition that an upper limit temperature is not exceeded. The tool holder has an extension, and a tool extending from the distal end of the extension. Due to the offsets in the holes in the second grid, ions passing through the offset holes are electrostatically attracted towards the closest circumferential portion of the downstream offset holes.