Log of /trunk/core/base/src/TFileCollection.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: 29475 byte(s)
Diff to
previous 42868
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
42868 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 3 21:45:52 2012 UTC (2 years, 11 months ago) by
pcanal
File length: 29470 byte(s)
Diff to
previous 42775
- In TFileCollection::Add(TFileCollection *): fix bug affecting the setting of the index .
- In the TFileInfo copy constructor: set fIndex to the source fIndex and not to -1 .
Revision
42775 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jan 23 16:43:54 2012 UTC (3 years ago) by
rdm
File length: 29472 byte(s)
Diff to
previous 41745
From Sangsu Ryu and Gerri:
- In TFileInfo, add possibility to store an index to be used in Compare() for
sorting operations.
- Add an argument to TFileCollection::Sort() to control how to sort the
content (index or using TUrl::Compare). Default behavior is unchanged.
Revision
39061 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Apr 30 22:09:20 2011 UTC (3 years, 8 months ago) by
rdm
File length: 29444 byte(s)
Diff to
previous 38735
From S. Ryu:
In TFileCollection::GetFilesPerServer(), when 'curronly' is kTRUE always
use 'break' to exit the internal loop on the available URLs instead of
'continue'. Fix possible infinite loop.
Revision
38735 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Apr 5 09:41:14 2011 UTC (3 years, 9 months ago) by
rdm
File length: 29320 byte(s)
Diff to
previous 38109
From Gerri:
In TFileCollection::GetFilesPerServer(), add option to include in the
analysis only the TFileInfo current URL; avoids duplications when multiple
URLs are specified.
Revision
38109 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Feb 17 11:21:38 2011 UTC (3 years, 11 months ago) by
rdm
File length: 29062 byte(s)
Diff to
previous 36629
From Gerri:
TFileInfo initializes a default, empty, MD5, not finalized which generates
a lot of fake error messages when working with TFileCollections.
The MD5 object should only be created when there is a MD5.
Revision
36629 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 12 14:46:35 2010 UTC (4 years, 2 months ago) by
brun
File length: 28904 byte(s)
Diff to
previous 33488
From Martin Vala:
Add new function
Long64_t TFileCollection::Merge(TCollection *li)
//merge all TFileCollection objects in li into this TFileCollection object
Revision
33488 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed May 12 14:08:29 2010 UTC (4 years, 8 months ago) by
rdm
File length: 27653 byte(s)
Diff to
previous 33388
From Gerri:
- In TFileInfo::Print(), by default print a compact, one line, output.
The previous long, multi-line output is still available specifying "L" in
the options.
- In TFileCollection::Print(), pass the option to TList::Print() so that
it can be parsed in TFileInfo::Print() add also "T:<default_tree_name>"
to the option field passed to TFileInfo::Print() so that the default
tree info can be printed when the compact form is chosen.
Revision
33388 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed May 5 14:15:02 2010 UTC (4 years, 8 months ago) by
rdm
File length: 27208 byte(s)
Diff to
previous 33101
From Gerri:
- fix a small memory leak in TFileCollection::AddFromFile().
- fix a formatting problem in ExportInfo(), possibly cutting out the
number of entries.
Revision
32321 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Feb 10 15:28:07 2010 UTC (4 years, 11 months ago) by
brun
File length: 26925 byte(s)
Diff to
previous 28573
From Thiemo Nagel;
In the present implementation, TFileCollection::Add("dir/file*.root") would not only match
dir/file100.root
but also
dir/another-file.root
dir/file.rooted
This patch adds begin-of-string and end-of-string matches to the regexp.
Revision
28573 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue May 12 14:29:22 2009 UTC (5 years, 8 months ago) by
rdm
File length: 26904 byte(s)
Diff to
previous 27854
From Gerri:
- Improve the dataset parsing functionality by adding the possibility
to extract the information on "per-server" base; new methods
- TFileCollection *GetFilesOnServer(const char *server);
returning the subset of files on 'server'
- TMap *GetFilesPerServer(const char *exclude = 0);
returning a map of subsets of files on the different servers
- Add the possibility to store additional meta information in the
TFileCollection object in the form of TFileInfoMeta objects
- Add check for duplications; this is base don the UUID of the
TFileInfo object and make sense only when the UUID is the effective
UUID of the represented file
Revision
24470 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 23 01:37:37 2008 UTC (6 years, 7 months ago) by
rdm
File length: 16213 byte(s)
Diff to
previous 23025
From Jan:
renamed AddFromDirectory() to Add(), correctly handles wildcards in
directory. Behaviour is now similar to TChain::Add(). Fixes needed for CAF.
Revision
22961 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 3 13:32:57 2008 UTC (6 years, 9 months ago) by
rdm
File length: 12555 byte(s)
Diff to
previous 22554
move the directories:
base clib cont meta metautils newdelete pcre rint thread unix utils
winnt zip
under the new core meta directory.
Revision
22554 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 10 09:31:31 2008 UTC (6 years, 10 months ago) by
rdm
Original Path:
trunk/base/src/TFileCollection.cxx
File length: 12555 byte(s)
Diff to
previous 20877
From Gerri:
small addition to the main constructor of TFileCollection and to the
method TFileCollection::AddFromFile(). I have added the possibility
to specify the number of files and the first file to be picked up from
the file. This greatly optimizes CPU time when rotating small samples
out of a large number of files (i.e. the 30000 files of ALICE).
Revision
19558 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Tue Aug 7 00:29:26 2007 UTC (7 years, 5 months ago) by
rdm
Original Path:
trunk/base/src/TFileCollection.cxx
File length: 11027 byte(s)
From Jan-Fiete and Erich Bruckner:
Class TFileCollection that contains a hashlist of TFileInfo's and
a list of accumulated meta data information about its entries. This class
is used to describe file sets as stored by Grid file catalogs,
by PROOF or any other collection of TFile names.
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.