Skip to content
Snippets Groups Projects
  1. Dec 18, 2007
  2. Sep 19, 2007
  3. Feb 06, 2007
  4. Jan 15, 2007
  5. Jul 03, 2006
    • Rene Brun's avatar
      from Axel: · 3ec0bc86
      Rene Brun authored
      Change the signature of SavePrimitive from
      
        void SavePrimitive(ofstream &out, Option_t *option);
      to
        void SavePrimitive(ostream &out, Option_t *option = "");
      
      With this change one can do, eg
         myhist.SavePrimitive(std::cout);
      
      WARNING: do rm -f tree/src/*.o
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@15672 27541ba8-7e3a-0410-8455-c3a389f83636
      3ec0bc86
  6. Mar 20, 2006
  7. Nov 15, 2005
  8. Sep 05, 2005
  9. Jun 26, 2004
    • Rene Brun's avatar
      Add a new function: · 9095cb0c
      Rene Brun authored
      Double_t TCutG::Integral(TH2 *h, Option_t *option) const
         // Compute the integral of 2-d histogram h for all bins inside the cut
         // if option "width" is specified, the integral is the sum of
         // the bin contents multiplied by the bin width in x and in y.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@9329 27541ba8-7e3a-0410-8455-c3a389f83636
      9095cb0c
  10. Feb 22, 2004
  11. Oct 10, 2002
  12. Jul 15, 2002
  13. Mar 26, 2002
    • Rene Brun's avatar
      This pacth from Philippe adds: · 4936adc8
      Rene Brun authored
        - Support for 2D graphical Cuts for TClonesArray members
        - Support for 1D graphical Cuts by using their X minimum and
              maximum as ( Xmin <= Formula <= Xmax ).
      
        - Support for the following TTreeFormula special functions.
      
              Entry$   : return the current entry number (== TTree::GetReadEntry())
              Entries$ : return the total number of entries (== TTree::GetEntries())
              Length$  : return the total number of element of this formula for this
                              entry (==TTreeFormula::GetNdata())
              Iteration$: return the current iteration over this formula for this
                              entry (i.e. varies from 0 to LENGTH$).
      
        - Synchronization of the dimensions of all the formulas involved in
              a Draw call.
      
          For example for (with fMatrix[4][4] and fTracks[fNtrack].fVertex[3]
            T->Draw("fMatrix","fVertex>=2");
      
          The corrected result is histogram use something like:
      
              if (fTracks[0].fVertex[0]>=2) fMatrix[0][0];
              if (fTracks[0].fVertex[1]>=2) fMatrix[0][1];
              if (fTracks[0].fVertex[2]>=2) fMatrix[0][2];
              if (fTracks[1].fVertex[0]>=2) fMatrix[1][0];
              if (fTracks[1].fVertex[1]>=2) fMatrix[1][1];
              if (fTracks[1].fVertex[2]>=2) fMatrix[1][2];
              ....
      
          The old behavior was:
      
              if (fTracks[0].fVertex[0]>=2) fMatrix[0][0];
              if (fTracks[0].fVertex[1]>=2) fMatrix[0][1];
              if (fTracks[0].fVertex[2]>=2) fMatrix[0][2];
              if (fTracks[1].fVertex[0]>=2) fMatrix[0][3]; // note the extra step here.
              if (fTracks[1].fVertex[1]>=2) fMatrix[1][0];
              if (fTracks[1].fVertex[2]>=2) fMatrix[1][1];
              ....
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@4242 27541ba8-7e3a-0410-8455-c3a389f83636
      4936adc8
  14. Mar 15, 2002
  15. Jan 24, 2002
  16. Jan 23, 2002
  17. Feb 28, 2001
  18. Dec 13, 2000
    • Rene Brun's avatar
      W A R N I N G !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! · da295703
      Rene Brun authored
           ==================================================================
      A very long list of changes in this pre-release of version 3.00.
      We have modified the signature of many functions (in particular TObject)
      to introduce more constness in the system.
      You must change your code if your class derives from TObject and uses
      one of the modified functions such as ls, Print, Compare, Hash, etc.
      The modified functions in TObject have the following signature:
         virtual TObject    *Clone() const;
         virtual Int_t       Compare(const TObject *obj) const;
         virtual void        Delete(Option_t *option=""); // *MENU*
         virtual void        DrawClass() const; // *MENU*
         virtual void        DrawClone(Option_t *option="") const; // *MENU*
         virtual void        Dump() const; // *MENU*
         virtual TObject    *FindObject(const TObject *obj) const;
         virtual char       *GetObjectInfo(Int_t px, Int_t py) const;
         virtual ULong_t     Hash() const;
         virtual void        Inspect() const; // *MENU*
         virtual Bool_t      IsEqual(const TObject *obj) const;
         virtual void        ls(Option_t *option="") const;
         virtual void        Print(Option_t *option="") const;
      
      A similar operation has been done with classes such as TH1, TVirtualPad,
      TTree, etc.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@1205 27541ba8-7e3a-0410-8455-c3a389f83636
      da295703
  19. Dec 09, 2000
  20. Nov 28, 2000
  21. Sep 08, 2000
  22. Aug 10, 2000
  23. Jun 13, 2000
    • Rene Brun's avatar
      - Mods in TCutG. · cc232980
      Rene Brun authored
        New constructor:
         TCutG(const char *name, Int_t n, Double_t *x, Double_t *y);
        Signature for function IsInside changed to:
         virtual Int_t  IsInside(Double_t x, Double_t y);
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@144 27541ba8-7e3a-0410-8455-c3a389f83636
      cc232980
  24. May 16, 2000
Loading