Skip to content
Snippets Groups Projects
  1. Aug 17, 2000
    • Rene Brun's avatar
      Implement interface between trees and the principal components analysis class · fc90f119
      Rene Brun authored
      TPrincipal.
      The user interface is in TTree::Principal that calls the TTreePlayer::Principal
      function. The specs of this interface are:
      TPrincipal *TTree::Principal(const char *varexp, const char *selection, Option_t *option, Int_t nentries, Int_t firstentry)
      {
      //*-*-*-*-*-*-*-*-*Interface to the Principal Components Analysis class*-*-*
      //*-*              ====================================================
      //
      //   Create an instance of TPrincipal
      //   Fill it with the selected variables
      //   if option "n" is specified, the TPrincipal object is filled with
      //                 normalized variables.
      //   If option "p" is specified, compute the principal components
      //   If option "p" and "d" print results of analysis
      //   If option "p" and "h" generate standard histograms
      //   If option "p" and "c" generate code of conversion functions
      //   return a pointer to the TPrincipal object. It is the user responsability
      //   to delete this object.
      //   The option default value is "np"
      //
      //   see TTree::Draw for explanation of the other parameters.
      //
      //   The created object is  named "principal" and a reference to it
      //   is added to the list of specials Root objects.
      //   you can retrieve a pointer to the created object via:
      //      TPrincipal *principal =
      //        (TPrincipal*)gROOT->GetListOfSpecials()->FindObject("principal");
      //
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@489 27541ba8-7e3a-0410-8455-c3a389f83636
      fc90f119
    • Rene Brun's avatar
      TPrincipal is now derived from TNamed instead of TObject. · c5a70769
      Rene Brun authored
      In the constructor, the TPrincipal object, named "principal" by default
      is automatically added the gROOT->GetListOfSpecials().
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@488 27541ba8-7e3a-0410-8455-c3a389f83636
      c5a70769
    • Rene Brun's avatar
      The activation of SafeDelete(fInterpreter) in the TROOT destructor has still · 0aab2eff
      Rene Brun authored
      side effects. A simple session opening a root file will crash when
      the TROOT destructor is called. This line recommented.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@487 27541ba8-7e3a-0410-8455-c3a389f83636
      0aab2eff
    • Rene Brun's avatar
      To avoid compiler warnings or errors, the parameter to G__p2f2funcname · f2ecbe48
      Rene Brun authored
      must be cast to a void explicitly in the TF1 constructor:
         char *funcname = G__p2f2funcname((void*)fcn);
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@486 27541ba8-7e3a-0410-8455-c3a389f83636
      f2ecbe48
  2. Aug 16, 2000
  3. Aug 15, 2000
  4. Aug 14, 2000
Loading