Log of /trunk/tree/treeviewer/src/TTVSession.cxx
Parent Directory
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: 8859 byte(s)
Diff to
previous 35537
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
7648 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 25 13:17:33 2003 UTC (11 years, 2 months ago) by
brun
Original Path:
trunk/treeviewer/src/TTVSession.cxx
File length: 8508 byte(s)
Diff to
previous 3748
From Andrei Gheata:
I have added:
- modified help text for opening trees and session
- a record (produced for a valid X/Y/Z + drawing option selection when
clicking the red button) will get now the same name as the histogram.
- the treeviewer constructors define a variable gTV that can be accessed
only from interpreter to get a pointer to the treeviewer. This can be
used to append one or more new trees by pointer : new method
AppendTree() implemented. This is explained in the help menu Open/Load
Revision
1904 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Apr 6 07:27:18 2001 UTC (13 years, 9 months ago) by
brun
Original Path:
trunk/treeviewer/src/TTVSession.cxx
File length: 8175 byte(s)
Diff to
previous 1677
New version of TTreeViewer and associated classes from Andrei Gheata.
Here is the last patch of the treeviewer, which hopefully corrects all bugs
I found about (including TH3 draw problem). It has also a new checker for
aliases and the possibility of defining and executing a user-defined command
for each session record. It works like this (for now) :
- when you want to do something with the histogram produced by the Draw
button (fitting, normalizing, corellating with other existing histograms,
etc.) you may write a macro with this functionality, where the histogram can
be accessed with the name written in the hist. text box (htemp by default).
Then, after recording an X,Y,Z entry in your session, you will be able to use
the SetUserCode() function from the TV context menu. For instance, you can
run your fit.C macro :
fit.C
{
htemp->Fit("gaus");
htemp->Draw();
}
by setting the user code as : .x fit.C
Any ROOT command is accepted. The user-command will be executed after a record
is drawn using the session buttons. You can define user commands for each
record. This is just the first implementation.
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.