Sample classes for Replica Exchange MonteCarlo method