[MRG] histfactory: add missing getter methods on Sample and Channel