sort by:
Revision Author Date Message Commit Date
bc06fdc cleanup comments git-svn-id: http://root.cern.ch/svn/root/trunk@3783 27541ba8-7e3a-0410-8455-c3a389f83636 26 January 2002, 10:08:46 UTC
09a5620 Remove static variables git-svn-id: http://root.cern.ch/svn/root/trunk@3782 27541ba8-7e3a-0410-8455-c3a389f83636 26 January 2002, 10:06:12 UTC
238b7e5 Remove several static variables. git-svn-id: http://root.cern.ch/svn/root/trunk@3781 27541ba8-7e3a-0410-8455-c3a389f83636 26 January 2002, 10:02:03 UTC
d5d0f28 Allocate workspace dynamically instead of the static arrays xwork,ywork,xworl,yworkl. Remove several static variables in the code. Remove limitation of NPMAX points. git-svn-id: http://root.cern.ch/svn/root/trunk@3780 27541ba8-7e3a-0410-8455-c3a389f83636 26 January 2002, 09:36:46 UTC
b03178d o RooCPMixFit - Add utility class that constructs the prototype PDFs for the sin2beta/mixing fit git-svn-id: http://root.cern.ch/svn/root/trunk@3779 27541ba8-7e3a-0410-8455-c3a389f83636 26 January 2002, 02:13:02 UTC
49388e3 o RooBlindTools - Fix error message in Randomizer() o RooUnblindPrecision - Give access to RooBlindTools 'sin2betaMode' switch in ctor git-svn-id: http://root.cern.ch/svn/root/trunk@3778 27541ba8-7e3a-0410-8455-c3a389f83636 25 January 2002, 23:33:42 UTC
bf0607f In TKey::ReadObj, change the format %x to %lx (required on alpha) git-svn-id: http://root.cern.ch/svn/root/trunk@3777 27541ba8-7e3a-0410-8455-c3a389f83636 25 January 2002, 18:24:19 UTC
aeb1982 comment out is_open() in streambuf. git-svn-id: http://root.cern.ch/svn/root/trunk@3776 27541ba8-7e3a-0410-8455-c3a389f83636 25 January 2002, 18:02:07 UTC
4a7211e import of CINT 5.15.28. For what else is new see http://root.cern.ch/root/Cint.phtml?relnote. git-svn-id: http://root.cern.ch/svn/root/trunk@3759 27541ba8-7e3a-0410-8455-c3a389f83636 25 January 2002, 17:13:51 UTC
3a171b5 Add the following comments in TDirectory::Get // // VERY IMPORTANT NOTE: // In case the class of this object derives from TObject but not // as a first inheritance, one must cast the return value twice. // Example1: Normal case: // class MyClass : public TObject, public AnotherClass // then on return, one can do: // MyClass *obj = (MyClass*)directory->Get("some object of MyClass"); // // Example2: Special case: // class MyClass : public AnotherClass, public TObject // then on return, one must do: // MyClass *obj = (MyClass*)((void*)directory->Get("some object of MyClass"); // git-svn-id: http://root.cern.ch/svn/root/trunk@3758 27541ba8-7e3a-0410-8455-c3a389f83636 25 January 2002, 16:40:08 UTC
91b3439 Modify TKey::ReadObj to support the following cases with multiple inheritance: class MyClass : public TObject, public AnotherClass class MyClass : public AnotherClass, public TObject Replace the calls like: obj->Streamer(*fBufferRef); by gInterpreter->Calc(cmd) The new version should be slightly slower. However, the impact on stress is not visible. Add the following comments: // NOTE: // In case the class of this object derives from TObject but not // as a first inheritance, one must cast the return value twice. // Example1: Normal case: // class MyClass : public TObject, public AnotherClass // then on return, one can do: // MyClass *obj = (MyClass*)key->ReadObj(); // // Example2: Special case: // class MyClass : public AnotherClass, public TObject // then on return, one must do: // MyClass *obj = (MyClass*)((void*)key->ReadObj()); // git-svn-id: http://root.cern.ch/svn/root/trunk@3757 27541ba8-7e3a-0410-8455-c3a389f83636 25 January 2002, 16:39:13 UTC
329ffc1 Modify TClass::BuildRealData to support the following two cases of multiple inheritance: class MyClass : public TObject, public AnotherClass class MyClass : public AnotherClass, public TObject Always call ShowMembers via the interpreter. A direct call like realDataObject->ShowMembers(brd, parent); will not work if the class derives from TObject but not as primary inheritance. git-svn-id: http://root.cern.ch/svn/root/trunk@3756 27541ba8-7e3a-0410-8455-c3a389f83636 25 January 2002, 16:34:45 UTC
826b4d6 remove a number of warnings from the aCC suppressed warnings list that are not relevant anymore since the cause of the warnings has been removed from the ROOT code. git-svn-id: http://root.cern.ch/svn/root/trunk@3755 27541ba8-7e3a-0410-8455-c3a389f83636 25 January 2002, 11:35:12 UTC
bcdce8f Fix a bug in WriteAutoStreamer preventing the code for STL containers to be generated. git-svn-id: http://root.cern.ch/svn/root/trunk@3754 27541ba8-7e3a-0410-8455-c3a389f83636 25 January 2002, 11:34:50 UTC
91282c7 one more strstream[.h] fixup. git-svn-id: http://root.cern.ch/svn/root/trunk@3753 27541ba8-7e3a-0410-8455-c3a389f83636 25 January 2002, 11:21:57 UTC
7623b42 In TStreamerInfo::Build add support for base classes that are STL containers. The following example is now OK: class MyClassList : public TObject, public list<MyClass> { Note that the declaration; class MyClassList : public list<MyClass>, public TObject { will not work. TObject or a class deriving from TObject must be declared first. The reason is that one cast cast an object MyClasslist to a TObject. git-svn-id: http://root.cern.ch/svn/root/trunk@3752 27541ba8-7e3a-0410-8455-c3a389f83636 25 January 2002, 09:25:52 UTC
fc99926 o RooNLLBinding - Use RooAbsPdf::fitContext() to obtain pdf/data binding instead of constructing a RooFitContext. o RooAbsPdf - Declare RooNLLBinding as friend git-svn-id: http://root.cern.ch/svn/root/trunk@3751 27541ba8-7e3a-0410-8455-c3a389f83636 25 January 2002, 00:23:06 UTC
212664d correct comments in GetColor(). git-svn-id: http://root.cern.ch/svn/root/trunk@3750 27541ba8-7e3a-0410-8455-c3a389f83636 24 January 2002, 23:31:12 UTC
1531eb6 o RooTreeData - Modify cloning procedure of imported trees. Originally we used CloneTree(), but that crashed on TChains Then I changed to Clone(), but that apparently crashes on TTrees... Now a dynamic_cast checks for the type and used Clone() for TChains and CloneTree() for non-TChains. git-svn-id: http://root.cern.ch/svn/root/trunk@3749 27541ba8-7e3a-0410-8455-c3a389f83636 24 January 2002, 20:00:50 UTC
ed492d5 rename IOSFwd.h and IOStream.h to Riosfwd.h and Riostream.h. The change is necessary because on Windows which is case insensitive IOStream.h hides the real iostream.h. git-svn-id: http://root.cern.ch/svn/root/trunk@3748 27541ba8-7e3a-0410-8455-c3a389f83636 24 January 2002, 11:39:31 UTC
6b35b48 Add code in TStreamerBase::ReadBuffer and WriteBuffer to accept base classes for which no Streamer is available (do nothing case). git-svn-id: http://root.cern.ch/svn/root/trunk@3747 27541ba8-7e3a-0410-8455-c3a389f83636 24 January 2002, 10:49:59 UTC
bdf85d5 Modify TTree::SetDirectory to also call TBranch::SetFile git-svn-id: http://root.cern.ch/svn/root/trunk@3746 27541ba8-7e3a-0410-8455-c3a389f83636 24 January 2002, 09:54:23 UTC
eef4894 Extend the tutorial dirs.C to show how to save directory and histogram pointers. Add a loop to navigate in the directory structure and fill the histograms. git-svn-id: http://root.cern.ch/svn/root/trunk@3745 27541ba8-7e3a-0410-8455-c3a389f83636 24 January 2002, 09:21:38 UTC
270fe12 Fix from Philippe: It is a workaroung a know bug in the xxx Microsoft compiler. It should be fixed by microsoft .... but in the meantime it makes the life of users of namespace on windows a little bit easier (actually, without it you can not use namespace :( ). git-svn-id: http://root.cern.ch/svn/root/trunk@3744 27541ba8-7e3a-0410-8455-c3a389f83636 24 January 2002, 07:47:05 UTC
62f48bc Fix a precision problem in TMath::Prob. The Gaussian approximation cannot be used for values of the q parameter less than 5. One must use the Gamma function instead. git-svn-id: http://root.cern.ch/svn/root/trunk@3743 27541ba8-7e3a-0410-8455-c3a389f83636 23 January 2002, 22:48:07 UTC
e4fccb1 use IOSFwd.h in headers instead of <iosfwd> or many other ifdef'ed variant and IOStream.h in the source instead of <iostream[.h]>, <fstream[.h]> and <iomanip[.h]>. git-svn-id: http://root.cern.ch/svn/root/trunk@3742 27541ba8-7e3a-0410-8455-c3a389f83636 23 January 2002, 17:52:52 UTC
d74fbab wrappers around iostream, fstream and iomanip. They make sure the right include for the right system are used (either <iostream.h> or <iostream>, etc.). For example the aCC compiler prints a warning whenever it sees a file ending in io****.h mentioning that is is obsolete. git-svn-id: http://root.cern.ch/svn/root/trunk@3741 27541ba8-7e3a-0410-8455-c3a389f83636 23 January 2002, 17:46:06 UTC
553bdc0 add TList.h where needed (so these classes compile fine if we decide to remove TList.h from TNamed.h). git-svn-id: http://root.cern.ch/svn/root/trunk@3740 27541ba8-7e3a-0410-8455-c3a389f83636 23 January 2002, 15:48:05 UTC
b4ea0d9 In THistPainter::PaintText use gStyle->GetPaintTextFormat instead of the fix format "g" git-svn-id: http://root.cern.ch/svn/root/trunk@3739 27541ba8-7e3a-0410-8455-c3a389f83636 23 January 2002, 09:34:58 UTC
d42a924 Implement new member TString fPaintTextFormat; //to be used by TH2::PaintText with the corresponding getter/setter const char *GetPaintTextFormat(); void SetPaintTextFormat(const char *format="g") git-svn-id: http://root.cern.ch/svn/root/trunk@3738 27541ba8-7e3a-0410-8455-c3a389f83636 23 January 2002, 09:33:49 UTC
fef3689 TBranch::SetBasketSize moved to the implementation file. The function checks that the specified basket size is greater than fEntryOffsetLen. The functions SetBasketSize in all derived classes call TBranch::SetBasketSize to get the same protection. git-svn-id: http://root.cern.ch/svn/root/trunk@3737 27541ba8-7e3a-0410-8455-c3a389f83636 23 January 2002, 08:38:59 UTC
ef3d82c o RooMCStudy - Bug fix in run() : do not calculate pulls when only generating - Add plotParamOn() member to plot distribution of fitted parameter values on exisiting frame git-svn-id: http://root.cern.ch/svn/root/trunk@3736 27541ba8-7e3a-0410-8455-c3a389f83636 23 January 2002, 02:47:24 UTC
d5dcef3 o RooKeysPdf - Fix array overflow by one unit (caused undefined value at upper limit of fit range) Generally, this class is pretty horrible and could use some cleaning git-svn-id: http://root.cern.ch/svn/root/trunk@3735 27541ba8-7e3a-0410-8455-c3a389f83636 22 January 2002, 19:53:42 UTC
d749b91 two more changes for the GNU/HURD port. git-svn-id: http://root.cern.ch/svn/root/trunk@3734 27541ba8-7e3a-0410-8455-c3a389f83636 22 January 2002, 18:17:01 UTC
b302822 custom INSTALL and INSTALLDATA commands. git-svn-id: http://root.cern.ch/svn/root/trunk@3733 27541ba8-7e3a-0410-8455-c3a389f83636 22 January 2002, 18:16:39 UTC
79c10ba port to Debian distribution of GNU/Hurd by Christian Holm. git-svn-id: http://root.cern.ch/svn/root/trunk@3732 27541ba8-7e3a-0410-8455-c3a389f83636 22 January 2002, 10:53:29 UTC
f48487d add -DR__ACC flag for HPUX aCC compiler. git-svn-id: http://root.cern.ch/svn/root/trunk@3731 27541ba8-7e3a-0410-8455-c3a389f83636 21 January 2002, 19:17:59 UTC
5c4b95e Version 3.03 of the logos. git-svn-id: http://root.cern.ch/svn/root/trunk@3730 27541ba8-7e3a-0410-8455-c3a389f83636 21 January 2002, 18:09:19 UTC
884aae3 remove more trailing blanks so file compiles on Win32. git-svn-id: http://root.cern.ch/svn/root/trunk@3729 27541ba8-7e3a-0410-8455-c3a389f83636 21 January 2002, 18:08:35 UTC
99b8f24 Do not call anymore IgnoreTObjectStreamer for TVector3. Many users want to put TVector3 or TLorentzVector in TRef/TRefArray. The old behaviour may be obtained by explicitly calling TVector3::Class()->IgnoreTObjectStreamer(); TLorentzVector::Class()->IgnoreTObjectStreamer(); git-svn-id: http://root.cern.ch/svn/root/trunk@3728 27541ba8-7e3a-0410-8455-c3a389f83636 21 January 2002, 16:31:43 UTC
67835c0 Modify TLorentzVector::Streamer to use automatic schema evolution. The class version is incremented to 4. git-svn-id: http://root.cern.ch/svn/root/trunk@3727 27541ba8-7e3a-0410-8455-c3a389f83636 21 January 2002, 16:29:20 UTC
6507964 Protect the Init function in case gPad=0 git-svn-id: http://root.cern.ch/svn/root/trunk@3726 27541ba8-7e3a-0410-8455-c3a389f83636 21 January 2002, 14:01:29 UTC
bffe2e4 Activate the help file under win32gdk git-svn-id: http://root.cern.ch/svn/root/trunk@3725 27541ba8-7e3a-0410-8455-c3a389f83636 21 January 2002, 11:04:48 UTC
9d03a05 Add Venus to the list of exluded packages git-svn-id: http://root.cern.ch/svn/root/trunk@3724 27541ba8-7e3a-0410-8455-c3a389f83636 21 January 2002, 07:27:07 UTC
20557fa mention to include $ROOTSYS/man in the MANPATH environment variable. git-svn-id: http://root.cern.ch/svn/root/trunk@3723 27541ba8-7e3a-0410-8455-c3a389f83636 21 January 2002, 01:28:01 UTC
a03d1e6 correct some comments in the script. git-svn-id: http://root.cern.ch/svn/root/trunk@3722 27541ba8-7e3a-0410-8455-c3a389f83636 21 January 2002, 01:26:30 UTC
609f725 add new target "static" to the Makefile, "make static" will generate via the "build/unix/makestatic.sh" script an archive library "lib/libRoot.a" and a statically linked executable "bin/roota". git-svn-id: http://root.cern.ch/svn/root/trunk@3721 27541ba8-7e3a-0410-8455-c3a389f83636 21 January 2002, 01:23:29 UTC
aa9d88a in MakeWildcard() added special treatment for "/", i.e. "*" is preceded by all characters except "/" (was all characters including "/"). This change allows the easy matching of pathnames, e.g. "*.root" will match "aap.root", but not "pipo/aap.root", the latter can be matched by "pipo/*.root" or by "*/*.root". Mod proposed by Victor Perev. for STAR. git-svn-id: http://root.cern.ch/svn/root/trunk@3720 27541ba8-7e3a-0410-8455-c3a389f83636 20 January 2002, 17:48:45 UTC
7c8b1c1 Mega patch by Christian Holm concerning the configure, build and Debian and RedHat packaging scripts. The configure script has been rationalized (introduction of two shell functions to find package headers and libraries). Extensive update of the INSTALL writeup, including description of all new packages (SapDB, PgSql, etc.). More options to the root-config script. Man page for memprobe. Big overhaul of the Debian and RedHat packaging scripts, supporting the new libraries. git-svn-id: http://root.cern.ch/svn/root/trunk@3719 27541ba8-7e3a-0410-8455-c3a389f83636 20 January 2002, 14:23:53 UTC
a1dc5cc Add forward declaration of TCollection git-svn-id: http://root.cern.ch/svn/root/trunk@3718 27541ba8-7e3a-0410-8455-c3a389f83636 20 January 2002, 11:47:48 UTC
73ef11c In TTreePlayer::TakeAction and TakeEstimate, use the new function SetPoint from TPolyMarker or TPolyMarker3D instead of filling the array directly. SetPoint takes care of setting the variable fLastPoint automatically. git-svn-id: http://root.cern.ch/svn/root/trunk@3717 27541ba8-7e3a-0410-8455-c3a389f83636 20 January 2002, 10:25:03 UTC
4841911 Add new function Int_t Merge(TCollection *list) to merge the TEventList objects in the collection. git-svn-id: http://root.cern.ch/svn/root/trunk@3716 27541ba8-7e3a-0410-8455-c3a389f83636 20 January 2002, 10:22:43 UTC
7ba112e Add new function Int_t Merge(TCollection *list) All classes created by TTreePlayer::DrawSelect have now a Merge function. This function will be called by the PROOF system currently in development to merge the list of objects generated by each slave processor on the master server. In case of histograms (1,2,3-D, profiles) Merge computes the min/max for the x, y or z axis, the new number of bins, if necessary. iT add bin contents, errors and statistics. The function returns the merged number of entries if the merge is successfull, -1 otherwise. In case of polymarkers (2 or 3-d), Merge adds the list of markers in the collection to the current object. An example to merge a list of histograms with different binning, but having a lowest common denominator bin size is shown below: void atest() { TH1F *h1 = new TH1F("h1","h1",110,-110,0); TH1F *h2 = new TH1F("h2","h2",220,0,110); TH1F *h3 = new TH1F("h3","h3",330,-55,55); TRandom r; for (Int_t i=0;i<10000;i++) { h1->Fill(r.Gaus(-55,10)); h2->Fill(r.Gaus(55,10)); h3->Fill(r.Gaus(0,10)); } TList *list = new TList; list->Add(h1); list->Add(h2); list->Add(h3); TH1F *h = (TH1F*)h1->Clone("h"); h->Reset(); h.Merge(list); h->Draw(); git-svn-id: http://root.cern.ch/svn/root/trunk@3715 27541ba8-7e3a-0410-8455-c3a389f83636 20 January 2002, 10:21:47 UTC
00c7e4b Add new data member fLastPoint. Add the following new functions: virtual Int_t GetLastPoint() const { return fLastPoint;} virtual Int_t Merge(TCollection *list); virtual Int_t SetNextPoint(Double_t x, Double_t y); // *MENU* virtual Int_t Size() const {return fLastPoint+1;} git-svn-id: http://root.cern.ch/svn/root/trunk@3714 27541ba8-7e3a-0410-8455-c3a389f83636 20 January 2002, 10:11:40 UTC
5e4e4f4 Add new data member fLastPoint. Add the following new functions: virtual Int_t GetLastPoint() const { return fLastPoint;} virtual Int_t Merge(TCollection *list); virtual Int_t SetNextPoint(Double_t x, Double_t y); // *MENU* virtual void SetPolyLine(Int_t n); virtual void SetPolyLine(Int_t n, Float_t *x, Float_t *y, Option_t *option=""); virtual void SetPolyLine(Int_t n, Double_t *x, Double_t *y3, Option_t *option=""); virtual Int_t Size() const {return fLastPoint+1;} git-svn-id: http://root.cern.ch/svn/root/trunk@3713 27541ba8-7e3a-0410-8455-c3a389f83636 20 January 2002, 10:06:38 UTC
053277f Add new function Int_t Merge(TCollection *list) to merge all the TPolyLine3D/TPolyMarker3D in the collection. Preset to 0 the vector of points when expanding the array. git-svn-id: http://root.cern.ch/svn/root/trunk@3712 27541ba8-7e3a-0410-8455-c3a389f83636 20 January 2002, 10:02:41 UTC
c539941 o RooRealSumPdf - Allow also N functions + N coefficients scenario in addition to N functions + N-1 coefficients git-svn-id: http://root.cern.ch/svn/root/trunk@3711 27541ba8-7e3a-0410-8455-c3a389f83636 19 January 2002, 22:43:05 UTC
84a9a1e Remove special case for TLorentzVector in the Build function. git-svn-id: http://root.cern.ch/svn/root/trunk@3710 27541ba8-7e3a-0410-8455-c3a389f83636 19 January 2002, 13:19:29 UTC
57febc9 Increment class version to 3. Modify Streamer to call TObject::Streamer With this change, TLorentzVector objects may be referenced via TRef or TRefArray. To obtain the previous behaviour, call TLorentzVector::Class()->IgnoreTObjectStreamer(); git-svn-id: http://root.cern.ch/svn/root/trunk@3709 27541ba8-7e3a-0410-8455-c3a389f83636 19 January 2002, 13:18:38 UTC
70dbce2 Start with 3.03/00 git-svn-id: http://root.cern.ch/svn/root/trunk@3708 27541ba8-7e3a-0410-8455-c3a389f83636 19 January 2002, 11:12:08 UTC
b8fa6b1 Add a new function TTree::GetEntriesFast. In case of a Tree, both GetEntries and GetEntriesFast return directly fEntries. In case of a TChain, GetEntries will force the read of the Tree headers in all the files to get the number of entries and set the table of offsets. The new function GetEntriesFast is used internally by TChain or TTreePlayer to make sure that the TChain files are processed only once in a given query. TTreePlayer::MakeStats has been modified to call GetEntriesFast instead of GetEntries. These changes make the new functionality of TChain::Add backward compatible. git-svn-id: http://root.cern.ch/svn/root/trunk@3707 27541ba8-7e3a-0410-8455-c3a389f83636 19 January 2002, 11:04:41 UTC
2171449 Move some inline functions to the implementation files with the relevant protections in case the default constructors are called git-svn-id: http://root.cern.ch/svn/root/trunk@3706 27541ba8-7e3a-0410-8455-c3a389f83636 19 January 2002, 08:25:13 UTC
ca5e054 o RooRealSumPdf - New class that implements the sum of a series of RooAbsReal functions sum(i) coef_i * func_i + [ 1-sum_i coef_i ] * func_n as a PDF. The specific advantage of this class over an implementation in RooGenericPdf is that the overall normalization integral is calculated internally as sum(i) coef_i * Int(func_i) + [ 1-sum_i coef_i ] * Int(func_n) making fits that only have coef_i as floating parameters much faster and less sensitive to numerical precision of the component integrals (e.g for Dalitz fits) git-svn-id: http://root.cern.ch/svn/root/trunk@3705 27541ba8-7e3a-0410-8455-c3a389f83636 19 January 2002, 01:53:10 UTC
1e0a23e fix by Phillipe to correct earlier introduced problem. git-svn-id: http://root.cern.ch/svn/root/trunk@3704 27541ba8-7e3a-0410-8455-c3a389f83636 19 January 2002, 01:26:06 UTC
6b58aa5 port to HP-UX 11i version 1.5 (IA-64) with the aCC compiler. git-svn-id: http://root.cern.ch/svn/root/trunk@3703 27541ba8-7e3a-0410-8455-c3a389f83636 18 January 2002, 18:46:07 UTC
32683a1 Replace constant 1000000000 by kBigNumber git-svn-id: http://root.cern.ch/svn/root/trunk@3702 27541ba8-7e3a-0410-8455-c3a389f83636 18 January 2002, 15:06:07 UTC
54f79a2 Remove PROOF code and dependencies git-svn-id: http://root.cern.ch/svn/root/trunk@3701 27541ba8-7e3a-0410-8455-c3a389f83636 18 January 2002, 14:51:19 UTC
0f694d8 GetListBox() returns a "TGListBox*" and not anymore a "const TGListBox*". git-svn-id: http://root.cern.ch/svn/root/trunk@3700 27541ba8-7e3a-0410-8455-c3a389f83636 18 January 2002, 14:25:39 UTC
a865ee4 relocate some proof file to remove circular dependencies between the treeplayer and proof shared libraries. Also rename TPlayer to TProofPlayer et al. Also remove Begin() from TSelector, use Begin(0) instead. This to be backward compatible with existing TSelector scripts that don't have Begin() and therefor give warnings about Begin() being hidden in the base class. git-svn-id: http://root.cern.ch/svn/root/trunk@3699 27541ba8-7e3a-0410-8455-c3a389f83636 18 January 2002, 14:24:10 UTC
b454404 move TDSet to base and TPlayer and TEventIter to proof. git-svn-id: http://root.cern.ch/svn/root/trunk@3698 27541ba8-7e3a-0410-8455-c3a389f83636 18 January 2002, 14:19:37 UTC
1c61fcd Add new functionality to the histogram package via the new functions SetBuffer, BufferFill and BufferEmpty. virtual void SetBuffer(Int_t buffersize, Option_t *option=""); virtual Int_t BufferFill(Axis_t x, Stat_t w); //protected virtual Int_t BufferEmpty(); Add new members: Int_t fBufferSize; //fBuffer size Double_t *fBuffer; //[fBufferSize] entry buffer When SetBuffer is called, a dynamic buffer is created to hold up to fBufferSize entries. When the standard Fill functions are called, the arguments are put in the buffer, if a buffer is specified. When the number of entries in the buffer is greater than fBufferSize, the function BufferEmpty is automatically called. BufferEmpty will fill the histogram with the entries in the buffer. In case one of the axis has its lower limit greater or equal to its upper limit, BufferEmpty calls the THLimitsFinder::FindGoodLimits to compute the axis limits based on the entries in the current buffer. When an histogram is created with an axis lower limit greater or equal to its upper limit, the SetBuffer is automatically called with an argument fBufferSize equal to fgBufferSize (default value=1000). fgBufferSize may be reset via the static function TH1::SetDefaultBufferSize. git-svn-id: http://root.cern.ch/svn/root/trunk@3697 27541ba8-7e3a-0410-8455-c3a389f83636 18 January 2002, 11:38:28 UTC
9bdd29a All functions looping in Tree/Chain entries modified to take into account the new default when creating a TChain. When starting the loop on a TChain, the number of entries is not known. TChain.GetEntries() return a large number. A protection is added inside the loop when the entry number does not exist. Also, add an additional statement in the code generated by TTreePlayer::MakeClass to protect rdading beyond the last entry in a TChain. git-svn-id: http://root.cern.ch/svn/root/trunk@3696 27541ba8-7e3a-0410-8455-c3a389f83636 18 January 2002, 11:35:41 UTC
9a75ee3 Change the default option for nentries when calling TChain::Add The previous default (-1) is changed to 1000000000. TChain::Add modified to support the new default. By default the file is not opened when calling TChain::Add Int_t TChain::Add(const char *name, Int_t nentries) // A- if nentries <= 0, the file is connected and the tree header read // in memory to get the number of entries. // // B- if (nentries > 0, the file is not connected, nentries is assumed to be // the number of entries in the file. In this case, no check is made that // the file exists and the Tree existing in the file. This second mode // is interesting in case the number of entries in the file is already stored // in a run data base for example. // // C- if (nentries == 1000000000) (default), the file is not connected. // the number of entries in each file will be read only when the file // will need to be connected to read an entry. // This option is the default and very efficient if one process // the chain sequentially. Note that in case TChain::GetEntry(entry) // is called and entry refers to an entry in the 3rd file, for example, // this forces the Tree headers in the first and second file // to be read to find the number of entries in these files. // Note that if one calls TChain::GetEntries() after having created // a chain with this default, GetEntries will return 1000000000! // One can force the Tree headers of all the files to be read // by calling TChain::GetEntry(bigentry) with bigentry greater than // the first entry number of the last file, eg 999999999. // To compute the number of entries in a chain built with this option, do: // chain.GetEntry(999999999); // chain.GetEntries(); git-svn-id: http://root.cern.ch/svn/root/trunk@3695 27541ba8-7e3a-0410-8455-c3a389f83636 18 January 2002, 11:32:13 UTC
9ce801f Move member fNotify from TChain to TTree. Same for functions SetNotiFy and GetNotify. With this change SetNotify may be called on a TTree or TChain. (Thanks Axel Naumann for the suggestion) git-svn-id: http://root.cern.ch/svn/root/trunk@3694 27541ba8-7e3a-0410-8455-c3a389f83636 18 January 2002, 11:29:25 UTC
d759cdd Protect the constructor against too small buffer sizes. The buffer size is set internally to the minimum of buffersize and 1000+buffersize git-svn-id: http://root.cern.ch/svn/root/trunk@3693 27541ba8-7e3a-0410-8455-c3a389f83636 18 January 2002, 09:50:59 UTC
33f9673 Fix from Philippe for the following problem: Rootcint doesn't parse them correctly, assuming that it's std::vector<constnamespace::TMyClass*> and complaining about not knowing constnamespace. Could one of you improve that, please? Using const* in stl containers is common, because it's good code writing (Paul says: "A pointer is nasty enough, at least make it const"). git-svn-id: http://root.cern.ch/svn/root/trunk@3692 27541ba8-7e3a-0410-8455-c3a389f83636 17 January 2002, 17:45:51 UTC
c666886 increase kMAXPATHLEN and fgMaxpat to 2048 (Windows max path length). git-svn-id: http://root.cern.ch/svn/root/trunk@3691 27541ba8-7e3a-0410-8455-c3a389f83636 17 January 2002, 12:15:14 UTC
04a41c3 need (void*) cast in return of InterfaceMethod(). git-svn-id: http://root.cern.ch/svn/root/trunk@3690 27541ba8-7e3a-0410-8455-c3a389f83636 17 January 2002, 12:14:09 UTC
e332cb4 o RooSimPdfBuilder - Make inherit from TObject - Change return value of buildPdf() from RooAbsPdf* to RooSimultaneous* git-svn-id: http://root.cern.ch/svn/root/trunk@3689 27541ba8-7e3a-0410-8455-c3a389f83636 17 January 2002, 01:32:18 UTC
bc16dbc iThis patch by Philippe ensures that TClass::GetMethod returns something sensible even if the class is interpreted. git-svn-id: http://root.cern.ch/svn/root/trunk@3688 27541ba8-7e3a-0410-8455-c3a389f83636 16 January 2002, 21:13:38 UTC
5f9453c Modify the TBranchElement constructor in case of a TClonesArray. The TClonesArray branch counter does not need an fEntryOffset in its basket. The new function Tbasket::deleteEntryOffset is called in this case. This makes the buffer for the TClonesArray counter much shorter. It was a non negligible overhead in case of very small objects in the array. git-svn-id: http://root.cern.ch/svn/root/trunk@3687 27541ba8-7e3a-0410-8455-c3a389f83636 16 January 2002, 18:12:25 UTC
91f1704 add new function TBasket::DeleteEntryOffset. This function is called by the new version of TBranchElement to delete the fEntryOffset buffer not necessary in case of a TClonesArray. git-svn-id: http://root.cern.ch/svn/root/trunk@3686 27541ba8-7e3a-0410-8455-c3a389f83636 16 January 2002, 18:10:23 UTC
fac6dc8 o RooAbsHiddenReal - Add optional category to constructor that serves as on/off switch for the blinding state git-svn-id: http://root.cern.ch/svn/root/trunk@3685 27541ba8-7e3a-0410-8455-c3a389f83636 16 January 2002, 17:19:49 UTC
4a43059 Add an optional argument to SetNdivisions. void TAttAxis::SetNdivisions(Int_t n, Bool_t optim) { // Set the number of divisions for this axis // if optim = kTRUE (default), the number of divisions will be // optimized around the specified value. // if optim = kFALSE, or n < 0, the axis will be forced to use // exactly n divisions. git-svn-id: http://root.cern.ch/svn/root/trunk@3684 27541ba8-7e3a-0410-8455-c3a389f83636 16 January 2002, 15:30:54 UTC
d63670e Fix by Dave Morrison to prevent erroneous inclusion of algorithm.h. git-svn-id: http://root.cern.ch/svn/root/trunk@3681 27541ba8-7e3a-0410-8455-c3a389f83636 16 January 2002, 15:20:47 UTC
9c683fb set the default for drawing scatter-plots to "" instead of "hist" git-svn-id: http://root.cern.ch/svn/root/trunk@3680 27541ba8-7e3a-0410-8455-c3a389f83636 16 January 2002, 14:35:21 UTC
0046a34 Add new functions: Int_t ExecCommand(Int_t px, Int_t py, char command); void GetPosition(Float_t &longitude, Float_t &latitude, Float_t &psi); ExecCommand may be called from a script to animate an X3D picture // px, py mouse position //command = 0 --- move to px,py // = w --- wireframe mode // = e --- hidden line mode // = r --- hidden surface mode // = u --- move object down // = i --- move object up // = o --- toggle controls style // = s --- toggle stereo display // = d --- toggle blue stereo view // = f --- toggle double buffer // = h --- move object right // = j --- move object forward // = k --- move object backward // = l --- move object left // = x a --- rotate about x // = y b --- rotate about y // = z c --- rotate about z // = 1 2 3 --- autorotate about x // = 4 5 6 --- autorotate about y // = 7 8 9 --- autorotate about z // = [ ] { } --- adjust focus // Example: /* { gSystem->Load("libX3d"); TCanvas *c1 = new TCanvas("c1"); TFile *f = new TFile("hsimple.root"); TTree *ntuple = (TTree*)f->Get("ntuple"); ntuple->SetMarkerColor(kYellow); ntuple->Draw("px:py:pz"); TViewerX3D *x3d = new TViewerX3D(c1,""); for (Int_t i=0;i<500;i++) { Int_t px = i%500; Int_t py = (2*i)%200; x3d->ExecCommand(px,py,0); //rotate if (i%20 >10) x3d->ExecCommand(px,py,'j'); //zoom if (i%20 <10) x3d->ExecCommand(px,py,'k'); //unzoom } } */ git-svn-id: http://root.cern.ch/svn/root/trunk@3679 27541ba8-7e3a-0410-8455-c3a389f83636 16 January 2002, 13:53:53 UTC
a021a20 Add new function x3d_exec_command(int px, int py, char command). This function uses a subset of the code in Updateposition. It is called by the new function TViewerX3D::ExecCommand. git-svn-id: http://root.cern.ch/svn/root/trunk@3678 27541ba8-7e3a-0410-8455-c3a389f83636 16 January 2002, 13:51:43 UTC
74aaa7f fix finite() and isnan() being undefined problems when compiling with the gcc -ansi option. This fixes also the G4 incompatibility problem since the latest G4 makefile was setting -ansi for gcc. git-svn-id: http://root.cern.ch/svn/root/trunk@3677 27541ba8-7e3a-0410-8455-c3a389f83636 16 January 2002, 11:00:19 UTC
b772884 Include uniform blinding mechanism git-svn-id: http://root.cern.ch/svn/root/trunk@3676 27541ba8-7e3a-0410-8455-c3a389f83636 16 January 2002, 09:15:21 UTC
a91748c o RooBlindTools - Add switch to activate 'sin2beta' mode (different randomizer) o RooUnblind* - Adapt to changes in RooAbsHiddenReal (isHidden() switch function) o RooGaussModel - Add automatic detection of asymptotic values of normalization integrals of certain convolutions and return fixed asymptotic integral in such cases instead of the calculated value. (Threshold at 6 sigma) git-svn-id: http://root.cern.ch/svn/root/trunk@3675 27541ba8-7e3a-0410-8455-c3a389f83636 16 January 2002, 01:35:55 UTC
bc2aa72 In SavePrimitive, save the draw option. git-svn-id: http://root.cern.ch/svn/root/trunk@3674 27541ba8-7e3a-0410-8455-c3a389f83636 15 January 2002, 15:40:01 UTC
c293057 Add new enum kIsInteger. git-svn-id: http://root.cern.ch/svn/root/trunk@3673 27541ba8-7e3a-0410-8455-c3a389f83636 15 January 2002, 10:34:30 UTC
b7d5d3d Use THLimitsFinder instead of TGaxis::Optimize. git-svn-id: http://root.cern.ch/svn/root/trunk@3672 27541ba8-7e3a-0410-8455-c3a389f83636 15 January 2002, 10:33:34 UTC
624b9a6 Delete function FindGoodLimits. TreePlayer uses THLimitsFinder instead. git-svn-id: http://root.cern.ch/svn/root/trunk@3671 27541ba8-7e3a-0410-8455-c3a389f83636 15 January 2002, 10:32:55 UTC
9d103aa Move function SetAxis to implementation file. This function sets the Faxis member. It also sets the TAxis bit kIsInteger if required. git-svn-id: http://root.cern.ch/svn/root/trunk@3670 27541ba8-7e3a-0410-8455-c3a389f83636 15 January 2002, 10:31:28 UTC
8020c42 Delete function FindGoodLimits. Use services of THLimitsFinder in TTreePlayer::SetEstimate. Modify DrawSelect to use the modified function TTreeFormula::SetAxis. This new function takes care of setting the bit kIsInteger in the axis. This also fixes a problem when histograming integer variables. The number of bins was not correctly recomputed. Add a fix from Philippe in MakeClass to initialize members holding object pointers. git-svn-id: http://root.cern.ch/svn/root/trunk@3669 27541ba8-7e3a-0410-8455-c3a389f83636 15 January 2002, 10:29:06 UTC
387ef48 Remove the static function Optimize. Use THLimitsFinder instead. git-svn-id: http://root.cern.ch/svn/root/trunk@3668 27541ba8-7e3a-0410-8455-c3a389f83636 15 January 2002, 10:24:17 UTC
3234801 Add new class THLimitsFinder git-svn-id: http://root.cern.ch/svn/root/trunk@3667 27541ba8-7e3a-0410-8455-c3a389f83636 15 January 2002, 10:23:02 UTC
81df03d New class to compute nice axis limits. This class is called by the histograming package and by TTree::Draw. git-svn-id: http://root.cern.ch/svn/root/trunk@3666 27541ba8-7e3a-0410-8455-c3a389f83636 15 January 2002, 10:22:27 UTC
back to top