[root] / trunk / roofit / roofit / src / RooIntegralMorph.cxx Repository:
ViewVC logotype

Log of /trunk/roofit/roofit/src/RooIntegralMorph.cxx

Parent Directory Parent Directory


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

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: 24087 byte(s)
Diff to previous 36209
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 36209 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 8 21:37:36 2010 UTC (4 years, 3 months ago) by wouter
File length: 24065 byte(s)
Diff to previous 36207
   Second batch of Coverity fixes

Revision 36207 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 8 19:00:29 2010 UTC (4 years, 3 months ago) by wouter
File length: 24031 byte(s)
Diff to previous 30405
  First batch of Coverity fixes

Revision 30405 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 24 15:03:32 2009 UTC (5 years, 4 months ago) by wouter
File length: 23999 byte(s)
Diff to previous 30378
    o  RooIntegralMorph
          
        - Bug fix in handling of normalization of cached objects

Revision 30378 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 23 13:42:12 2009 UTC (5 years, 4 months ago) by wouter
File length: 23866 byte(s)
Copied from: branches/dev/roostats/roofit/roofit/src/RooIntegralMorph.cxx revision 30375
Diff to previous 30341
  o  Import latest round of updates of roofit(core)
     from dev branch

Revision 30341 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 21 18:58:24 2009 UTC (5 years, 4 months ago) by wouter
Original Path: branches/dev/roostats/roofit/roofit/src/RooIntegralMorph.cxx
File length: 23866 byte(s)
Copied from: branches/dev/roostats/roofit/roofitcore/src/RooLinearMorph.cxx revision 30296
Diff to previous 25755
  o RooLinearMorph,RooIntegralMorph,LinkDef,Module.mk

    - Rename RooLinearMorph to RooIntegralMorph and
      move it from roofitcore to roofit

  o RooRealIntegral

    - Initial data member _cacheNum in all ctors


  o RooWorkspace

    - Protect Clone() call in import(TObject&) with
      a TH1::AddDirectory(kFALSE) to make sure
      that cloned object does not attach itself
      to the present directory

  o RooSimultaneous

    - Fix bug in ctor in handling of sim-of-sim cases


  o RooCompositeDataStore

    - Implement optimization caching forwarding methods
      to complete functionality of this class

Revision 25755 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 9 13:48:23 2008 UTC (6 years, 3 months ago) by moneta
Original Path: branches/dev/roostats/roofit/roofitcore/src/RooLinearMorph.cxx
File length: 23782 byte(s)
Diff to previous 24278
- create roostats development branch

Revision 24278 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 15 15:21:16 2008 UTC (6 years, 7 months ago) by wouter
Original Path: trunk/roofit/roofitcore/src/RooLinearMorph.cxx
File length: 23782 byte(s)
Diff to previous 24121
   o RooMPSentinel WHERE RooGenContext RooLinearMorph RooHistFunc RooInvTransform RooFracRemainder 
     RooIntegrator2D RooGaussKronrodIntegrator1D RooFitResult RooFFTConvPdf RooHist RooFormula RooIntegrator1D 
     RooMCStudy RooGenericPdf RooIntegratorBinding RooMPSentinel RooImproperIntegrator1D RooExtendPdf RooInt 
     RooLinTransBinning RooLinkedList RooLinkedListElem RooGenCategory RooList RooGrid RooLinkedListIter 
     RooMCIntegrator RooHistPdf RooListProxy RooFormulaVar RooHistError RooLinearVar RooGenProdProj RooHashTable

     - Upgrade inline documention: make sure that (almost) every member function has some descriptive comments, every
       data member has a descriptive comment, make sure that each class has a description.

     - Fix class description header so that it is correctly identified by THtml

Revision 24121 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 3 19:27:51 2008 UTC (6 years, 7 months ago) by wouter
Original Path: trunk/roofit/roofitcore/src/RooLinearMorph.cxx
File length: 16068 byte(s)
Diff to previous 24119
  o RooLinearMorph, RooSimWSTool, RooMinuit, RooWorkspace

    - Fix variable shadowing warnings highlighted by -Wshadow

Revision 24119 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Jun 3 18:42:54 2008 UTC (6 years, 7 months ago) by wouter
Original Path: trunk/roofit/roofitcore/src/RooLinearMorph.cxx
File length: 16051 byte(s)
   o RooAbsSelfCachedPdf

     - Follow changes in RooAbsCachedPdf 


   o RooCachedPdf

     - Add option to override default choice of cache observables
       (the normalization observables) with a specific set of variables
       to make it possible to also cache p.d.f values for all values
       of given parameters as well.

     - Forward analytical integration capabilities to actual cache p.d.f

     - Forward calls on preferred observable order to cached p.d.f


   o RooDataHist
       
     - Add option to bin dataset in alternate binning configuration, as 
       specified by binning name in constructor.

     - Add feature to weight() function to enforce special boundaries
       when interpolating a histogram representing a cumulative distribution function. 
       If so, lower-side bounds are forced to zero and upper-side bounds are
       forced to 1.0 instead of the default mirroring strategy


   o RooMsgService

     - Add new topic NumericIntegration

     - Show PROGRESS level messages by default


   o RooAbsSelfCachedReal

     - New base class for self-caching RooAbsReal objects analoguous
       to RooAbsSelfCachedPdf


   o RooCachedReal

     - New class to cache arbitrary RooAbsReal function objects,
       analogous to RooAbsCachedPdf


   o RooRealBinding

     - Add feature to save and restore values of input variables,
       used by RooRealIntegral to restore observable values after numeric
       integration to original values.


   o RooLinearMorph

     - New operator p.d.f class implementing using the algorithm described
       by Alex Read in NUM A 425 (1999) 357-369 'Linear interpolation of histograms'.
       This class implements a generalization for continuous p.d.f 


   o RooAbsRealLValue

     - Following changes in RooAbsLValue

 
   o RooHistFunc

     - Real-valued function modeled by external RooDataHist object, analoguous to RooHistPdf,
       but without normalization support and allowing negative histogram values


   o RooAbsCachedReal

     - New abstract base class for caching functions, analoguous to RooAbsCachedPdf.
       

   o RooFracRemainder

     - New dedicated helper class to calculate the remainder fraction of a RooAddPdf, i.e. 1-sum(i)x_i
       for a given RooArgSet x


   o RooCustomizer

     - Fix memory management issue for sterile use


   o RooAbsCategoryLValue

     - Follow changes in RooAbsLValue


   o RooNumCdf

     - Specialization of RooNumRunningInt to calculate running integrals of p.d.f.s:
       the running integral is by construction normalized to one exactly, taking out
       any possible imprecisions in the regular integral calculation and by imposing
       special constraints on the RooHistFunc that models the output so that the boundaries
       are constrained to exactly 0 and 1 when interpolation is used.


   o RooFFTConv

     - Fix bug in cache naming algorithm

     - Follow changes in RooAbsCachedPdf


   o RooChangeTracker

     - New special purpose object that tracks changes in a given set of variables, used
       to determine if cached p.d.fs in RooAbsCachedPdf and RooAbsCachedReal need to
       be recalculated due to parameter changes. In addition to valueDirty tracking,
       an explicit comparison can be made to stored reference values of variables,
       to avoid recalculation of expensive quantities in case a valueDirty is propagated
       even if the value did not change (this can e.g. happen when you step though
       a RooDataHist where usually only one of the observables changes value, but
       all observables propagate a valueDirty every time)


   o RooHist

     - Bug fix in makeResidual()


   o RooAbsReal

     - Fix small memory leak in createIntegral

     - Expand functionality of fillDataHist: optional correction for binVolume
       when filling, and optional progress indication.

     - Modify logEvalError() so that when cumulative logging for Minuit is disabled
       that messages are printed through the standard message logging service.

     - Modify error logging so that name of objects are stored in addition to 
       pointers so that delayed logging of errors of (cache) objects that no
       longer exists can be performed correctly.

     - Add virtual function preferredObservableScanOrder() to indicate preferred
       order in which multi-dimensional functions should be scanned into a 
       RooHistPdf, which may matter greatly for the performance of certain
       p.d.f.s like RooFFTConvPdf and RooLinearMorph

     - Add new function createRunningIntegral() which constructs for a given F(x,y) 
       a Int[xlo,x] F(x',y) dx. The default strategy is to construct the underlying
       integral with createIntegral() and adapt it with a RooCustomizer and a RooParamBinning
       to a running integral. In case it concerns a one-dimensional numeric running
       integral, the running integral is represented by a dedicated class RooNumRunningInt
       which scans the integrand and numerically integrates the scanned histogram


   o RooAbsCollection

     - Bug fix in nameFieldLength handling of print routine


   o RooAbsCachedPdf

     - Introduce explicitly the strategy that the cache contains the _normalized_ p.d.f. values,
       so that no postior normalization integral is required. This has the added advantages that
       the cache p.d.f can be instructed to consider itself normalized skipping an explicit
       normalization step in the RooHistPdf.

     - Add utility function getCachePdf() and getCacheHist() to retrieve cache p.d.f and histogram
       for a given choice of normalization set

     - Clean up structure of CacheElem nested class by making guts private and providing accessor
       function for derived CacheElem classes. Virtualize cache creation with a new member function 
       createCache that will allow derived classes to create a derived CacheElem.

     - Forward integration handling to cache pdf actually being used


   o RooDataHistSliceIter

     - Follow changes in RooDataHist for alternate binning 


   o RooRealMPFE

     - Follow changes in eval error logging in RooAbsReal


   o RooAbsPdf

     - Add createCdf() function to create cumulative distribution functions from p.d.f.s. This is 
       quite similar to RooAbsReal::createRunningIntegral() but with some c.d.f specific features
       related to constraints on normalization


   o RooAbsArg 

     - Fix bug in optimizeCacheMode()


   o RooBrentRootFinder

     - Improve error messaging through RooMsgService interface.


   o RooCmdArg

     - Expand payload from 2 to 3 strings


   o RooSimWSTool

     - Complete rewrite of RooSimPdfBuilder integrated with RooWorkspace for object storage.


   o RooNumRunningInt

     - New dedicated class to calculate running integral of any function that does not have
       an analytical integral implementation. This class scans such a function in a histogram
       and then numerically integrates the histogram. The filling of the histogram is performed
       adaptively using a recursion division strategy with a precision cutoff to save time
       of the filling of smooth functions in finely binned histograms


   o RooMultiCategory, RooSuperCategory

     - Minor tweak in name of proxies


   o RooAbsIntegrator

     - Deploy save and restore functionality of RooAbsFunc/RooRealBinding to restore observable
       values to prior values after an intergration step. 


   o RooMinuit

     - Fix gcc 4.3 compiler warning


   o RooWorkspace

     - Add bulk import() function taking a const RooArgSet instead of a RooAbsArg
 
     - Add RecycleConflictNodes() option to ignore conflicts and simply recycle internal
       nodes when a different external node is encountered.

     - Add new accessors catfunc() for category functions, arg() for generic RooAbsArgs,
       and funcArg() for fundamental arguments of any type.

     - Add separate section for category functions in Print()


   o RooHistPdf

     - Add option to declare contents unit normalized. When activated, the analytical
       integral is hardwired to 1. 

     - Add option to propagate cdfBoundaries mode to the underlying RooDataHist.


   o RooAbsOptTestStatistic

     - Optimize handling of empty rangeName specification (from Alfio)


   o RooSimultaneous

     - Tune proxy names

     - Make p.d.f return zero, in case index category is in state where no p.d.f is assigned,
       rather that assert(0)


   o LinkDef3.h, Module.mk

     - Add new class definitions

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