- Apr 23, 2008
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23458 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23457 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23456 27541ba8-7e3a-0410-8455-c3a389f83636
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23455 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 14, 2008
-
-
Philippe Canal authored
Slight doc update. git-svn-id: http://root.cern.ch/svn/root/trunk@23216 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
- The implementation of TFile throughput and info sending was just sending 'regular' samples about the activity of the single TFile instance that happened to trigger an activity in the right moment. - Now TMonaLisaWriter keeps internally track of every activity and regularly sends summaries valid for all the files which had activity in the last time interval. - Additionally, it's now finalized the infrastructure able to measure and keep track of the file Open latency. A packet is sent for each successful Open, sending the measures of the latencies for the various phases of the open. Currently exploited fully by TAlienFile and TXNetFile. Easy to report from other TFiles too. - Now, the hook for the Close() func triggers sending of a packet containing various information about the performance related to that file only. - Added support also for performance monitoring when writing git-svn-id: http://root.cern.ch/svn/root/trunk@23209 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 11, 2008
-
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@23151 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 10, 2008
-
-
Fons Rademakers authored
castor, chrip, dcache, gfal, io, rfio, sql, xml git-svn-id: http://root.cern.ch/svn/root/trunk@23122 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 09, 2008
-
-
Fons Rademakers authored
Complete the patch for the locality check (some part got lost at some point). git-svn-id: http://root.cern.ch/svn/root/trunk@23094 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 08, 2008
-
-
Philippe Canal authored
Temporarily unset the kIsReferenced bit before cloning the object in order to avoid the (incorrect/unwanted) registration of the clone git-svn-id: http://root.cern.ch/svn/root/trunk@23057 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
Avoid mistaking a Foreign class for which the StreamerInfo? has not yet been built for a class coming from a ROOT file written by ROOT v2 or less. In particular this could lead to a unwanted call to TStreamerInfo?::BuildEmulated in the case where the object is being read from a TBuffer not attached to a TFile (TMessage for example) and lead to a Fatal error. git-svn-id: http://root.cern.ch/svn/root/trunk@23046 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 07, 2008
-
-
Philippe Canal authored
class, we now use the highest possible class version as the current version of the class. Practically, we update the class version when reading new (higher versioned) StreamerInfo until the Class is actually used (i.e. TClass::GetClassVersion is call directly or indirectly). In particular, if a file has several StreamerInfos for the same versioned class, we will use the highest version number as the 'current' class version (as opposed to the lowest until now). git-svn-id: http://root.cern.ch/svn/root/trunk@23002 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 06, 2008
-
-
Philippe Canal authored
the on-file StreamerInfo not only to the current value of the class checksum but also to the checksum calculated using the older algorithms. This patch extends this test to also be done when comparing 2 on-file StreamerInfo. This is implemented via a new function TStreamerInfo::GetCheckSum(UInt_t) which re-implement the TClass::GetCheckSum algorithms using the TStreamerElements instead of the RealData information. [Note that due to slight different in class naming convention, the 2 methods are not completely interchangeable]. This removes spurrious warning message when loading 2 older files which were written with 2 different version of the TClass CheckSum algorithm (and the in-memory class's version is greater than both TStreamerInfos' class version). git-svn-id: http://root.cern.ch/svn/root/trunk@22996 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@22994 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 05, 2008
-
-
Philippe Canal authored
TTree, TH1, TEventList, TEntryList, TGraph2D (and hence their derived classes). The instances of those classes are now added automatically to the current directory only when Constructe'd with arguments or Clone'd and to the directory they are read from when their are stored directly in a TKey. [Note: the default constructor never adds the object to the current directory] The directory auto add can still be disabled for instance of TH1 and TGraph2D by setting TH1::AddDirectory. Additionally one can disable the directory auto add for a specific class by doing: TClass::GetClass("myclass")->SetDirectoryAutoAdd(0) However you might want to also be able to restore the behavior in which case you ought to do: TClass *cl = TClass::GetClass("myclass"); ROOT::DirAutoAdd_t func = cl->GetDirectoryAutoAdd(); cl->SetDirectoryAutoAdd(0); TROOT::ReadingObject is marked as deprecated.. It is still set (as it was) but is no longer used by the above mention classes. NOTE: One side effect of this change, is that instnace of TTree, TH1, TEventList, TEntryList, TGraph2D that are retrieved from a TMessage (i.e. from a socket) no longer auto register themselves to the current ROOT directory. Add a new optional parameter to TDirectory::Append: 'replace' If replace is true (the default is false), the Append will first remove from the directory any existing object and print the message: Replacing existing OldClass: thename (Potential memory leak). Add a new option parameter to TDirectory::CloneObject: 'autoadd' If autoadd is true (the default), CloneObject will call the object 'DirectoryAutoAdd' function (if any) In TDirectory::CloneObject add support for multiple inheritance from TObject where TObject is not the left most base class. Fix memory leak in TGraph2D::operator= (and add TGraph2D::Clear) Cleanup some documentation git-svn-id: http://root.cern.ch/svn/root/trunk@22992 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 03, 2008
-
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@22971 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 02, 2008
-
-
Philippe Canal authored
In MakeProject properly test whether a StreamerElement describe a base class (stl container were not handled correctly git-svn-id: http://root.cern.ch/svn/root/trunk@22953 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
is _not_ optimized. Repair a few place where TStreamerInfo was wasting some space when the streamed collection was empty. Increase TStreamerInfo version to 7 to distinguish the old and new cases. Rename TCollectionProxyInfo::Environ::delete_temp to use_temp to clarify code/semantic and fix its use to properly manage the life time of the temporary used (necessary in the case of memberwise streaming (in non-split mode)). git-svn-id: http://root.cern.ch/svn/root/trunk@22940 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Mar 27, 2008
-
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@22873 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Mar 21, 2008
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@22819 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Mar 20, 2008
-
-
Philippe Canal authored
and reduce the span of those that are still compulsory (hence aiding threadsafety) git-svn-id: http://root.cern.ch/svn/root/trunk@22810 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@22806 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@22804 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@22803 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@22793 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@22783 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Mar 13, 2008
-
-
Philippe Canal authored
Call ./MAKEP (rather than MAKEP) to lift the requirement to have . in PATH for MakeProject git-svn-id: http://root.cern.ch/svn/root/trunk@22648 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Mar 11, 2008
-
-
Fons Rademakers authored
just call TFile::Open() recursively on the path GetFileAndOptions() (instead of the TFile constructor) in the case no dedicated plug-in is found. This fixes a problem with opening "srm://srm.cern.ch//castor/..." and "/castor/..." as reported by Atlas. git-svn-id: http://root.cern.ch/svn/root/trunk@22591 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Mar 10, 2008
-
-
Fons Rademakers authored
detailed monitoring of file open stages in TXNetFile and TAlienFile. Requested by ALICE to track where the time is spent waiting for a file to open (in xrootd, in Castor, in Alien, etc.). git-svn-id: http://root.cern.ch/svn/root/trunk@22556 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Mar 07, 2008
-
-
Fons Rademakers authored
and xrootd. git-svn-id: http://root.cern.ch/svn/root/trunk@22527 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Mar 03, 2008
-
-
Fons Rademakers authored
ROOT can not be compiled with gcc-4.3. Some ROOT source files doesn't contain required #include directives, for example, they use strlen(), but #include <string.h> is missed or malloc() is used and #include <stdlib.h> is missed. Earlier versions of gcc allowed some headers to be included implicitly, but issued a warning (-Wimplicit-function-declaration). Newer one, gcc-4.3 denies such silly behaviour: all required headers must be explicitly included. Attached patch fixes this. Also it fixes another issue, which disallows ROOT to compile under gcc-4.3: C functions don't belong to namespace std, so expressions like std::memcpy() are no longer valid and plain memcpy() should be used instead. git-svn-id: http://root.cern.ch/svn/root/trunk@22419 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Feb 26, 2008
-
-
Philippe Canal authored
Correct the logic that is avoiding the storing of TStreamerInfo for std::string and the STL collection in ForceWriteInfo. Now ForceWriteInfo always ignore the request when the TStreamerInfo itself is for string or STL container. The previous implementation was only ignoring the request for the TStreamerElement that were string or STL container. In addition, the previous implementation was overzealous and was inadvertently ignoring the request for TStreamerElement pointing at any class containing the STL container names AND any class which had :: in them. In particular this meant that slow CloneTree was (fataly) missing the copy of the TStreamerInfo for class that are part of the TTree but had only a base and no member or in some cases where it had only object data members. git-svn-id: http://root.cern.ch/svn/root/trunk@22358 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Feb 21, 2008
-
-
Fons Rademakers authored
add optimizations in TFile::Cp() for netx and add extra error handling to make the routine more robust. git-svn-id: http://root.cern.ch/svn/root/trunk@22278 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
Extend support of TStreamerInfo::ReadValueAux to 'converted' numerical types, hence solving TTree::Draw's schema evolution problem (see http://root.cern.ch/phpBB2/viewtopic.php?t=6225) git-svn-id: http://root.cern.ch/svn/root/trunk@22276 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
patch, which avoids an infinite loop under certain error conditions during the file open procedure via a local cache read. git-svn-id: http://root.cern.ch/svn/root/trunk@22270 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 30, 2008
-
-
Philippe Canal authored
Fix compilation on platform where R__BROKEN_FUNCTION_TEMPLATE is defined (includes at least older Macs) git-svn-id: http://root.cern.ch/svn/root/trunk@21917 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 28, 2008
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@21866 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 26, 2008
-
-
Rene Brun authored
* TStreamerInfo: TPointerCollection adapter class and access methods added to enable handling collections of pointers with existing Read|WriteBuffer code * TCollectionProxy: check if the proxy was initialized when calling HasPointers git-svn-id: http://root.cern.ch/svn/root/trunk@21862 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 22, 2008
-
-
Fons Rademakers authored
this patch prevents all dictionaries from being rebuild when non dict related changes are made in CINT. When the dictionaries change the new cint/inc/cintdictversion.h must be updated which triggers a dictionary rebuild. For example: touch cint/src/v6_var.cxx && make: rebuild no dictionaries touch cint/inc/cintdictversion.h && make: rebuild all dictionaries touch utils/src/rootcint.cxx && make: rebuild all dictionaries git-svn-id: http://root.cern.ch/svn/root/trunk@21802 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Jan 19, 2008
-
-
Rene Brun authored
git-svn-id: http://root.cern.ch/svn/root/trunk@21783 27541ba8-7e3a-0410-8455-c3a389f83636
-