Fast ignition is the new method in inertial confinement fusion (ICF), in which the compression and ignition steps are separated. In the first stage, fuel is compressed by laser or ion beams. In the second phase, relativistic electrons are constructed by pettawatt laser in the fuel. Also, in the second phase 5-35 MeV protons can be generated in the fuel. Electrons or protons can penetrate in ultra-density fuel and deposite their energy in the fuel. More recently, cylindrical rather than spherical fuel chambers with magnetic control in the plasma domain have been also considered. It is called magnetized target fusion (MTF). Magnetic field effects on relativistics electrons energy deposition rate in fuel. In this work, fast ignition method in cylindrical fuel chambers will be investigated and traortation of the relativistic electrons and protons will be calculated by using MCNPX and FLUKA codes with 0.25 and 0.5 tesla magnetic field in single and dual hot spot. Furthermore, the transfer rate of relativistic electrons and high energy protons to the fuel and fusion gain will be calculated. Our calculations show that presence of external magnetic field guarantee higher fusion gain. Relativistic electrons are much more appropriate object for ignition. MTF in dual hot spot can be considered as appropriate substitusion for the current ICF techniques.