[root] / trunk / tree / tree / inc / TNtuple.h Repository:
ViewVC logotype

Log of /trunk/tree/tree/inc/TNtuple.h

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: 2714 byte(s)
Diff to previous 41666
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 41666 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 31 19:10:37 2011 UTC (3 years, 2 months ago) by pcanal
File length: 2709 byte(s)
Diff to previous 39225
Allow removing branches when cloning a TNtuple (fixes  <http://savannah.cern.ch/bugs/?88343>)

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: 2630 byte(s)
Diff to previous 22902
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 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: 2606 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/inc/TNtuple.h
File length: 2606 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/inc/TNtuple.h
File length: 2606 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/inc/TNtuple.h
File length: 2653 byte(s)
Diff to previous 17522
remove :$ from tag line

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/inc/TNtuple.h
File length: 2663 byte(s)
Diff to previous 15849
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 15849 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 26 13:36:44 2006 UTC (8 years, 6 months ago) by rdm
Original Path: trunk/tree/inc/TNtuple.h
File length: 2612 byte(s)
Diff to previous 15134
Instead of providing default implementations for copy ctor's and assignment
operators we better make them private (and not implemented) to avoid people
from accidentally using them. Especially the collections classes and the
TQObject derived classes. In these classes the default implementations would
cause havoc due to multiple deletions of the same objects and other
potential memory corruptions.

Revision 15134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/tree/inc/TNtuple.h
File length: 2554 byte(s)
Diff to previous 13207
From Federico Carminati:

"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."

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/inc/TNtuple.h
File length: 2483 byte(s)
Diff to previous 10336
Update the spacing and documentation to match the coding rule

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/inc/TNtuple.h
File length: 2474 byte(s)
Diff to previous 9368
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 9368 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 1 21:27:36 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/tree/inc/TNtuple.h
File length: 2426 byte(s)
Diff to previous 6777
From Philippe:
This patch allows for the 2nd arguments of TNtuple::Fill to have a default value.

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/inc/TNtuple.h
File length: 2293 byte(s)
Diff to previous 1713
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 1713 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 28 07:13:54 2001 UTC (13 years, 10 months ago) by brun
Original Path: trunk/tree/inc/TNtuple.h
File length: 2239 byte(s)
Diff to previous 983
Change argument of TNtuple::Fill from float* to const float*

Revision 983 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 21 20:48:38 2000 UTC (14 years, 2 months ago) by brun
Original Path: trunk/tree/inc/TNtuple.h
File length: 2232 byte(s)
Diff to previous 801
Increment class version number from 1 to 2.
Declare member fArgs not persistent.

Revision 801 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 20 15:52:49 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/tree/inc/TNtuple.h
File length: 2229 byte(s)
Diff to previous 438
new method ResetBranchAddresses(). This method resets the branch addresses
to the internal fArgs array. Use this method when the addresses were
changed via calls to SetBranchAddress() (for example during reading).

Revision 438 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 10 06:58:42 2000 UTC (14 years, 5 months ago) by brun
Original Path: trunk/tree/inc/TNtuple.h
File length: 2189 byte(s)
Diff to previous 3
Correct comments explaining the class. The current ntuple creates a branch
for each float variable

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/tree/inc/TNtuple.h
File length: 2143 byte(s)
Copied from: branches/rdm/tree/inc/TNtuple.h revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/tree/inc/TNtuple.h
File length: 2143 byte(s)
Initial import of ROOT into CVS

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