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

Log of /trunk/roofit/roofitcore/src/RooSimSplitGenContext.cxx

Parent Directory Parent Directory


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

Revision 44630 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 8 14:27:16 2012 UTC (2 years, 7 months ago) by moneta
File length: 11350 byte(s)
Diff to previous 44507
fix a bug in generating events from expected simultaneous pdf reported 
by Max Baak.  
 When using pdf.generate for simultaneous extended pdf with the binned option the number of expected events used to generate was truncated to an integer instead of being used as a double. 
This bug caused also to have also the case of zero events generated removed. 

A simila rounding was happening also  in case of pdf.generateBinned for extended single (not simultaneous) pdf. 

See also the roostats-development mailing list  
https://groups.cern.ch/group/roostats-development/Lists/Archive/Flat.aspx?RootFolder=%2Fgroup%2Froostats%2Ddevelopment%2FLists%2FArchive%2FBug%20in%20toy%20generation%20%28i%2Ee%2E%20limit%20setting%29%20of%20composite%20datasets%20with%20zero%20weight&FolderCTID=0x0120020052D20A0AA6FE91449D78373A416E9071

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: 11293 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: 11271 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]
Added Thu Nov 24 23:35:45 2011 UTC (3 years, 2 months ago) by wouter
File length: 11203 byte(s)
  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

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