Revision 288629b256000aea6c9113f3425a0d1f06a484de authored by Lorenzo Moneta on 10 June 2011, 17:42:36 UTC, committed by Lorenzo Moneta on 10 June 2011, 17:42:36 UTC
Fix r39628 by insuring the copied histogram has the proper type; this fixes tutorials/seims.C


git-svn-id: http://root.cern.ch/svn/root/branches/v5-30-00-patches@39677 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 00861be
Raw File
TMVAlogon.C
{
   // --------- S t y l e ---------------------------
   const Bool_t UsePaperStyle = 0;
   // -----------------------------------------------
   
   TString curDynamicPath( gSystem->GetDynamicPath() );
   gSystem->SetDynamicPath( "../lib:" + curDynamicPath );

   TString curIncludePath(gSystem->GetIncludePath());
   gSystem->SetIncludePath( " -I../include " + curIncludePath );

   // load TMVA shared library created in local release 
   // (not required anymore with the use of rootmaps, but problems with MAC OSX)
   if (TString(gSystem->GetBuildArch()).Contains("macosx") ) gSystem->Load( "libTMVA.1" );

   TMVA::Tools::Instance();

   // welcome the user
   TMVA::gTools().TMVAWelcomeMessage();
   
#include "tmvaglob.C"
   
   TMVAGlob::SetTMVAStyle();
   cout << "TMVAlogon: use \"" << gStyle->GetName() << "\" style [" << gStyle->GetTitle() << "]" << endl;
   cout << endl;
}
back to top