[root] / trunk / core / base / src / TFileCollection.cxx Repository:
ViewVC logotype

Log of /trunk/core/base/src/TFileCollection.cxx

Parent Directory Parent Directory


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

Revision 48058 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 15 14:47:41 2012 UTC (2 years, 1 month ago) by rdm
File length: 32908 byte(s)
Diff to previous 44507
From Dario:
preparation for the introduction of the new TDataSetManagerAliEn. Also fixes
TUrl issues 99374.

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 41745 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 3 11:17:39 2011 UTC (3 years, 2 months ago) by rdm
File length: 28982 byte(s)
Diff to previous 39061
From Gerri:
fix TFileCollection::Merge() which was progressively duplicating the objects already
in the list.


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 33101 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 20 10:05:56 2010 UTC (4 years, 9 months ago) by rdm
File length: 26930 byte(s)
Diff to previous 32321
From Gerri:
- In checking for server name match, use the port only if different
  from the default.

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 27854 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 17 21:33:41 2009 UTC (5 years, 10 months ago) by rdm
File length: 16764 byte(s)
Diff to previous 25611
From Jan Fiete,
add name of default ttree.

Revision 25611 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 30 09:56:49 2008 UTC (6 years, 3 months ago) by rdm
File length: 16629 byte(s)
Diff to previous 25430
From Jan:
TFileCollection::AddFromFile() was opening the input file in 
ifstream::out mode.

Revision 25430 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 17 06:45:21 2008 UTC (6 years, 4 months ago) by brun
File length: 16646 byte(s)
Diff to previous 25412
Fix coding conventions.

Revision 25412 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 16 10:08:04 2008 UTC (6 years, 4 months ago) by brun
File length: 16635 byte(s)
Diff to previous 24470
From Jan Fiete:
I added a function that adds the content of one TFileCollection to another one.

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 23025 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 7 16:48:00 2008 UTC (6 years, 9 months ago) by rdm
File length: 15793 byte(s)
Diff to previous 22961
From Gerri:
Add several methods to handle sizes and percentage of available files.

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 20877 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:17:07 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/base/src/TFileCollection.cxx
File length: 11905 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/base/src/TFileCollection.cxx
File length: 11905 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/base/src/TFileCollection.cxx
File length: 11961 byte(s)
Diff to previous 19567
remove :$ from tag line

Revision 19567 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 8 08:51:27 2007 UTC (7 years, 5 months ago) by rdm
Original Path: trunk/base/src/TFileCollection.cxx
File length: 11971 byte(s)
Diff to previous 19558
From Jan-Fiete and me:
addition of kCorrupted bit assigned to TFileInfo's that are staged but are
corrupted in one way or another (partial file transfer, etc.).
Split out AddFromFile() from the TFileCollection ctor.

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9