Patent Number: 
Section: claims

1. A system comprising: a first electrode adapted to be set to at least a first potential; an electrode and gas supply component, adapted to be set to at least a second potential and to selectively supply gas to a vicinity of a sample; wherein the first electrode and the electrode and gas supply component are positioned close to the sample. 2. The system according to claim 1 further adapted to set at least one out of the first and second potential and determine a gas provision in response to charging of at least one area of the sample. 3. The system according to claim 1 wherein at least one out of the first electrode and the electrode and gas supply component are positioned between an objective lens and the sample. 4. The system according to claim 1 wherein at least one out of the first electrode and the electrode and gas supply component are integrated with an objective lens and the sample. 5. The system according to claim 1 wherein the first electrode is placed between the electrode and gas supply component and the sample. 6. The system according to claim 1 wherein the electrode and gas supply component is placed between the first electrode and the sample. 7. The system according to claim 1 wherein at least one insulator is connected between the first electrode and the electrode and gas supply component. 8. The system according to claim 1 wherein each of the first electrode and the electrode and gas supply component define an inner space through which charged particles can pass. 9. The system according to claim 1 wherein at least one out of the first electrode and the electrode and gas supply component are connected to at least one deflector pole-piece. 10. The system according to claim 1 wherein the electrode and gas supply component comprises an electrode formed with a gas passageway for allowing gas to pass through the electrode. 11. The system according to claim 1 wherein the electrode and gas supply comprises multiple separate electrode portions. 12. The system according to claim 1 wherein the first electrode comprises multiple separate electrode portions. 13. A method for discharging a sample, the method comprising:determining whether to discharge a negatively charged area of a sample or to discharge a positively charged area of the sample; andinjecting gas, via an electrode and gas supply component, or setting a first electrode to a first voltage and setting the electrode and gas supply component to a second voltage, in response to the determination. 14. The method according to claim 13 wherein the injecting is executed when the area is negatively charged. 15. The method according to claim 13 wherein the setting is executed when the area is positively charged. 16. The method according to claim 13 wherein at least one out of the first electrode and the electrode and gas supply component is positioned between an objective lens and the sample. 17. The method according to claim 13 wherein at least one out of the first electrode and the electrode and gas supply component is positioned between an objective lens and the sample. 18. The method according to claim 13 wherein the injecting comprises supplying gas through a gas passageway formed within the electrode and gas supply component. 19. The method according to claim 13 further comprising charging the area by a charged particle beam that passes through inner spaced defined by the first electrode and the electrode and gas supply component.