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

Log of /trunk/roofit/roofitcore/src/RooBinIntegrator.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: 9766 byte(s)
Diff to previous 42984
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 42984 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 13 15:30:31 2012 UTC (2 years, 11 months ago) by wouter
File length: 9744 byte(s)
Diff to previous 42233
  Assorted bug fixes
 
  o Roo1DMomentMorphFunction, RooFunctorBinding, RooFunctor1DBinding, RooProdPdf, RooAbsRealLValue,
    RooSimSplitGenContext, RooBinIntegrator, RooVectorDataStore, RooSegmentedIntegrator, RooChangeTracker,
    RooAbsReal,RooFactoryWSTool, RooRealIntegral, RooTreeDataStore, RooUnitTest, RooAbsPdf
 
    - Coverity fixes (mostly missing initialization)


  o RooDataHist

    - Fix in bin volume correction for partial integrals


  o RooAbsData

    - Remove stray debug comment


  o RooObjCacheManager

    - Follow change in RooCacheManager


  o RooCacheManager

    - Back out LHCb version - new version that does same thing but works correctly

Revision 42233 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 24 23:35:45 2011 UTC (3 years, 2 months ago) by wouter
File length: 9683 byte(s)
Diff to previous 42171
  o PiecewiseInterpolation, RooProdPdf, RooRealSumPdf, RooProduct, RooAddPdf, 
    RooAddition, RooHistPdf, RooHistFunc
 
    -  Implement isBinnedDistribution


  o RooSimSplitGenContext

    - New implementation of RooAbsGenContext for simultaneous pdf.
      The difference with the existing RooSimGenContext is that
      the logic is implemented at the generate() level rather than
      the generateEvent() level, which allows to perform mixed
      binned/unnbinned generation


  o RooBinnedGenContext

    - New implementation of RooAbsGenContext that performs binned
      generation, with an unbinned weighted dataset as output.
      This new context implements the algorithm of 
      the now deprecated method RooAbsPdf::generatedWeightedUnbinned()


  o RooSimultaneous

    - Implement method autoGenContext() that selects a split context
      can case (partially) binned generation is requested

    - Deprecate generateMixed() - now absorbed in generate() 
  

  o RooAbsGenContext

    - Make generate() virtual

    - Implement processing of extend mode here too


  o RooCompositeDataStore

    - Fix compiler shadowing warnings


  o RooAbsPdf

    - Add method binnedGenContext() to return a generator context
      for binned generation

    - Add method autoGenContex() that can return either a binned
      or unbinned context depending on the input and circumstances

    - Add support for ExpectedData(),GenBinned(),AllBinned() and AutoBinned()
      in generate()

    - Deprecate generateWeightedUnbinned() - now absorbed in generate()


  o RooLinkedList, RooLinkedListElem

    - Adjust memory management of chain elements to avoid slow heap growth 

   
  o RooGlobalFunc

    - Add GenBinned(),AllBinned() and AutoBinned()


  o Module.mk

    - Add RooSimSplitGenContext, RooBinnedGenContext

Revision 42171 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 22 16:38:52 2011 UTC (3 years, 2 months ago) by moneta
File length: 9685 byte(s)
Copied from: branches/v5-32-00-patches/roofit/roofitcore/src/RooBinIntegrator.cxx revision 42168
Diff to previous 42153
import from the 5.32 patches changes from revision 42089 until 42170

See 

  http://root.cern.ch/viewvc?view=rev&revision=42089

  http://root.cern.ch/viewvc?view=rev&revision=42128

  http://root.cern.ch/viewvc?view=rev&revision=42153

Revision 42153 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 21 21:33:20 2011 UTC (3 years, 2 months ago) by wouter
Original Path: branches/v5-32-00-patches/roofit/roofitcore/src/RooBinIntegrator.cxx
File length: 9685 byte(s)
Diff to previous 42128
-- Binned integration support for RooStats

   o RooProdPdf, RooProduct

     - Forward bin boundary definitions of component pdfs


   o RooAddPdf,RooAddition,RooRealSumPdf

     - Forward bin boundary definitions of component pdfs.
       If multiple components with boundaries exist forward
       merged list of boundaries

   o RooHistPdf

    - Export bin boundaries definition through binBoundaries() 

   o RooBinIntegrator

     - Extend to 2,3 dimensional integration


-- Tuning of performance optimizations

   o RooVectorDataStore

     - In cacheArgs() explicity ignore nodes labeled as CacheAndTrack
       that do not depend on observables


   o RooAbsAnaConvPdf

    - Label basis function with "NOCacheAndTrack" to prevent these
      from being processed as such


   o RooAbsData

    - If defaultStorageType==Vector, automatically vectorize datasets
      read in from file in Streamer()

  
   o RooCompositeStore

     - Implement dump() method to facilitate debugging



-- Mixed binned/unbinned generation support for simultaneous pdf

   o RooAbsPdf

     - Add method generateWeighedUnbinned() which is identical to generateBinned()
       except that data is transferred to a weighted unbinned format at the end.
       (Needed to facilitate RooSimultaneous::generateMixed())
 
   o RooSimultaneous 

     - Add method generateMixed() that supports mixed binned/unbinned generation.
       By default all components are generated binned, unless the associated
       component pdf is labeled "GenerateUnbinned" with setAttribute()

Revision 42128 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 18 23:02:19 2011 UTC (3 years, 2 months ago) by wouter
Original Path: branches/v5-32-00-patches/roofit/roofitcore/src/RooBinIntegrator.cxx
File length: 6230 byte(s)
Diff to previous 42089
  o PiecewiseInterpolation

    - Implement binBoundaries() and plotSamplingHint(), passing
      along the information from the nominal function


  o RooDataHist, RooArgSet

    - Deploy faster RooAbsCollection::find() method


  o RooAbsArg

    - Deploy faster RooAbsCollection::find() method

    - Initialize _namePtr upop construction instead of
      on demand as that is more efficient.


  o RooRealBinding

    - Implement binBoundaries() forwarding information from RooAbsReal


  o RooSharedPropertiesList, RooSharedProperties

    - Move reference counter from list to object, allowing to
      increase reference count in RooRealVar::cctor without
      table lookup (=faster)


  o RooHistFunc

    - Implement binBoundaries() as a near-clone of plotSamplingHint


  o RooBinIntegrator

    - Adjust code so that it takes the binning information
      from the integrand


  o RooAbsCollection

    - Add new faster find() method that takes a RooAbsArg& instead
      of a const char*, as the former allows to use the guaranteed
      unique _namePtr pointers ;

    - Use faster find() method in various places


  o RooFormula

    - Move type check from DefinedValue to DefinedVariable
      for faster processing in evaluate()


  o RooLinkedList

    - Implement new block allocation scheme for RooLinkedListElem
      storage to reduce the number of new/delete[] operations
      coming from list operations

    - Implement new fast findArg() method to lookup an RooAbsArg
      in the list


  o RooHashTable

    - Implement also here findArg() and forward to corresponding
      list object


  o RooLinkedListElem

    - Add default ctor, init() and release() method to support new block
      allocation scheme


  o RooGenFitStudy

    - Implement clone() method


  o RooAbsReal

    - Implement new binBoundaries() stub method

Revision 42089 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Nov 17 15:48:54 2011 UTC (3 years, 2 months ago) by wouter
Original Path: branches/v5-32-00-patches/roofit/roofitcore/src/RooBinIntegrator.cxx
File length: 5924 byte(s)
  o RooAbsPdf, RooMinuit, RooGlobalFunc, RooAbsOptTestStatistic

    - More detailed access to algorithmic optimization options


  o RooRealProxy

    - Fix bug


  o LinkDef2, Module.Mk, CMakeLists.txt

    - Add Kyles RooBinIntegrator


  o RooBinIntegrator

    - New numeric integrator histogram-like functions

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