I am trying to work on my bachelor degree thesis and I need my name in the left header and chapter name in the right header, how can I do that? I made something but it's displaying my name and the section name, but I need chapter.

\lhead{MITU ALEXANDRU PETRI\c{S}OR}


MWE

\documentclass[12pt,a4paper,oneside]{book}
\usepackage[a4paper, top=2.5cm, bottom=2.5cm, left=2cm, right=2cm]{geometry}

\makeindex

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usepackage{epigraph}
\usepackage{makeidx}
\usepackage{graphicx}
\usepackage{amsthm}
\usepackage{color}

\usepackage[hyphens]{url}
\usepackage{hyperref}
\hypersetup{
citecolor=black,
filecolor=black,
urlcolor=black
}

\usepackage[latin10]{inputenc}
\usepackage{relsize}
\usepackage{textcomp}
\usepackage{eurosym}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{anysize}
%\usepackage{index}
\usepackage{verbatim}
\usepackage{algorithm}
%\usepackage{algorithmic}
\usepackage{longtable}
\usepackage[scaled]{helvet}
\usepackage[T1]{fontenc}
\usepackage{fancyhdr}
\usepackage{appendix}
\usepackage{ifthen}
\usepackage{sectsty}
\renewcommand{\familydefault}{\sfdefault}
\usepackage{tocbibind}
\settocbibname{References}

\usepackage{listings}
\usepackage{color}
\usepackage{courier}

\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}

\lstset{frame=tb,
language=Java,
aboveskip=3mm,
belowskip=3mm,
showstringspaces=false,
columns=flexible,
basicstyle={\small \ttfamily},
numbers=none,
numberstyle=\tiny\color{gray},
keywordstyle=\color{blue},
stringstyle=\color{mauve},
breaklines=true,
breakatwhitespace=true,
postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{red}\hookrightarrow\space}},
tabsize=3
}

\normalfont % in case the EC fonts aren't available

%\usepackage{amslatex}
\usepackage[romanian]{babel}
\selectlanguage{romanian}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\sloppy
\nonfrenchspacing

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\graphicspath{{fig/}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\def\refname{Bibliografie} % la fel se redefinesc toate denumirile; pentru romana in romanian.ldf
\let\mylistof\listof \renewcommand\listof[2]{\mylistof{algorithm}{Listã de algoritmi}}
%\def\producelistofappendices{\listofappendices}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\setcounter{page}{1}
\setcounter{footnote}{-1}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

• righthead usually contains chapter-information and it is likely that something in your document redfines it. Can you show us a minimal working example to understand what is going on? – Johannes_B May 29 '15 at 15:23
• rightmark usually contains section information, i was confused before. What is holding the chapter-info is leftmark ;-) – Johannes_B May 29 '15 at 15:32
• Your document ends in the middle of nowhere ;-) – user31729 May 29 '15 at 15:34
• @ChristianHupfer I did not post the entire code, I posted like 100 lines out of 1000. – Alexandru Mitu May 29 '15 at 15:38
• @AlexandruMitu: Yes, completing it to a working example cost me some seconds, therefore my answer came too late – user31729 May 29 '15 at 15:39

\fancyhead[LO,LE]{ALEXANDRU PETRI\c{S}OR MITU}