Skip to content
Snippets Groups Projects
  1. Jun 04, 2012
    • Axel Naumann's avatar
      Remove · 08dd65a0
      Axel Naumann authored
        using namespace std;
      from Riostream.h, which has huge consequences for all of ROOT.
      Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.
      
      Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
      ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.
      
      Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
      TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@44507 27541ba8-7e3a-0410-8455-c3a389f83636
      08dd65a0
  2. Jun 17, 2011
  3. Jun 02, 2011
  4. Mar 18, 2011
  5. Feb 04, 2010
  6. Nov 06, 2009
  7. Oct 29, 2009
  8. Oct 05, 2009
  9. Sep 17, 2009
  10. Sep 15, 2009
  11. Aug 27, 2009
  12. Aug 12, 2009
  13. Oct 26, 2008
  14. May 08, 2008
    • Rene Brun's avatar
      From Leandro: · ec01dfae
      Rene Brun authored
      Add new option to run with parallel unzipping in a separate thread.
      To run it do
        Event 5000 1 99 1    (to write the file Event.root)
        Event 5000 1 99 20   (to read normal without a thread)
        Event 5000 1 99 21   (to read with the parallelp unzipping thread)
      Send the results to rootdev@root.cern.ch
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@23762 27541ba8-7e3a-0410-8455-c3a389f83636
      ec01dfae
  15. Sep 19, 2007
  16. May 21, 2007
  17. Dec 02, 2005
  18. Jan 12, 2005
    • Rene Brun's avatar
      From Philippe: · b4cbed0d
      Rene Brun authored
      A) Support for top level STL Containers.  You can now do
         list<int> *ptr = new list<int>;
         tree->Branch("mystl","list<int>",&ptr);
      
      B) Autodetection of the pointer type passed to the branch constructor.
      So you can now do:
         list<int> *ptr = new list<int>;
         tree->Branch("mystl",&ptr);
      
      C) Check of the type of the pointer type passed to the branch constructor.
      So that you now get an error:
         list<int> *ptr = new list<int>;
         tree->Branch("mystl","list<float>",&ptr);
      
      Error in <TTree::Branch>: The class requested (list<float>) for the branch
      "mystl" is different from the type of the pointer passed (list<int>)
      
      D) TTree's SetBranchAddress now also check its input address (unless the
      user explicitly specify (char*) or (void*).
      
      Test/Event and the tree tutorials have been updated to take advantage of the
      new syntax.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@10898 27541ba8-7e3a-0410-8455-c3a389f83636
      b4cbed0d
  19. Dec 30, 2003
  20. Nov 13, 2002
  21. Aug 17, 2002
  22. Jan 24, 2002
  23. Jan 23, 2002
  24. Jan 22, 2002
  25. Nov 19, 2001
  26. Oct 07, 2001
  27. Oct 05, 2001
    • Rene Brun's avatar
      Modify the test program to illustrate the new classes TRef and TRefArray. · 549b0ea1
      Rene Brun authored
      The following members have been added to Event.h
         TRefArray     *fHighPt;       //array of High Pt tracks only
         TRefArray     *fMuons;        //array of Muon tracks only
         TRef           fLastTrack;    //pointer to last track
      
      In MainEvent (write part) the two arrays are filled in the loop
      making the tracks. fLastTrack is set directly in AddTrack.
      
      Split mode can be used to store in separate branches the original
      tracks and the two selected track arrays. Only one copy of a track
      is stored in the file. When the file is read back, one can read
      in any order the TClonesArray of tracks or the other arrays.
      If the array fMuons is read and the TClonesArray branches are not
      read, fMuons->At(i) will return 0. When the TClonesArray is read,
      fMuons->at(i) will return a pointer to the selected track number i
      in the TRefArray fMuons. This will point directly to one of the
      tracks in the TClonesArray.
      
      Note that the branches fHighPt, fMuons and fLastTrack could also
      be stored in separate files (may be friends of the master file).
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@2987 27541ba8-7e3a-0410-8455-c3a389f83636
      549b0ea1
  28. Jul 09, 2001
  29. Apr 24, 2001
  30. Apr 20, 2001
  31. Apr 12, 2001
  32. Apr 11, 2001
  33. Mar 14, 2001
  34. Feb 21, 2001
  35. Feb 09, 2001
Loading