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

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

Parent Directory Parent Directory


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

Revision 47038 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 5 15:36:18 2012 UTC (2 years, 2 months ago) by wouter
File length: 2291 byte(s)
Diff to previous 44507
 Import last set changes from 534 patch branch
 -----------------------------------------

*** r47035 ***

  o RooCachedReal

    - Bug fix: attach parameters of function clone to those of tracker
      to retain connection with original parameters


  o RooNameSet

    - Implement operator<() and operator()= to allow use as key in stl::map


  o RooAbsCachedReal

    - Expose source clone in CacheElem as contents to facilitate correct link
      redirection on cache content

    - Set cached source clone and cached datahist to ADirty mode to speed up
      scanning of cache when recalculating


  o RooAbsAnaConv, RooTruthModel, RooResolutionModel

    - Add interface to allow resolution model to return GenContext, needed
      for special pdfs with custom efficiency handling


  o RooAddGenContext

    - Make coefficient interpretation used in GenContext not forcibly override
      any existing custom choices to allow user to override default choice
      with his own

*** r46916 ***

  o RooWorkspace

    - Increment all string buffers from 1024 to 10k

*** r46696 ***

  o RooVectorDataStore

    - Fix stress test failure (check _wgtVar before using it in loadValues()

*** r46691 ***

  Support changes of weight variable (was no longer possible with last fix)

  o RooGlobalFunc

    - Add optional argument to WeightVar() that when true signifies that
      given column should be reinterpreted as weight when used in combination
      with the Import() of an already weighted datasets

  o RooDataSet, RooVectorDataStore
 
    - Implement support of new Import() option


*** r46666 ***

  o RooDataHist

    - Set importDensity to false for all constructor forms that import TH1s
      (to be consistent with Import() setting)

*** r46611 ***

 o RooAddPdf

   - Increase size of _coefCache to 100 elements in default ctor

*** r46603 ***

  o RooVectorDataStore

    - In loadValues() add special handling for cases where weight name
      in source and target dataset are not identical


  o RooRealSumPdf

    - Add flag to optionally truncate negative values to zero


  o RooMinuit, RooMinimizer

    - Add option to generate error status when FCN exceeds 1e30


*** r46575 *** 
 
  * RooFit Fixes from LHCb


*** r46573 ***

  o RooBanner

     - Increment version tag to 3.55

*** r46571 ***

   o RooFitResult

     - Disable default filling of legacy correlation matrix to save memory and CPU.
       It wil still be filled on-demand when it is accessed

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: 2239 byte(s)
Diff to previous 25184
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 25184 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Aug 20 13:59:55 2008 UTC (6 years, 5 months ago) by wouter
File length: 2234 byte(s)

   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.

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