I am interested in the integrability of equations and I am studying the Camassa-Holm and Novikov equations. Therefore I would like a reference in which I can find, in a detailed way, how to construct the Hamiltonian and the corresponding Hamiltonian operator for these, or similiar, equations.