Skip to content
Snippets Groups Projects
  1. Sep 21, 2006
  2. Sep 20, 2006
  3. Sep 19, 2006
  4. Sep 18, 2006
  5. Sep 17, 2006
  6. Sep 16, 2006
  7. Sep 15, 2006
    • Rene Brun's avatar
      From Anna: · 83cdef90
      Rene Brun authored
      - TFormula::EvalPar() is not changing parameters (the fParams data member) when a user passes his own uparams array as a second argument. Before - sometimes it did, sometimes it didn't.
      - TF1::GradientPar() is now 0 on fixed parameters
      - TFitter::GetConfidenceIntervals() is now taking the fixed parameters into account
      - TLinearFitter::GetConfidenceIntervals()  is now taking the fixed parameters into account
      - TLinearFitter::FixParameter() can now be called before a first fit is performed (an accidently found bug :))
      - TLinearFitter::Eval() now returns 1 if there are errors in the fit. According changes in:
        --TH1
        --TGraph
        --TGraph2D
        --TMultiGraph
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16279 27541ba8-7e3a-0410-8455-c3a389f83636
      83cdef90
    • Rene Brun's avatar
      From Valeriy O. · b89461bb
      Rene Brun authored
      - libAfterImage.tar.gz
        Fixes for few bugs in reading multi-image gif files by
        Sasha Vasko and Valeriy Onuchin
      
      - TASImage.cxx
        o Several image formats can support subimages e.g.
          GIF, TIFF, BMP, XCF, ICO etc. The famous ones are
          animated GIF files.
          Possiblity to read subimages from multi-image files added.
            For example,
              i1 = TImage::Open("anim.gif.0"); // read the first subimage
              i2 = TImage::Open("anim.gif.1"); // read the second subimage
              i4 = TImage::Open("anim.gif.3"); // read the forth subimage
      
        o TASImage::Draw method. Take into account the
          gStyle->GetScreenFactor() when a new canvas displaing an image is created.
      
      - TImageDump.cxx
        o Small correction in comment
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16278 27541ba8-7e3a-0410-8455-c3a389f83636
      b89461bb
    • Rene Brun's avatar
      extend functionality of TFormula::GetExpFormula, adding an optional argument · 7b36a6d8
      Rene Brun authored
      TString TFormula::GetExpFormula(Option_t *option) const
      //*-*  if option contains "p" the returned string will contain the formula
      //*-*  expression with symbolic parameters, eg [0] replaced by the actual value
      //*-*  of the parameter. Example:
      //*-*  if expression in formula is: "[0]*(x>-[1])+[2]*exp(-[3]*x)"
      //*-*  and parameters are 3.25,-4.01,4.44,-0.04, GetExpFormula("p") will return:
      //*-*   "(3.25*(x>+4.01))+(4.44*exp(+0.04*x))"
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16277 27541ba8-7e3a-0410-8455-c3a389f83636
      7b36a6d8
    • Rene Brun's avatar
      From Mihaela: · d8c828c6
      Rene Brun authored
      Fix problem with the reference to TF1 by moving the graphics code to TGeoPainter
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16276 27541ba8-7e3a-0410-8455-c3a389f83636
      d8c828c6
    • Rene Brun's avatar
      Update with new results · b1ee2261
      Rene Brun authored
      git-svn-id: http://root.cern.ch/svn/root/trunk@16275 27541ba8-7e3a-0410-8455-c3a389f83636
      b1ee2261
    • Fons Rademakers's avatar
      From Bertrand: · 55947750
      Fons Rademakers authored
      Fixes core dump on some platforms when exiting root by TSessionViewer
      menu (Thanks to Ilka).
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16274 27541ba8-7e3a-0410-8455-c3a389f83636
      55947750
    • Fons Rademakers's avatar
      Fix for broken parallel build. · 466f333e
      Fons Rademakers authored
      git-svn-id: http://root.cern.ch/svn/root/trunk@16273 27541ba8-7e3a-0410-8455-c3a389f83636
      466f333e
  8. Sep 14, 2006
    • Rene Brun's avatar
      Fix compilation problems on Windows. · 7a0d9b91
      Rene Brun authored
      Comment calls to TF1. TGeo cannot depend on libHist.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16272 27541ba8-7e3a-0410-8455-c3a389f83636
      7a0d9b91
    • Rene Brun's avatar
      From Mihaela Gheata: · 89779548
      Rene Brun authored
      a patch implementing the time evolution of a radioactive material/mixture according the Bateman equations. I also attached a macro that demonstrates this.
      Below there is a quite detailed description of all new features coming with radionucliudes. The same explanations are in the header of the macro.
      _______________________________________________________________________
      A radionuclide (TGeoElementRN) derives from the class TGeoElement and
      provides additional information related to its radioactive properties and
      decay modes.
      
      The radionuclides table is loaded on demand by any call:
         TGeoElementRN *TGeoElementTable::GetElementRN(Int_t atomic_number,
                                                       Int_t atomic_charge,
                                                       Int_t isomeric_number)
      The isomeric number is optional and the default value is 0.
      
      To create a radioactive material based on a radionuclide, one should use the
      constructor:
         TGeoMaterial(const char *name, TGeoElement *elem, Double_t density)
      To create a radioactive mixture, one can use radionuclides as well as stable
      elements:
         TGeoMixture(const char *name, Int_t nelements, Double_t density);
         TGeoMixture::AddElement(TGeoElement *elem, Double_t weight_fraction);
      Once defined, one can retrieve the time evolution for the radioactive
      materials/mixtures by using one of the 2 methods:
      
         void TGeoMaterial::FillMaterialEvolution(TObjArray *population,
                                                  Double_t   precision=0.001)
      To use this method, one has to provide an empty TObjArray object that will
      be filled with all elements coming from the decay chain of the initial
      radionuclides contained by the material/mixture. The precision represent the
      cumulative branching ratio for which decay products are still considered.
      The POPULATION list may contain stable elements as well as radionuclides,
      depending on the initial elements. To test if an element is a radionuclide:
         Bool_t TGeoElement::IsRadioNuclide() const
      All radionuclides in the output population list have attached objects that
      represent the time evolution of their fraction of nuclei with respect to the
      top radionuclide in the decay chain. These objects (Bateman solutions) can be
      retrieved and drawn:
         TGeoBatemanSol *TGeoElementRN::Ratio();
         void TGeoBatemanSol::Draw();
      
      Another method allows to create the evolution of a given radioactive
      material/mixture at a given moment in time:
         TGeoMaterial::DecayMaterial(Double_t time, Double_t precision=0.001)
      The method will create the mixture that result from the decay of a initial
      material/mixture at TIME, while all resulting elements having a fractional
      weight less than PRECISION are excluded.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16271 27541ba8-7e3a-0410-8455-c3a389f83636
      89779548
    • Fons Rademakers's avatar
      From Axel: · 30785779
      Fons Rademakers authored
      remove circular dependency between the cint and utils modules.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16270 27541ba8-7e3a-0410-8455-c3a389f83636
      30785779
    • Olivier Couet's avatar
      - Complete Paint() and PaintH3() helps. · 482724e1
      Olivier Couet authored
      - On TH3 histograms, the option "LEGO" works now like the option "BOX"
        (previously it was not implemented).
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16269 27541ba8-7e3a-0410-8455-c3a389f83636
      482724e1
    • Stefan Roiser's avatar
      Fix for STRUCT. Structs so far were handled as classes. Now the type is set · d148c72f
      Stefan Roiser authored
      to STRUCT explicitly. The API functions handle structs/classes/templated classes
      as
      IsClass - true for Class,Struct,templated Class
      IsStruct = true for Struct
      IsTemplateInstance - true for templated class/struct
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@16268 27541ba8-7e3a-0410-8455-c3a389f83636
      d148c72f
Loading