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

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

Parent Directory Parent Directory


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

Revision 47706 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 29 14:39:52 2012 UTC (2 years, 1 month ago) by moneta
File length: 5109 byte(s)
Diff to previous 44507
from Gabriel: add analytical integral in the mean parameter of RooPoisson

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: 4463 byte(s)
Diff to previous 38599
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 38599 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 24 08:37:05 2011 UTC (3 years, 10 months ago) by moneta
File length: 4441 byte(s)
Diff to previous 37207
merge from roostats development branch the fix 38597 
(The changes were done originally in the v5-28-00-patches branch    
and they are : 


RooFit
    Added protectNegativeMean(bool) optional to gracefully handel cases when expectation is negative
    Added setNoRounding(bool) option to switch between rounding number of events
    Incremented version number for schema evolution

RooFitCore
     Added handeling of a special case in analytic integral for RooRealSumPdf

RooStats
    Fixed printout in number of toy MC used in FeldmanCousins and NeymanConstruction 
    Added SetOneSided(bool) option to ProfileLiklihoodTestStat for one-sided upper limits
    Added SetPOIPointsToTest(RooAbsData) method to FeldmanCousins tool, so that user can have control over which points in the parameter of interest to test (still using "profile construction" for nuisance parameters).  Additionally, added SetParameterPointsToTest, that has the same functionality as NeymanConstruction::SetParameterPointsToTest. 

HistFactory
   Fixed header definition in PiecewiseInterpolation
  Added analytic integration in PiecewiseInterpolation
  Added HistoToWorkspaceFactoryFast and MakeModelAndMeasurementsFast which implement the equivalent model produced by the original HistFactory, but in "standard form" instead of "number counting form".  Instead of splitting the histogram into bins and having a RooPoisson for each bin, this makes an extended Pdf with that interpolates between RooHistFuncs.  For situations with many bins, this is 5-15x faster and uses much less memory.  This model also works better with tools that require toy Monte Carlo.  This new model is the new default in hist2workspace.  The old model is still available with hist2workspace -number_counting_form input.xml.
 Fix dictionary on Fedora (r38188, issue #78554).

Revision 37207 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 2 20:30:14 2010 UTC (4 years, 1 month ago) by wouter
File length: 4232 byte(s)
Diff to previous 37128
  o RooPoisson

    - Add flag to disable rounding (request M.Baak)


  o RooJeffreysPrior, RooNonCentralChiSquare

    - Two new pdfs from Kyle to be used in RooStats

Revision 37128 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 30 22:24:50 2010 UTC (4 years, 1 month ago) by wouter
File length: 4124 byte(s)
Diff to previous 36848
 
   o RooPoisson

     - Fix in handling of open-ended integrals 


   o RooDataHist

     - Add support for Import(map<string,RooDataHist*>) and Import(map<string,TH1*>).


   o RooDataSet

     - Add support for Import(map<string,RooDataSet*>) and Link(map<string,RooDataSet*>) 


   o RooCmdConfig

     - Add handling of non-prefixed recursive named arguments


   o RooCmdArg

     - Add no-prefix flag for recursive arguments


   o RooNLLVar

     - When SumW2Error() is active, also apply weights squared in extended term


   o RooGlobalFunc

     - Add new Import(),Link() commands


   o RooWorkspace

     - Fix importClassCode() following a convention change in TClass

     - In genobj() first check if search result is non-null before dereferencing it


   o RooAbsArg

     - Make isDerived() only return always false if the server list is empty _AND_ if the proxy list is empty.
       This fixes the initializion behavior of pdfs without explicit parameters


   o RooBanner

     - Increment version tag to 3.15

Revision 36848 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 22 16:21:09 2010 UTC (4 years, 2 months ago) by wouter
File length: 4019 byte(s)
Diff to previous 36845
  o RooRealVar

    - Improve auto-assignment of initial value of only range
      is given: check explicitly if range is open ended on either
      side: if [-inf,inf] xinit=0, if open-ended on one side only,
      assign the other (finite) boundary as initial value, if closed
      assign midpoint as usual

  o RooRealProxy

    - Make method hasMin() and hasMax() of contents visible


  o RooPoisson

    - Add explicit handling of open-ended range of type [x,inf]
      for normalization integral over observable

Revision 36845 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 22 15:44:57 2010 UTC (4 years, 2 months ago) by wouter
File length: 3656 byte(s)
Diff to previous 34064
  o RooPoisson

    Fix analytical integral in case a negagive lower limit is given for the observable

  o RooProdPdf

    Fix a memory leak

Revision 34064 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 22 15:05:19 2010 UTC (4 years, 7 months ago) by wouter
File length: 3585 byte(s)
Diff to previous 30333
 Import roofit/roofit(core) changes from dev/roostats branch to trunk 

=== r34062 ===

   o RooProdPdf

     - Fix compilation error on Windows

     - Fix memory leak

     - Fix some shadowing problems


   o RooDataHist

     - Fix memory leak


   o RooFactoryWSTool

     - Add syntax checker routine to factory front-end. At present
       this counts only of all pairs of (),[],{} match.

     - Add factory syntax 'set::name(a,b,c)' as factory syntax for
       RooWorkspace::defineSet("name","a,b,c") ;


   o RooAddPdf 

     - Fix memory leak

  
   o RooAbsNumGenerator, RooAcceptReject, RooFoamGenerator

     - Fix uninitialized pointer problem spotted by valgrind


   o RooRealMPFE

     - Fix gcc 4.4 warnings by checking return values of all read(),write()
       and pipe() calls.


   o RooAbsPdf

     - Fix variable shadowing issue


   o RooRealIntegral

     - Fix memory leak
      

   o RooTreeDataStore

     - Fix memory leak


   o RooSimultaneous

     - Fix variable shadowing issue


   o RooGlobalFunc, LinkDef2

     - Include fix from Kyle/Axel to solve include guard issue in macros
       for namespace RooFit

=== r34020 ===

Update to RooRealSumPdf where normalization had memory leak


=== r33961 ===

 o RooAbsReal

   - Add new method setEvalErrorLoggingMode() that takes three options
     PrintErrors (default), CountErrors (new) and CollectErrors (supports
     structured printing during minimization

 o RooRealMPFE, RooMinimizerFCN, RooMinimizer, RooMinuit

   - Follow changes in RooAbsReal


 o RooAbsPdf

   - Make getLogVal() return log(0) when probability is zero, rather than zero,
     to support operation of (non-log) likelihood functions


=== r33945 ===

 o RooNumRunningInt, RooCachedPdf, RooCachedReal

   - Use aggregateCacheUniqueSuffix() advertised by content to 
     distinguish objects with identical structure that have
     different non-parametric content (such as likelihood functions)


 o RooAbsCachedPdf, RooAbsCachedReal

   - Allow addition of additional suffix to name of object cached
     in expensive object store

 o RooAbsReal

   - Introduce virtual function cacheUniqueSuffix() that allow function
     objects that have non-parametric content that can cause two instance
     of an object with the same parameter to behave differently (e.g. likelihoods that
     have different datasets but the same pdf) to advertise a string suffix
     that can be attached to the index name in the expensive object cache to
     distinguish different instances

   - Introduct method aggregateCacheUniqueSuffix() that concatenates all suffixes
     produced by any branch node into a single string

 o RooAbsOptTestStatistic

   - Advertise dataset pointer as unique cache suffix


o RooProdPdf

   - Large scale adjustment to code to be able to handle pdfs where
     the normalization range of its observables is defined by
     multiple ranges rather than a single range

 o RooMsgService

   - Add concept of debug workspace and debug code to facilitate
     debugging of complex problems


 o RooGenContext

   - Force use of Accept/Reject sampler for problems with observables where
     the range depends on other observables as Foam cannot handle these

 o RooDataSet

   - Bug fix in handling of weights in append() operation


 o RooAbsGenContext

   - Add support for handling of explicit normalization range(s)


 o RooAbsReal

   - Bug fix in createIntegral(), avoid use of strtok() due to possible recursive use


 o RooAddPdf

   - Large scale adjustment to code to be able to handle pdfs where
     the normalization range of its observables is defined by
     multiple ranges rather than a single range

 o RooAbsPdf

   - Add support for definition of multiple normalization ranges, with setNormRange()
     as user front end


 o RooAbsArg

   - Fix bug in link state management: a state change to ADirty must be propagated to
     all clients.

   - Add maximum level argument to printComponentTree()


 o RooRealIntegral

   - Fine tuning of debug-level print messages

   - Fix memory leak


 o RooAddGenContext

   - Add support for handling of multiple normalization ranges


 o RooRangeBoolean

   - New RooAbsReal implementation that returns 1 or 0, depending on another observable
     having a value in a predefined range


 o RooAbsIntegrator

   - Fine tuning of debug-level printouts


 o RooTreeDataStore

   - Multiple bug fixes in handling of weighted data


 o RooAbsOptTestStatistic

   - Small changes to support operation with multiple normalization ranges


 o RooArgSet

   - Add utility method isInRange() that is forwarded to content


 o RooGenProdProj

   - Add new operation mode that does not factorize, which is needed for certain cases
     with multiple n


=== r33943 ===

o RooProdPdf

   - Large scale adjustment to code to be able to handle pdfs where
     the normalization range of its observables is defined by
     multiple ranges rather than a single range

 o RooMsgService

   - Add concept of debug workspace and debug code to facilitate
     debugging of complex problems


 o RooGenContext

   - Force use of Accept/Reject sampler for problems with observables where
     the range depends on other observables as Foam cannot handle these

 o RooDataSet

   - Bug fix in handling of weights in append() operation


 o RooAbsGenContext

   - Add support for handling of explicit normalization range(s)


 o RooAbsReal

   - Bug fix in createIntegral(), avoid use of strtok() due to possible recursive use


 o RooAddPdf

   - Large scale adjustment to code to be able to handle pdfs where
     the normalization range of its observables is defined by
     multiple ranges rather than a single range

 o RooAbsPdf

   - Add support for definition of multiple normalization ranges, with setNormRange()
     as user front end


 o RooAbsArg

   - Fix bug in link state management: a state change to ADirty must be propagated to
     all clients.

   - Add maximum level argument to printComponentTree()


 o RooRealIntegral

   - Fine tuning of debug-level print messages

   - Fix memory leak


 o RooAddGenContext

   - Add support for handling of multiple normalization ranges


 o RooRangeBoolean

   - New RooAbsReal implementation that returns 1 or 0, depending on another observable
     having a value in a predefined range


 o RooAbsIntegrator

   - Fine tuning of debug-level printouts


 o RooTreeDataStore

   - Multiple bug fixes in handling of weighted data


 o RooAbsOptTestStatistic

   - Small changes to support operation with multiple normalization ranges


 o RooArgSet

   - Add utility method isInRange() that is forwarded to content


 o RooGenProdProj

   - Add new operation mode that does not factorize, which is needed for certain cases
     with multiple normalization ranges

=== r33758, r33720 ===


 o RooPoisson

   - Fixes in internal generation code


 o RooLogNormal, RooGamma, LinkDef1

   - New classes contributed by Gregory Schott

Revision 30333 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 21 15:39:17 2009 UTC (5 years, 4 months ago) by wouter
File length: 3443 byte(s)
Diff to previous 29049
   Import changes in roofit/roofit and roofit/roofitcore from dev/roostats branch

Revision 29049 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 17 09:42:55 2009 UTC (5 years, 7 months ago) by wouter
File length: 3349 byte(s)
Diff to previous 25398
  Update from dev/roostats branch

Revision 25398 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 15 09:31:59 2008 UTC (6 years, 4 months ago) by wouter
File length: 3345 byte(s)
Diff to previous 24964
  o RooPoisson

    - Add internal integral implementation that is more efficient that
      default numeric integration


  o RooPolynomial

    - Remove forgotten debug print statement

Revision 24964 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Jul 28 14:58:34 2008 UTC (6 years, 5 months ago) by wouter
File length: 2314 byte(s)
   o RooPoisson
  
     - New Poisson pdf class (using TMath implemention)
       from Kyle

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