[root] / trunk / roofit / roofitcore / inc / RooProfileLL.h Repository:
ViewVC logotype

Log of /trunk/roofit/roofitcore/inc/RooProfileLL.h

Parent Directory Parent Directory


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

Revision 39919 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 23 20:36:11 2011 UTC (3 years, 7 months ago) by wouter
File length: 3122 byte(s)
Diff to previous 36717

  Import changes from dev/roostats. Mostly small
  fixes.

Revision 36717 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 17 12:54:58 2010 UTC (4 years, 2 months ago) by wouter
File length: 3007 byte(s)
Diff to previous 31654

  o RooAbsTestStatistics

    - Fix in default ctor


  o RooProfileLL

    - Add default ctor for streaming support

Revision 31654 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 8 13:38:37 2009 UTC (5 years, 1 month ago) by wouter
File length: 2988 byte(s)
Diff to previous 31258
  o RooConstraintSum

    - Freeze definition of normalization observables through
      extra argument passed in constructor. This fixes a bug
      in use in RooProfileLL when copied


  o RooProfileLL

    - Keep track of values of POI at minimum and always 
      restart search for global minimum from previous
      location of global minimum


  o RooRealMPFE

    - Faster cleanup of server processes


  o RooAbsPdf

    - Use new constructor of RooConstraintSum


  o RooBanner

    - Increment version tag to v3.12


  o RooBrentRootFinder

    - Save and restore values of parameters before and after operation


  o RooMCStudy

    - Fix bug in RooMCStudy operation when using Binned() and Extended()
      at the same time.

Revision 31258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 17 22:41:06 2009 UTC (5 years, 2 months ago) by wouter
File length: 2874 byte(s)
Diff to previous 30407
    o  RooAbsDataStore
          
        - Add pure virtual interface for handling of event weights
          
          
    o  RooCompositeDataStore
          
        - Implement forwarder function for weights handling

        - Keep track of 'current' in data member to allow forwarding
          of calls to 'current' dataset 
          
          
    o  RooDataHist
          
        - Export pointers to weights and errors array to RooTreeDataStore

          
    o  RooDataSet
          
        - Adjust to store weight variable in RooTreeDataStore

        - Modify Link() argument in ctor to take both RooDataHist and RooDataSet objects
          
        - Migrate all handling of weights to RooTreeDataStore

        - Deprecate support for changing name of weight variable after construction,
          it is incompatible with the new dataset organization structure.
          

    o  RooEffProd
          
        - Fix bug in persistency
          
          
    o  RooGlobalFunc
          
        - Change argument of Link() from RooDataSet to RooAbsData
          
          
    o  RooHistPdf
          
        - Fix two bugs in handling of partial integrals: 

          1) Correctly fill analVars argument with observables actually 
             integrated internally in getAnalyticalIntegralWN().

          2) Transfer values of pdf observable to histogram observables in
             analyticalIntegralWN() so that correct slice position is taken
             into account in integral calculation          
          
          
    o  RooNumRunningInt
          
        - Fix array overflow bug


    o  RooTreeDataStore

        - Add data members that can optionally hold externaly arrays of weights,
          and add methods to support manipulation of these

        - Implement handling of event weights, either from a weight variable,
          or from an external weights array
         

    o RooNDKeysPdf

        - Bug fix in gauss()

 

    o RooStepFunction 
 
       - Step function defined by external input functions
         for return values and boundaries (contribution bu T. Dupree)


    o RooMultiBinomial

      - New pdf that implements multiple binominals defined from
        N external categories and associated efficiency functions
        (contribution by T. Dupree)


    o RooBanner

      - Increment version tag to v3.11


    o RooRealIntegral

      - Fix small memory leak


    o roostats/MarkovChain

      - Follow change in RooDataSet

Revision 30407 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 24 15:03:35 2009 UTC (5 years, 4 months ago) by wouter
File length: 2824 byte(s)
Diff to previous 29049
    o  RooProfileLL

        - Add forgotten accessor to internal minuit object

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: 2781 byte(s)
Diff to previous 28259
  Update from dev/roostats branch

Revision 28259 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 16 16:21:16 2009 UTC (5 years, 9 months ago) by wouter
File length: 2622 byte(s)
Diff to previous 26333
  Update roofit/roofitcore and roofit/roofit with
  RooFit v2.98 code from dev/roostats branch

Revision 26333 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 21 09:46:05 2008 UTC (6 years, 2 months ago) by wouter
File length: 2611 byte(s)
Diff to previous 26312
   o RooAbsReal

     - Add new method createProfile() to create a RooProfile object
       acting on the function with a given set of parameters of interest


   o RooProfileLL

     - Overload createProfile() to create desired profile from original
       input function rather than 'profiling a profile'

     - Add accessor bestFitParams() to return parameter values
       at best fit point.

     - Move best fit calculation and updating from evaluate() to
       separate function that can also be called from bestFitParams()


   o RooMinuit

     - In setWarnLevel() do not propagate to minuit if old and new warn level
       are the same (doing so causes MINUIT suppressed message buffer to
       be flushed even if old and new level are 'NO WARNINGS')


   o RooAbsOptTestStatistic

     - Remove debug data member _blah

Revision 26312 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 20 13:05:34 2008 UTC (6 years, 2 months ago) by wouter
File length: 2460 byte(s)
Diff to previous 25184
 o RooProfileLL

   - Add accessor for NLL object

Revision 25184 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 20 13:59:55 2008 UTC (6 years, 5 months ago) by wouter
File length: 2401 byte(s)
Diff to previous 24280

   o RooAbsSelfCachedPdf

     - Declare embedded RooHistPdf as self-normalized to prevent
       superfluous calculation of unit normalization


   o RooDataHist

     - Add new named argument ctor that can collate multiple
       TH[123] into a N+1 dimensional RooDataHist which has
       an extra RooCategory to distinguish the source, as
       well as import single a TH[123] objects

     - Add ctor that can do the same, but specified from
       a map<string,TH1> specification.

     - Add new importTH1Set(),importTH1() utility methods to implement
       common functionaly of both new ctors

     - Add adjustBinning() method that encapsulates the functionality
       to adjust the RooDataHist observable binning to match that
       of a given (imported) TH1, which was formerly contained in the ctor

     - Speed up code in interpolateDim() by reducing number of required
       lookups of the observable binning definition.


  o RooParamBinning

    - Add tree printout of boundary functions, if defined in verbose
      printing mode


  o RooMsgService

    - Add special handling of PROGRESS message level: automatically 
      insert newline when switching from a PROGESS to another message level.


  o RooPlot

    - In verbose printing, add index number to printout of each contained 
      plotable object


  o RooGenContext

    - Fix for handling of observables with parameterized ranges

    - Eliminate forgotted debug print statement


  o RooAbsRealLValue

    - Implement new binning interface methods that take binning reference
      rather than binning name, for faster use in internal operations

    - Implement new RooAbsLValue methods with RooAbsBinning pointers


  o RooDataSet

    - Add new named argument constructor that can generically handle imports
      of TTrees, RooDataSet and can collate multiple RooDataSets into
      a N+1 dimensional RooDataSet with an extra RooCategory that labels
      the source dataset


  o RooDLLSignificanceModule

    - Tune some of the names of the produced output observables


  o RooChi2Var

    - Set the default error type to RooAbsData::SumW2


  o RooCustomizer

    - Modify the sterile build() routine to make the returned
      head node own all the created components rather than
      the customizer itself.


  o RooAbsCategoryLValue

    - In copyCache(), check that the value copied is in fact
      valid for the destination.


  o RooFitResult

    - Tune the line widths of the objects created in plotOn()
      when creating the error ellipse.

    - Add a method correlationHist() that returns a 2D histogram
      with the correlation matrix element values, which is labeled
      with the parameter names.


  o RooCurve

    - Add explicit handling for evaluation errors that can occur
      when sampling the function being represented. New constructor
      arguments control how evaluation errors are logged to
      RooMsgService, in similar style to RooMinuit, and control
      how the drawn output value is affected (as calculated, or
      substituted with a user controlled value).


  o RooFFTConvPdf

    - Add automated handling of FFT sampling windows of the 'physics'
      pdf and the 'resolution' pdf. In the new setup the second pdf
      is always assumed to be a 'resolution' pdf and its sampling window
      is chosen symmetrically around zero, regardless of the definition
      of the range of the convolution observable. The width of the sampling
      window, and the number of sampling bins is still tied to the "cache"
      binning defined in the convolution observable. Added setShift()
      modifiers allow the user to manually control the sampling window
      shifts on both pdf. The shift introduced by sampling a shifted 
      window of the resolution effect is correct a posteriori by
      performing a compensating rotation of the final FFT buffer.

    - Modify FFTCacheElem to cache a functional clone of both pdf
      with optional shift transformations applied through a RooLinearVar
      substitution of the original convolution observable. Instruct
      caching RooDataHist not to forward dirty state propagation calls
      and set sampling pdf clones to AlwaysDirty to increased operational
      efficiency.


 o RooChangeTracker

   - Add parameters() method returning the tracked parameters


 o RooRealSumPdf

   - Implement component selection functionality in plotting as
     is available for RooAddPdf


 o RooEfficiency

   - Implement analytical integral over acceptance category
     (it is always 1.0)


 o RooHist

   - Implement ability to handle RooAbsData::None error bars
     (i.e no errors)

   - Expand functionality of constructor taking two TH1s
     to also represent the efficiency binomial in addition
     to the assymmetry binomial

   - Add addEfficiencyBin() method to handle calculation
     of efficiency bins.


 o RooAbsReal

   - Make named argument version of fitTo() default method
     when invoked with no arguments

   - In fitTo(), if pdf is extendable and no explicit Extended() argument
     is given, automatically included extended likelihood term

   - In fitTo(), disable default running of MINOS when invoked without
     arguments

   - Move component selection functionality from RooAbsPdf
     to here so that it also works for RooRealSumPdf, which
     takes RooAbsReals as components rather than RooAbsPdf

   - Add simplified createHistogram() method that takes
     string with comma separated observable names and
     three optional bin numbers. 

   - Add createHistogram() method that takes a list of
     RooCmdArgs that can serve as backend for all user
     interface methods.

   - In plotOn() support the new Slice() argument for categories
     that allow inline specification of of the slice position.

   - Also add support for the PrintEvalErrors(Int_t numErr) and
     EvalErrorValue(Double_t value) arguments to allow better control
     of evaluation error handlign during plotting.

   - Also add support for the MoveToBack() argument that immediately
     inserts the curve at the bottom of a RooPlot stack.


 o RooProduct 
   
   - Remove erroneous assert()


 o RooAbsCollection

   - In snapshot(), only add "Snaphot of" to name if original
     has a non-null name.

   - In verbose printing mode, remove printing of 'extras' and
     only print '(owning contents)' of collection has a non-null name


 o RooAddPdf

   - Fix logic of recursive fractions constructor. Recursive additions
     happen start on the rightmost pair of pdfs, recursively adding
     one more pdf to the left at each iteration. Coefficients describe
     the fractions of the leftmost pdf in each recursive addition,
     starting with the outermost addition of the 1st pdf to the
     som of all other pdfs, continuing with the fraction of the
     2nd pdf being added to the sum of pdf 3-n etc...
   

 o RooAbsCachedPdf

   - Degrade 'parameters have changed' message from INFO to DEBUG

   - Interface cache histogram objects to RooExpensiveObjectCache
     with associated parameters given by RooChangeTracker

   - Fix bug in printing: only print normalization object of
     cache if it actually exists


 o RooAbsTestStatistic

   - Reimplement copy constructor to initialize from scratch from
     original contents, to support sane implemlementation of
     copying of optimized test statistics with multi-process
     calculations.
      
   - Fix redirectServers method for objects implementing multi-process
     test statistics
   
 
 o RooRecursiveFraction

   - Invert incoming list of plain fractions when filling internal
     list in ctor so that last fraction is 'special' instead of first
     to support improved handling of recursive fractions in RooAddPdf


 o RooAbsData

   - Fix client-server reconnect handling for dataset observables
     with parameterized ranges in terms of other dataset observables

   - Add simplified createHistogram() method that takes
     string with comma separated observable names and
     three optional bin numbers. If bin counts are negative,
     the ranges of output histogram are automatically calculated.
     If the bin counts are positive, the ranges of the observables
     are used for the histogram, unless the observable has an
     open-ended ranges, in which case the automatic calculation
     is used.

   - Add createHistogram() method that takes a list of
     RooCmdArgs that can serve as backend for all user
     interface methods.

   - Extend createHistogram() method with named arguments
     to take AutoBinning and AutoSymBinning arguments to
     automatically calculate the ranges of the output histogram
     with the specified number of bins.


   - Add a table() method that takes a set of RooCategories
     and returns a table of the output states of a RooSuperCategory
     of the given input categories.


 o RooProfileLL

   - Add option to start minimization always from parameters
     of global minimum.
   

 o RooRealMPFE

   - Remove some forgotted debug printouts

   - Pass IsConstant() state of RooRealVars being transferred in
     addition to their value and error.

   - Fix copy constructor
 

 o RooRealVar

   - In printing interface, maker error part of 'value' rather
     than of 'extras'

   - Fix bug in format() concerning constant parameters with
     errors.


 o RooAbsPdf

   - Move component selection support for RooAddPdf to RooAbsReal
     so that it also works with RooRealSumPdf.

   - Remove some superfluous DEBUG level print messages

   - Add support for EvalErrorWall() named argument in fitTo
     to give user control of the 'NLL wall' feature used to
     force MINUIT to retreat from regions with evaluation errors

   - Enlarge default size of box created by paramOn()

 
 o RooAbsArg

   - Add pointer to expensive object cache to use for any expensive
     objects to be cached in association with this object

   - Add recurseNonDerived option to branchNodeServerList

   - Overload printAddress() to so that RooAbsArg base address
     is printed rather than RooPrintable base address, which
     can be different due to multiple inheritance

   - In constant term optimization, prevent addition of 
     observables with parameterized ranges to cache.

   - Add interface methods to get and set the associated
     expensive object cache

   - Add flipAClean() accessor method for corresponding
     static data member to solve windows linkage problems.


 o RooRealIntegral

   - Add support for cache values of >1D integrals in 
     expensive object cache


 o RooExpensiveObjectCache

   - New repository class that holds expensive components of RooAbsArg
     function objects along with the parameters value for which the
     stored expensive object is valid. All newly created objects
     are associated with a default singleton instance in memory,
     but objects in RooWorkspaces are associated with a cache in the
     workspace.
    

 o RooMCStudy

   - Add Silence() named argument to ctor that will silence all
     RooFit messages during running below the PROGRESS level

   - Store generated number of events in fitParDataSet()

   - Only store generated parameter values in fitParDataSet()
     if constraints were used

   - Give fitParDataSet() a unique named, named after the
     fit and/or generator model used.


 o RooNumRunningInt

   - Fix bug in calculation of cdfs.
    

 o RooMinuit

   - Deprecate support for error handling mechanisms that are now
     phase out.

   - Implement option to ignore evaluation errors   

   - Improve the contour() method to return a RooPlot containing
     contour TGraphs, rather than drawing them directory on a canvas


 o RooDouble

   - Set name to string representation of value


 o RooGlobalFunc

   - Add various named argument constructors needed by other code


 o RooCintUtils

   - New name space with CINT interaction utilities

   - Add function to match a given functin pointer to a string with
     a function argument list specification to facilitate manual overloading
     of method on function pointer declarations, which is not supported
     directly by CINT


 o RooPrintable

   - Introduce printAddress() method to print address


 o RooRandomizeParamMCSModule

   - Fix bug in init()


 o RooAcceptReject

   - Adjust code to make it work with observables with parameterized ranges


 o RooWorkspace

   - Add an embedded expensive object cache to each workspace. Connect each
     inserted object to the internal expensive object cache and transfer
     any cache contents upon insertion as necessary.


 o RooNumIntConfig

   - Tune non-verbose printing output


 o RooAbsOptTestStatistic

   - Implement correct handling of test statistics with observables
     that have parameterized ranges in terms of other observables

   - Implement sane copy constructor.


 o RooHistError

   - Add method to calculate confidence intervals for efficiency binomials.


 o RooSentinel

   - Add cleanup handler for expensive object cache global instance


 o RooBinningCategory

   - New real->cat function that represents binning associated with
     any given RooAbsRealLValue as category functions. Category states
     mapping to observable bins are automatically created and named


 o RooSimultaneous

   - Add support for new Slice() arguments that allow to specify the
     slice position for category observables.


 o RooTreeData

   - More fixes for infernal warning messages from TTree concerning
     improperly constructed memory resident trees

   - Forward TTree::Draw() method with cut expression.

   - Add Efficiency() named argument to plotOn() method to support
     plotting of efficiencies represent by a category observable
     that indicates which event do (not) pass a given cut

   - Support FillColor() and FillStyle() named arguments in plotOn()
     for the benefit of bar chart representations of histograms

   - Add plotEffOn() method to implement internal handling specific
     to efficiency plotting

   - Extend functionality of getRange() method to automatically
     include margins and optional interval symmetrization around
     the mean if requested.

   - Adjust observable pruning algorithm in data reading optimization
     mode to take observables with parameterized ranges into account


 o RooDirItem

  - When creating a memory resident object, do not change directory if
    already in memory directory.

Revision 24280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 15 20:57:45 2008 UTC (6 years, 7 months ago) by wouter
File length: 1818 byte(s)
Diff to previous 23134
   o RooMCIntegrator RooMCStudy RooMinuit RooMsgService RooMultiCategory RooMultiCatIter RooNameReg RooNameSet RooNLLVar 
     RooNormSetCache RooNumber RooNumCdf RooNumConvolution RooNumConvPdf RooNumIntConfig RooNumIntFactory RooNumRunningInt 
     RooObjCacheManager RooParamBinning RooPlot RooPlotable RooPolyVar RooPrintable RooProdGenContext RooProdPdf RooProduct 
     RooProfileLL RooProjectedPdf RooPullVar RooQuasiRandomGenerator RooRandom RooRandomizeParamMCSModule RooRangeBinning 
     RooRealAnalytic RooRealBinding RooRealConstant RooRealIntegral RooRealMPFE RooRealProxy RooRealSumPdf RooRealVar 
     RooRealVarSharedProperties RooRecursiveFraction RooRefCountList RooResolutionModel RooScaledFunc RooSegmentedIntegrator1D 
     RooSegmentedIntegrator2D RooSentinel RooSetPair RooSetProxy RooSharedProperties RooSharedPropertiesList RooSimGenContext 
     RooSimPdfBuilder RooSimultaneous RooSimWSTool RooStreamParser RooStringVar RooSuperCategory RooTable RooThreshEntry 
     RooThresholdCategory RooTObjWrap RooTrace RooTreeData RooTruthModel RooUniformBinning RooWorkspace

     - Upgrade inline documention: make sure that each class has a description.

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

     - Updating of data, function member documentation _not_ done yet

Revision 23134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 11 07:53:39 2008 UTC (6 years, 9 months ago) by rdm
File length: 1751 byte(s)
Diff to previous 21379
move the following directories to "roofit":

roofitcore, roofit

Revision 21379 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 14 15:12:29 2007 UTC (7 years, 1 month ago) by wouter
Original Path: trunk/roofitcore/inc/RooProfileLL.h
File length: 1751 byte(s)
Diff to previous 20879
  o (Large number of classes)

    - Systematically use Riosfwd.h in header files instead
      of <iostream> or Riostream.h

    - Include "Riostream.h" in implementations where necessary

    - Convert remaining <iostream> to "Riostream" in implementations

    - Outline all inline functions using cout or endl to facilitate
      use of fwd declaration of iostreams in all classes

    - Elimination of some duplicate headers

    - Match use of 'using namespace std' in implementation files
      to classes that actually use STL classes

Revision 20879 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:22:56 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/roofitcore/inc/RooProfileLL.h
File length: 1728 byte(s)
Diff to previous 19423
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19423 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 21 21:32:52 2007 UTC (7 years, 6 months ago) by wouter
Original Path: trunk/roofitcore/inc/RooProfileLL.h
File length: 1728 byte(s)
Diff to previous 19341

  o RooAbsPdf

    - Fix in private copy ctor


  o RooNLLVar

    - Add default ctor


  o RooProfileLL

    - Remove stray inline keyword in dtor


  o RooNumIntConfig

    - Fix const_cast problem in getConfigSection


  o RooWorkspace

    - Fix bug in printing of function section in Print()

Revision 19341 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Jul 13 21:50:24 2007 UTC (7 years, 6 months ago) by wouter
Original Path: trunk/roofitcore/inc/RooProfileLL.h
File length: 1735 byte(s)
  o Module.mk, Linkdef3.h

    - Add new classes


  o RooAbsPdf

    - Add new createProjection() method that returns projections of p.d.f.s
      that are p.d.f.s (implemented by class RooProjectedPdf)

    - Rename old createProjection() method(s) createPlotProjection as they
      provide slightly different functionality for support of plotOn()


  o RooAbsRealLValue

    - Propagate a Shape and Value dirty flag if isConstant() is called to
      change the float/fix status of a parameter (needed for RooProfileLL
      whose value might change under such modifications)


  o RooMsgService

    - Fix trivial bug in doLogX macros
    - Add new default info streams for selected topics


  o RooProjectedPdf

    - Add explicit handling of iterative projection by overloading
      createProjection method
    - Add explicit tracking of value/shape dependence on variables
      as implied dependence through base p.d.f. erroneously introduced
      a value dependence on the observables that are integrated out
    - Rework informational messages through RooMsgService


  o RooAbsArg

    - Fix bug in dependsOn() in value tracking mode


  o RooAddGenContext

    - Add new informational messages through RooMsgService


  o RooProfileLL

    - New class that represents profile likelihood given a likelihood
      and a set observables

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