// ============================================================================ StatusCode Gaudi::Utils::Histos::fromXml ( TProfile& result , const std::string& input ) { // result.Reset() ; // RESET old histogram // _Xml<TProfile> _xml ; std::auto_ptr<TProfile> histo = _xml ( input ) ; if ( 0 == histo.get() ) { return StatusCode::FAILURE ; } // RETURN // result.Reset() ; histo->Copy ( result ) ; // return StatusCode::SUCCESS ; }