[root] / trunk / tree / tree / src / TNtupleD.cxx Repository:
ViewVC logotype

Log of /trunk/tree/tree/src/TNtupleD.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 8260 byte(s)
Diff to previous 39225
Remove
  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.

Revision 39225 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 18 04:56:49 2011 UTC (3 years, 8 months ago) by pcanal
File length: 8255 byte(s)
Diff to previous 35940
From Jason Detwiler:
Add support for csv files:

Add support for other delimiters (like ',') and for direct import of files in the common .csv format in TTree::ReadFile().
To handle older .csv files, add support for '\r' carriage returns in addition to '\n' (which also works for "\r\n").
Add the same support to TNtuple and TNtupleD.

Revision 35940 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 30 15:52:18 2010 UTC (4 years, 3 months ago) by brun
File length: 8064 byte(s)
Diff to previous 35477
use snprintf

Revision 35477 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 18:16:03 2010 UTC (4 years, 4 months ago) by brun
File length: 8059 byte(s)
Diff to previous 35466
Replace strncpy by strlcpy

Revision 35466 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 14:32:04 2010 UTC (4 years, 4 months ago) by brun
File length: 8059 byte(s)
Diff to previous 35454
Fix calls to strncpy

Revision 35454 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 13:16:31 2010 UTC (4 years, 4 months ago) by brun
File length: 8070 byte(s)
Diff to previous 35429
Fix strncpy calls

Revision 35429 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 20 08:53:32 2010 UTC (4 years, 4 months ago) by brun
File length: 8057 byte(s)
Diff to previous 34375
Replace calls to strcpy by strncpy

Revision 34375 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 12 08:22:20 2010 UTC (4 years, 6 months ago) by brun
File length: 8052 byte(s)
Diff to previous 31550
Protection in case more than 1000 elements are given in the leaf list.
fix: https://savannah.cern.ch/bugs/index.php?69796

Revision 31550 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 4 08:45:30 2009 UTC (5 years, 1 month ago) by brun
File length: 8051 byte(s)
Diff to previous 22902
Improve documentation

Revision 22902 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 31 09:48:42 2008 UTC (6 years, 9 months ago) by rdm
File length: 7969 byte(s)
Diff to previous 20882
move tree, treeplayer and treeviewer under tree meta directory.

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/tree/src/TNtupleD.cxx
File length: 7969 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/tree/src/TNtupleD.cxx
File length: 7969 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/tree/src/TNtupleD.cxx
File length: 8021 byte(s)
Diff to previous 17731
remove :$ from tag line

Revision 17731 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 6 15:30:25 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/tree/src/TNtupleD.cxx
File length: 8031 byte(s)
Diff to previous 17522
In the Streamer functions replace the lines like
         TPad::Class()->ReadBuffer(b, this, v, R__s, R__c);
         TPad::Class()->WriteBuffer(b,this);
by
         b.ReadClassBuffer(TPad::Class(), this, v, R__s, R__c);
         b.WriteClassBuffer(TPad::Class(),this);

Revision 17522 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 25 22:53:05 2007 UTC (7 years, 11 months ago) by pcanal
Original Path: trunk/tree/src/TNtupleD.cxx
File length: 8024 byte(s)
Diff to previous 14336
When the master tree of a tree 'clone' relationship is deleted, we need
to reset the address of the branches of the clone ... however we need to
reset the address only for the cloned branches.  In particular this means
that calling ResetBranchAddresses on the clone tree is over-zealous (it
reset branches that may have been added by the user after the cloning).
Also in the reseting of the branch depends (because of TNtuple and TNtupleD)
not only of the type of the branch object but also on the type of the TTree.
(See TNtuple::ResetBranchAddress(TBranch*) for the explanation why).

Revision 14336 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 20 21:43:44 2006 UTC (8 years, 10 months ago) by pcanal
Original Path: trunk/tree/src/TNtupleD.cxx
File length: 7593 byte(s)
Diff to previous 13207
Reduce direct dependencies on TClass.h, TROOT.h and TStreamerInfo.h.
Warning:  This means that some file that relied on the indirect
inclusion of these header file might now fail to compile with
an error message mention that gROOT is no known or that TClass,
TROOT or TStreamerInfo is incompletely defined.  Simply add the
proper include directive.

Revision 13207 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 11 22:16:04 2005 UTC (9 years, 2 months ago) by pcanal
Original Path: trunk/tree/src/TNtupleD.cxx
File length: 7571 byte(s)
Diff to previous 11519
Update the spacing and documentation to match the coding rule

Revision 11519 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 7 10:57:32 2005 UTC (9 years, 9 months ago) by brun
Original Path: trunk/tree/src/TNtupleD.cxx
File length: 7527 byte(s)
Diff to previous 10336
Add a patch from Chris Roat skipping lines starting with "#"
when creating a Tree from an ascii file.

Revision 10336 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 18 12:32:12 2004 UTC (10 years, 3 months ago) by brun
Original Path: trunk/tree/src/TNtupleD.cxx
File length: 7399 byte(s)
Diff to previous 6788
Implement new function TTree::ReadFile
Long64_t TTree::ReadFile(const char *filename, const char *branchDescriptor)
{
   // Create or simply read branches from filename
   // if branchDescriptor = "" (default), it is assumed that the Tree descriptor
   //    is given in the first line of the file with a syntax like
   //     A/D:Table[2]/F:Ntracks/I:astring/s
   //  otherwise branchDescriptor must be specified with the above syntax.
   //
   // A TBranch object is created for each variable in the expression.
   // The total number of rows read from the file is returned.

TNtuple::ReadFile has been modified to be consistent with TTree::ReadFile.
New function TLeaf::ReadValue implemented (and in all TLeaf derived classes).

Revision 6788 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 26 08:55:18 2003 UTC (11 years, 7 months ago) by brun
Original Path: trunk/tree/src/TNtupleD.cxx
File length: 7291 byte(s)
Diff to previous 6777
Replace include of fstream by Riostream.h

Revision 6777 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 25 13:39:31 2003 UTC (11 years, 7 months ago) by brun
Original Path: trunk/tree/src/TNtupleD.cxx
File length: 7287 byte(s)
Diff to previous 2667
Add new function ReadFile in TNtuple and TNtupleD
Int_t TNtuple::ReadFile(const char *filename)
{
//  read from filename as many columns as variables in the ntuple
// the function returns the number of rows found in the file

Revision 2667 - (view) (download) (as text) (annotate) - [select for diffs]
Added Sun Aug 12 09:00:10 2001 UTC (13 years, 5 months ago) by brun
Original Path: trunk/tree/src/TNtupleD.cxx
File length: 6780 byte(s)
Add new class TNtupleD, a variant of TNtuple for variables of type Double_t

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9