Log of /trunk/roofit/roofitcore/inc/RooLinkedList.h
Parent Directory
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: 3947 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
41676 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Nov 1 15:44:30 2011 UTC (3 years, 2 months ago) by
wouter
File length: 3490 byte(s)
Diff to
previous 41536
*** Miscellaneous speed improvements ***
o PiecewiseInterpolation
- Import changes from Max baak (new interpolation options)
- Deploy fast iterators
o RooGaussian
- Bug fix in analytical integral over 'mean' parameter (Lorenzo Moneta)
o RooBernstein
- Deploy fast iterators
o RooProdPdf
- Reorganize code for improved speed
o RooDataHist
- Add support for vector-based data storage
o RooGenContext
- Improve generation speed by putting internal pdf clone to ADirty mode
o RooRealBinding
- Minimize number of calls to min() and max() for efficiency reasons
o RooAbsRealLValue
- In randomize() Minimize number of calls to min() and max() for efficiency reasons
o RooDataSet
- Make addFast() even faster by disable state propagation
o RooAbsGenContext
- Disable state propagation in output dataset for efficiency reasons
- Call initGenerator() only on the first generation sequence
o RooVectorDataStore
- Add support for native vs current buffers, to support the functioning
of addColumn(s)() and cacheArgs() when the datastore is attached
to a pdf in RooAbsOptTestStatistics
o RooAbsCategoryLValue
- Support change in RooAbsCategory to operate nominally by index rather than by label
o RooXYChi2Var
- Change code to support new pdf/data attachment scheme in RooAbsOptTestStatistics
where only the store buffers are reattached and the variable objects themselves
o RooFFTConvPdf
- Bug fix in getActualObservables() - functionality of setCacheObs() is now restored
o RooAbsReal
- Small adjustments in getVal() to make it faster in most cases
o RooAbsCollection
- Add datamember to keep track contents is exclusively RooRealVars. For those that
do implement a faster version of assignFast()
o RooAbsData
- Add methods attachBuffers() and resetBuffers() - forwarded to datastore - that
facilite new 'fast-attach' methods used in RooAbsOptTestStatistic
o RooCompositeDataStore
- Fix copy constructors so that they clone and own the subsidiary datasets
- Operate index by value rather than by string label for efficiency reasons
o RooRealVar
- Bug fix in attachToVStore() to properly handle RRVs with StoreError tags
o RooAbsPdf
- Adjustments in getVal() to make it faster for most cases
- Modify generate(GenSpec*) to initialize specInit flag that
triggers one-time call of initGenerator()
- Modify generate() to not repeatedly call initGenerator() for the same gencontext
o RooAbsArg
- Deploy fast iterators in more places
- Add various new inline methods performing multiple ops (e.g retrieving and
clearing one or more dirty flags) for improbed RooAbsReal/RooAbsPdf::getVal()
operations
o RooBanner
- Increment version tag to 3.48
o RooRealIntegral
- Add overloaded getVal() method that also checks for shapeDirty flag,
which was removed from RooAbsReal::getVal() as it is not needed for
any class other than RooRealIntegral
o RooAddGenContext
- Disable state propagation in output dataset for efficiency reasons
- Replace ROOT container classes with STL versions for efficiency reasons
o RooMultiCatIter
- Adjust code to new RooCatType behaviour that by default only tracks the
integer representation of type
o RooProdGenContext
- Replace ROOT container classes with STL versions for efficiency reasons
o RooTreeDataStore
- Adjust code so that it works with the new fast-attach mechanism used
in RooAbsOptTestStatistic
o RooRealProxy
- In lvptr() remove explicit check for lvalue
o RooSimGenContext
- Disable state propagation in output dataset for efficiency reasons
- Replace ROOT container classes with STL versions for efficiency reasons
- In createDataSet() create a prototype dataset in the first call, and
clone that for subsequent calls rather than calling the expensive named
argument constructor each time
o RooTrace
- Add (dummy) method callgrind_zero() and callgrind_dump() as hook functions
to facilitate improved callgrind profiling
o RooAbsCategory
- Adjust class so that it works with the integer representation of types only
and lookup associated string label on the fly, whenever it is requested
o RooFormular
- Eliminate overloaded getVal() as its functionality is now provided in
RooAbsReal::getVal()
o RooAbsOptTestStatistic
- Implement new fast-attach mechanisms for pdf and datasets: only readjust the
buffer pointers of the dataset to the pdf observables, rather than reattaching
the pdf to the dataset observables. This results in a _much_ faster
operation of setData() and no longer entangles the test statistics with observables
of datasets that may be deleted during the lifetime of the test statistic
o RooSimultaneous
- Overload fillDataHist() with new version with correct normalization (from Scott Snyder)
o RooCategory
- Adjust getLabel() so that it retries labels associated with the current index on the fly
o RooCatType
- Make label contents 'transient', i.e. it is not copied on assignment for faster
category operations. RooAbsCategory will load the associated labels on demand from now on.
Revision
41536 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Oct 21 20:30:29 2011 UTC (3 years, 3 months ago) by
wouter
File length: 3542 byte(s)
Diff to
previous 30333
*** Deployment of vector datastore & miscellaneous speed improvements ***
o RooProduct,RooProdPdf,RooRealSumPdf,RooConstraintSum,RooAddition
- Deploy minimal iterator
o RooDataHist
- Add sumEntries()
o RooDataSet
- In ctor, allow choice of vector and tree data store.
- Change calls to attachToTree() to attachToStore()
- Add sumEntries() forwarding call to stre
o RooVectorDataStore
- New RooAbsDataStore implementation, based on STL vectors
rather than TTrees
o RooAbsReal
- Adjust getVal() so that clean-cache elements are processed more efficiently
- Add attachToVStore()
o RooAbsCollection,RooLinkedList
- Add minimalIterator() returning by valye a minimistic iterator (forward step only)
with a non-virtual step function
o RooAddPdf
- Deploy minimal iterator
- Skip evaluation of supplemental normalization factors if the're all one
o RooAbsData
- Add static member encoding default storage type (vector vs tree)
- Add method convertToVectorStore() to convert datasets with a tree-based store
to a vector-based store
o RooCompositeDataStore
- Implement dummy loadValues() method
o RooRealVar
- Implement attachToVStore()
o RooAbsPdf
- Deploy minimal iterators
- In getVal() also check for negative integrals as problematic value
o RooAbsArg
- Implement default version of isDerived() that always returns kTRUE
- Add pure virtual method attachToVStore()
- Deploy minimal iterators
- Implement attachToStore() which forwards to attachToTree() or attachToVStore()
depending on the storage type
o RooTreeDataStore
- Use setOperMode() with recursion where needed instead of looping manually
over branches
- Implement sumEntries()
o RooNameReg
- Add special fast handling of null pointers for conversions both ways
o RooAbsCategory
- Implement attachToVstore()
o RooRealVar
- Implement isDerived() method that was orignally in RooAbsArg
- Implement attachToVStore() that optionally attaches error buffers too
o LinkDef3, Module.mk
- Add class RooVectorDataStore
o RooAbsString
- Implement dummy attachToStore()
o RooConstVar, RooCategory
- Implement isDerived() that always returns kFALSE
o RooAbsDataStore
- Add pure virtual method sumEntries()
- Add pure virtual method loadValues()
o RooLinkedListIter
- Add class RooMinimalLinkedListIterator for forward-only
iteration without virtual function calls
- Add typedef to RMLLI
- Add non-virtual NextNV() to RooLinkedListIter
Revision
24278 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Jun 15 15:21:16 2008 UTC (6 years, 7 months ago) by
wouter
File length: 3221 byte(s)
Diff to
previous 23134
o RooMPSentinel WHERE RooGenContext RooLinearMorph RooHistFunc RooInvTransform RooFracRemainder
RooIntegrator2D RooGaussKronrodIntegrator1D RooFitResult RooFFTConvPdf RooHist RooFormula RooIntegrator1D
RooMCStudy RooGenericPdf RooIntegratorBinding RooMPSentinel RooImproperIntegrator1D RooExtendPdf RooInt
RooLinTransBinning RooLinkedList RooLinkedListElem RooGenCategory RooList RooGrid RooLinkedListIter
RooMCIntegrator RooHistPdf RooListProxy RooFormulaVar RooHistError RooLinearVar RooGenProdProj RooHashTable
- Upgrade inline documention: make sure that (almost) every member function has some descriptive comments, every
data member has a descriptive comment, make sure that each class has a description.
- Fix class description header so that it is correctly identified by THtml
Revision
20161 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 1 16:28:25 2007 UTC (7 years, 3 months ago) by
wouter
Original Path:
trunk/roofitcore/inc/RooLinkedList.h
File length: 3187 byte(s)
Diff to
previous 18735
o RooAbsCache
- New abstract base class for cache objects associated with RooAbsArgs.
Caches register themselves with the owning RooAbsArg and propagate
all necessary state changes and meta information to objects in the cache
o RooCacheManager
- Concrete template implementation of RooAbsCache with an interface
and functionality styled after RooNormListManager. The template class
provide no special handling for cache contents that includes RooAbsArg
objects and does not forward hook calls. It is thus mostly intended
to cache basic types indexed on a normalization/integration configuration
o RooObjCacheManager
- Class derived from RooCacheManager<RooAbsCacheElement> that implements
all proper call forwarding and handling of state and other meta information
to RooAbsArg objects embedded in the cache elements. To facilitate this
functionality the RooAbsCacheElement defines a pure virtual method
containedArgs() that must be implemented to expose its contents to
the cache manager. The default behavior on a serverRedirect hook is
to sterilize the cache. OperMode changes are not forwarded by default
to the cache contents as cached objects do not necessarily have the
same operation mode (e.g. if the cache contains an integral of its owner).
Any calls to optimizeCacheMode(), printCompactTreeHook(), and findConstantNodes()
are forwarded. Moreover, optimizeCacheMode() calls are remembered and
any objects inserted in the cache after such a call was received will be
optimized upon insertion in the cache
o RooAbsCacheElement
- Abstract base class for objects to be managed by RooObjCacheManager. Each
object must in addition to its payload implement the containedArgs()
member function that exposes the RooAbsArg object content to the manager
for processing. The argument passed to containedArgs() indicates the use
case for the returned list of objects, allowing the cache payload to
return different lists depending upon use. This is for most applications
not required.
o RooAbsCachedPdf
- Abstract base class derived from RooAbsPdf for p.d.f.s that implement
value caching in a grid over the entire domain of the observables.
The base class implements the overall caching logistics and manages
the RooDataHists and RooHistPdfs that respresent the cached contents.
Derived classes must inputBaseName() defined a unique name prefix for
all cache objects, actualObservales() and actualParameters() to
determined the actual observables and parameters given a set of
available observables and fillCacheObject() which should fill the
RooDataHist cache for a given obs/params configuration with the
p.d.fs values.
o RooAbsSelfCachedPdf
- Abstract base class derived from RooAbsCachedPdf that implements
all of the required logistics in RooCachedPdf and only require
derived classes from RooAbsSelfCachedPdf to implement evaluate().
Any class derived from RooAbsPdf can thus be trivially switched
to derived from RooAbsSelfCachedPdf and gain the caching functionality.
o RooCachedPdf
- Concrete class derived from RooAbsCachedPdf that implements
the caching of an externally provided p.d.f in the constructor.
o RooFFTConvPdf
- Concrete class derived from RooAbsCachedPdf that implement generic
numeric convolution of two input p.d.f.s using FFT technique
and convolution theorem. Actual FFTs are calculated by FFTW
through TVirtualFFT interface in ROOT. Present implementation only supports
convolution in one dimension, but this will be extended later
as there are no fundamental limitations in RooAbsCachedPdf nor FFTW.
o RooHistPdf
- Moved from RooFit to RooFitCore because it is used by caching classes
o RooProdPdf
- Use new RooObjCacheManager to store partial objects
- Fix memory leak (already patched in 15.0.14h)
o RooDataHist
- Use new RooCacheManager template to cache partial bin volumes
- Add new set(),setAllWeights() method to update current weight and all weights
respectively, for use in cached p.d.f.s
- Add sliceIterator() that iterates over all bins in a lower dimensional
slice of the dataset
o RooDataHistSliceIter
- Class derived from TIterator that implements the iteration
over a slice in a reduced number of dimensions in a RooDataHist
o RooMsgService
- Speed up processing of debug streams in cases where no debug streams are active
- add macros series oocoutX and oocxcoutX that allow to associate message with
a different object than *this
o RooRealBinding
- Interface new setValue method that allows value to be set outside default
domain, but inside given alternate named range. For use in numeric integrator
bindings
o RooAbsRealLValue
- Add new inRange() method with range name specifier to check against chosen
range instead of default range
o RooCmdConfig
- Fix dangling return pointer problem in decodeStringOnTheFly() method
o RooNameSet
- Fix bug in refoll()
o RooChi2Var, RooNLLVar
- Add processing of AddCoefRange() named argument
o RooConvCoefVar
- Hold p.d.f in proxy without value/shape state propagation to obtain
correct dependency of RooConvCoefVar through separate set proxy
with parameters that do have state propagation
- In getAnalyticalIntegral() ask for integration coefficient specific
to coefficient (following interface change in RooAbsAnaConv)
o RooEfficiency
- Follow interface change in RooCategoryProxy
o RooAbsAnaConvPdf
- Use new RooObjCacheManager to hold normalization and coefficient representations
- Extend getCoefAnalyticalIntegral() interface so that each coefficient
can have a separate integration configuration
- Modify makeCoefVars() such that it constructs the RooConvCoefVars with
actual dependents for each coefficients, rather than inserting dependencies
of any of the coefficients in each coefficient. This logic requires support
from the implementation class that is interface through a new member function
coefVars()
o RooAbsReal
- Add Boolean data member treeVar that indicates is value buffer is also
branch buffer of a tree. This information is already present in the RooAbsReal
but is relatively expensive to retrieve and is always needed in the inner
loop of data set operations. This extra member significantly speeds up operations
- Remove superfluous _norm[] token in name returned by integralNameSuffix() if
no normalization set is supplied.
- Add a fillDataHist() method that fills a given RooDataHist with a sampling
of the given function. Added for support of caching p.d.f.s
- Downgrading warning on non-dependent projection variables in plotOn() to
a debug level message
- Remove function optimizeDirty(),doConstOpt(),undoConstOpt(),findCacheableBranches()
findUnusedDatasetVariables() and findRedundantCacheServers() as part of reorganization
of optimization functionality.
o RooAbsCollection
- Use iterator semantics instead of vector semantics to process RooLinkedList
contents in assignment operator
- Add utility function contentsString() returning stl string with names
of contents
o RooAddPdf
- Rewrite cache management using new RooObjCacheManager that holds projection
integrals, range integrals and supplemental normalization lists
o RooAbsOptGoodnessOfFit
- Improve handling of normalization ranges and reference ranges for test statistics
containing RooAddPdfs. New named argument in fitTo() and RooNllVar::ctor() pass
reference range for fractions in RooAddPdf components that do not have an explicit
fixed definition already. Name all normalization ranges explicitly after the
subrange to which the're applied to avoid name clashes and conflicts if multiple
normalization ranges are involved.
- Rewrite informational messages through RooMsgService
- Implement new constOptimizeTestStatistic() function that signals all test statistic
components of a RooAbsArg expression tree to perform their constant term optimization
- Implement new optimizeCaching() driver function that changes default lazy-evaluation-with-caching
scheme to test statistic scheme where only parameters objects propagate state changes and
where all components that depend directly or indirectly on observables have lazy evaluation
disabled. Changes to p.d.f objects are delegated to RooAbsPdf::optimizeCacheMode(). Changes
to dataset are delegated to RooAbsData::optimizeReadingWithCaching()
- Implement new optimizeConstantTerms() function that is back end for constOptimizeTestStatistic
implementation.
o RooAICRegistry, RooNormSetCache
- Remove tracking of allocation cycles of RooArgSets as this scheme is superseded by
memory pool mechanism for RooArgSet allocation
o RooMappedCategory
- Follow interface change in RooCategoryProxy.
o RooRealMPFE
- Follow reorganization of optimization functionality: implement new constOptimizeTestStatistic
function for forwarding to slave processes.
o RooRealVar
- Add new setVal() function with range name to facilite setting of values that are outside
default range, but inside specified alternate range. Needed for numeric integration and
certain RooAddPdf coefficient projection.
o RooAbsArg
- Make state management functions public [is/set][Value/ShapeDirty](), setOperMode90
- Add static _flipAClean boolean to support setACleanAdirty() static method.
- Implement mechanism for registration of cache objects with base class RooAbsCache.
Forward all calls to operModeHook(), redirectServersHook(), optimizeCacheMode()
and printCompactTreeHook() to all caches for further processing
- Define constOptimize() function and provide default implementation that forwards
to all servers
- Implement optimizeCacheMode() function that puts expression tree in optimized
caching for test-statistics operations (only cache/lazy evaluate nodes that
do not (indirectly) depend on observables
- Implement findConstantNodes() function that identifies all nodes that depend
exclusively on constant observables and >0 observables that are eligible
for precalculation and caching in test statistics operations by
RooAbsOptTestStatistic::optimizeConstantTerms()
- Define constOptimizeTestStatistics that signal an expression tree that any
embedded test statistic objects should perform their constant term optimization.
Default implementation in RooAbsArg forwards call to all servers.
o RooAbsPdf
- Use new RooObjCacheManager to manage normalization integrals cache.
- Process new SumCoefRange() option in fitTo() that sets the coeffient
interpretation range for all embedded RooAddPdf objects of which
the interpretation range was not explicitly set
- Extend interface of fixAddCoefNormalizationSet(): add extra argument
that controls if AddCoef normalization set are forcibly overruled
for objects that already have an explicit range setting.
o RooRealIntegral
- Add some informational messaging through RooMsgService, rewrite existing ones
- Speed up numeric summations by precreating the involved RooSuperCategory
in the ctor rather than in evaluate().
- Fix bug in dependency insertion: explicitly require servers to be value
server to avoid pulling in fake dependents.
- Remove obsolete data members
- Implement new setACleanADirty() function that atomically flips state of
all AClean objects to ADirty for the duration of the integration step.
Replaces the much more expensive prepareACleanFunc() that did this
only for the objects involved.
- Process factorizing terms in integral only if the list is not empty
- Process Jacobian terms in integral only if the list is not empty
o RooAddGenContext
- Adapt to cache management chanches in RooAddPdf
o RooNumIntFactory
- Use STL classes for internal memory management
o RooSetProxyy
- Implement operator new() and operator() delete as required because
RooArgSet implements them
o RooAbsGoodnessOfFit
- Store and forward AddCoefRange information for embedded RooAddPdf objects
- Implement constOptimizeTestStatistic() and forward to components
o RooErrorVar
- Follow inRange() interface change in RooAbsRealLValue
o RooConvGenContext
- Adapt code to make it work with both RooAbsAnaConv objects and
the newly introduced RooFFTConvPdf
o RooMinuit
- Follow reorganization of optimization functionality
o RooProjectedPdf
- Store projection using new RooObjCacheManager
o RooGlobalFunc
- Add RooFit::SumCoefRange() named argument for RooAbsPdf::fitTo()
and RooNLLVar::ctor() and RooChi2Var::ctor()
o RooClassFactory
- Extend existing makePdf(),makeFunction and makeClass() functions
to also accept RooAbsCategory arguments, to accept an optional string
inserted as the return value expression inserted in the
evaluate() method of the class created, as well as as option string
specifying one or more analytical integrations of the given function
expression that will be advertised in the generated getAnalyticalIntegral()
code and implemented in the generated analyticalIntegral() code
- Add makeAndCompileFunction() and makeAndCompilePdf methods that
generate the code and immediate compile it through ROOTs ACliC interface.
These functions have a simpler interface because the list of arguments
of the function to be created can be specified as a const RooArgSet&
rather than a string with a list of names, thus making it easier
for on-the-fly definition of compiled objects.
- Add defineFunction() and definePdf() methods define and compile
a function/pdf using the above functions and immediately instantiate
an object of the given type passing the specified RooArgSet arguments
to the constructor of the object. These functions make a compiled
equivalent of RooFormulaVar based on the TFormula interpreter, i.e.
RooAbsReal* f = new RooFormulaVar("f","D(1-2w)",RooArgSet(D,w)) ;
becomes
RooAbsReal* f = RooClassFactory::defineFunction("f","D(1-2w)",RooArgSet(D,w)) ;
o RooAbsCategory
- Add Boolean data member treeVar that indicates is value buffer is also
branch buffer of a tree. This information is already present in the RooAbsReal
but is relatively expensive to retrieve and is always needed in the inner
loop of data set operations. This extra member significantly speeds up operations
- Construct explit clean name for TBranch name if node is cached, equivalent
to what is done in RooAbsReal. Needed because new constOptimizer can also
cache RooAbsCategory objects
o RooArgSet
- Implement operator new() and operator delete() to implement memory pool scheme
for RooArgSets. The goal of this implementation is to insure that two RooArgSet
pointers are _never_ the same. This allows to RooNormSet cache manager to safely
and quickly index integration and normalization configurations by evaluating
the contents of a RooArgSet only the first time it sees it.
o RooSimultaneous
- Implement caching of partial integrals using new RooObjCacheManager
- Following interface change in RooCategoryProxy ;
o RooAbsData
- Defined pure virtual methods optimizeReadingWithCache() and allClientsCached()
o RooTreeData
- Implement optimizeReadingWithCache() which determines given a p.d.f to be
evaluated and a list of the nodes that are cached for it, which observables
in the dataset are no longer required because they are either not an observable
of the p.d.f, or they exclusively feed nodes that are cached. Reading of these
observables is disabled through SetBranchStatus().
- Move allClientsCached() utility function here from RooAbsReal.
o RooCategoryProxy
- Remove const char*() conversion operator in favor of a const char* label() method
to remove possibly ambiguities in C++ math expressions involving category proxies.
o LinkDef3.h
- Add newly defined classes
Revision
9370 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 2 07:39:04 2004 UTC (10 years, 6 months ago) by
wverkerke
Original Path:
trunk/roofitcore/inc/RooLinkedList.h
File length: 3214 byte(s)
Diff to
previous 9273
This round of updates achieves two major goals
- Large (O(10-100)) speedup in handling of very
complex PDFS (>10000 nodes) by pervasive use
of self-expanding hash tables
- Fix outstanding problems with RooProdPdf
through new strategy to deal with cached
objects in cloning/server redirect operations
There is also a handful of minor fixes
------------------------------------------------
o RooSetPair
- New auxiliary class to store pair of RooArgSet pointers
o Roo1DTable
- Don't fill entries with zero weight
o RooAbsArg
- Add optional 2nd arg to printCompactTree() to store
output to file
o RooAbsCollection
- Initialize RooLinkedLists with hashing size threshold of 43
o RooAbsGoodnessOfFit, RooAbsOptGoodnessOfFit, RooProdPdf
- Follow changes in printCompactTree() syntax
o RooAbsOptGoodnessOfFit
- Remove all methods that implement dirty state optimization
and constant term caching (migration to RooAbsReal)
o RooAbsReal
- Various fixes in plotAsymOn fix plotting of asymmetries
in conjunction with ProjWData() and Slice()
- Add methods that implement dirty state optimization
and constant term caching (migration from RooAbsOptGoodnessOfFit)
o RooDataProjBinding
- Remove some old debug code
o RooHashTable
- New constructor option allow to choose hashing by name,
pointer or objects Hash() value
- Switch to using TMath::Hash() fast hashing method
using 'especially selected random numbers' (!)
- Add kludgy support for storage of RooLinkedListElem
and RooSetPair objects, which do not inherit from TObject.
(A full redesign of RooLinkedList and RooHashTable is needed
at some point)
o RooHist
- Fix print statement
o RooHistError
- Lower (n,m) threshold for calculation of approximate binomial
error to avoid factorial overflow problems.
o RooLinkedList
- Introduce automatically activated hashing by name and pointer
to speed up handling of long lists beyond size threshold
given in ctor (zero threshold disables this features)
- Automatically rehash tables when #entries becomes greater
than hash table size
o RooNameSet
- Sort contents upon insertion. This fixes broken operator==
for certain set comparisons
o RooNormListManager
- Add support for 'sterile' operation. If contents is sterilized
via new sterilize() member function or use of sterile copy
ctor RooNormSetCache information is retained (and thus
ordering and slot indeces used by client classes) but
stored contents associated with given iset/nset pairs
is deleted. A 'setNormList()' call that maps to a
sterilized slot will recycle that slot. Optional new argument
in getNormList will tell client that requested information
has been sterilized rather than not being there.
o RooNormSetCache
- Store set pair information in hash table of RooSetPair objects
rather than two fixed size arrays of RooArgSet pointers.
This greatly improves lookup speed (indexed by set pointers)
and automatically expands the capacity of the set cache
as is needed for very complex fits.
o RooProdPdf
- Abandon strategy to forward redirectServer requests to
cached product configurations. This strategy has turned
out to be flawed as insufficient information is available
in the redirectServers context to do the right thing
under all circumstances. Invocation of redirectServerHook()
will now sterilize the cache, using new RooNormListManager
feature
- Modify getAnalyticalIntegralWN(), which looks up cached
product configurations by index to recognize sterilized
entries. If such an entry is encountered, it is reconstituted
on the fly.
o RooRealIntegral
- Store owned clones of factorizing observables instead of linking
to instances provided in ctor as ownership related of those
turns out not to be well defined.
o RooRefCountedList
- Set hashing threshold of underlying RooLinkedList at 17
o RooSimPdfBuilder
- Increase buffer sizes of RooStringVars in set returned by
createProtoBuildConfig() to accomodate requests for ever
more complex pdf configurations.
Revision
5317 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 17 06:39:35 2002 UTC (12 years, 4 months ago) by
verkerke
Original Path:
trunk/roofitcore/inc/RooLinkedList.h
File length: 3168 byte(s)
Diff to
previous 5212
o RooAbsPdf, RooAbsReal, RooDataHist, RooTreeData
- Changed protected plotOn() to accept RooLinkedList instead of TList
o RooCmdConfig
- Change process(),stripCmdList to use RooLinkedList instead of TList
o RooFormula
- Changes all internal lists to RooLinkedList (was TList, TObjArray)
o RooHashTable, RooLinkedList, RooLinkedListElem, RooLinkedListIter
- Change interface from RooAbsArg to TObject
o RooHtml
- Update copyright, web address etc
o RooRefCountList
- Inherit from RooLinkedList instead of THashList
o RooSimultaneous
- Fix handling of RooCmdArgLists & change protected plotOn() interface from
TList to RooLinkedList
o RooTrace
- Fix include files
o makedocs
- Set default to production color scheme
Revision
4325 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Apr 8 20:20:45 2002 UTC (12 years, 9 months ago) by
verkerke
Original Path:
trunk/roofitcore/inc/RooLinkedList.h
File length: 5359 byte(s)
Diff to
previous 4300
o RooAbsCategory
- Add protected defineTypeUnchecked(label,index) for internal
use that skips any checks for duplicate label definition.
- Implement member functions in using iterators instead of
array semantics to prepare for future migration to different
state list container class
o RooAbsCollection
- Enable hash tables lookup in snaphot output container to reduce
tree copying and reconnection time
o RooCustomizer,RooSimPdfBuilder
- Enable hash table lookup in various internal lists to speed
up build process
o RooHashTable
- Add member function to return current hash table size
o RooLinkedList
- Add get/setHashTableSize() function to steer hash table lookup
in lists. Tables can be resized or activated at any moment in
the lists lifetime.
o RooSuperCategory
- Use defineTypeUnchecked() instead of defineType() in
updateIndexList()
Revision
3240 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 19 07:24:00 2001 UTC (13 years, 2 months ago) by
verkerke
Original Path:
trunk/roofitcore/inc/RooLinkedList.h
File length: 4688 byte(s)
Diff to
previous 3073
o RooAbsArg
- Improved verboseDirty messaging a bit
o RooAbsCategoryLValue
- fix assignment operator (OSF compiler warnings)
- move RooAbsCategory& assignment operator here from RooCategory
o RooAbsPdf
- Improve verboseEval messaging a bit
- Add virtual fitContext() method that returns fit context
appropriate for top-level PDF
- Change fitTo() to use new fitContext method
- Add fitTo() method with added const RooArgSet& to specify
dependents to be projected with datat
o RooAbsReal
- Deprecate plot range / bins related functions
- Move frame() to RooAbsRealLValue
o RooAbsRealLValue
- Fix assignment operators (OSF compiler warnings)
- Add frame() method from RooAbsReal that passes the fit range/bins
to the RooPlot. Checks that ranges is not zero of open ended
- Add new frame() method that takes range and number of bins to
supercede the default (taken from fitrange/bins)
o RooAddModel
- Some fixes to normalization propagation when used as regular PDF
o RooArgList, RooArgSet
- Declare constructors with name (const char*) and from TCollection&
as 'explicit' to avoid funny implicit conversions (i.e. giving
a quoted string where a const RooArgSet& is expected would be ok...)
o RooCategory
- Move assignment operator from RooAbsCategory to RooAbsCategoryLValue
o RooDataHist
- Deprecate plotBins/Range propagation
o RooDataSet
- Force uniqe name of each THx created with createHistogram() by
adding static counter to name. (Without THx objects with the
same name supercede each other)
o RooErrorHandler
- include stdlib (OSF compiler warning)
o RooErrorVar
- Make inherit from RooAbsRealLValue instead of RooAbsReal.
Add methods and datamembers for fitRange/Bins
o RooFitContext
- Add support for dependent intergration via projection
- Change nLogLikelihood to take extended status from argument
instead of from _extendMode datamember
- Improve dirty state optimizer to only declare branches
as 'always dirty' that actually depend on the the dataset
variable
o RooHistError
- Remove default value of last arg in implementation
asymmetry ctor (Solaris compiler error)
- Change name of BinomialSum data members from _n,_N
to _n1,_N1 to work around bizarre Solaris compiler bug
o RooHistPdf
- Fix overzealous getAnalyticalIntegal()
o RooLinearVar
- Deprecate plotRange/Bins forwarding
o RooLinkedList
- Add optional hashtable lookup (off by default)
o RooHashTable
- Simple hash table implementation
o RooLinkedListIter
- Fix assignment operator (OSF compiler warning)
o RooMCStudy
- Changes due to plotRanges/Bins deprecation
o RooPlot
- Add ctor from RooAbsReal with alternate range and bins
- Add nameOf() utility function to access element properties
by index
o RooRealIntegral
- Implement dependent integration via projection
(i.e. simply treat those dependents as parameters)
o RooRealVar
- Deprecate plotRange/Bins interface
- Modify readFromStream/writeToStream to no longer read/write
plot ranges tokens (existing tokens will be ignored with
a warning message). Also change prefix of fitRange token
from F to L in preparation of renaming fitRange to limits.
readFromStream() currently still accepts F without warning
o RooResolutionModel
- Fix normalization behaviour when used as a regular PDF
o RooSimFitContext
- Add support for dependents normalized via projection
- Allow mixed extended/regular components in extended mode
o RooSimultaneous
- Change condition for extendability from having only extendable
PDFs to having any extendable PDF
- Deprecate custom fitTo()
- Overload fitContext() to return specialized RooSimFitContext
o RooStringVar
- Fix assignment operator (OSF compiler warnings)
o RooTruthModel
- Fix return values of evaluate/analyticalIntegral() (Solaris compiler
warnings)
o RooPolyVar
- New RooAbsReal derived class implementing a polynomial function
with RooAbsReals as coefficients
Revision
3073 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Oct 19 22:19:50 2001 UTC (13 years, 3 months ago) by
verkerke
Original Path:
trunk/roofitcore/inc/RooLinkedList.h
File length: 4102 byte(s)
Diff to
previous 3048
Fix persistence of RooLinkedList, RooDataSet
--------------------------------------------
o RooAbsArg
- Remove assert in default ctor(). Once put there
to trap streamer based cloning
o RooAbsCollection
- Follow minor interface changes in RooLinkedList
o RooAbsData
- Make _cachedVars not persisted
o RooLinkedList
- Make custom streamer that sequentually
read/writes contained elements to stream
- Inherit from TObject to facilitate persistence
o RooFitCore_LinkDef.hh
- Added to declare that RooLinkedList has a custom streamer
o RooLinkedListElem
- Declare as transient class (not used in RooLinkedList persistence)
o RooTreeData
- Add transient flag that determines if object was constructed
from default ctor (i.e. an object retrieved from persistence)
If set get() will on first use reconnect all args in _vars
as branches to the tree
Revision
3048 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Wed Oct 17 05:04:00 2001 UTC (13 years, 3 months ago) by
verkerke
Original Path:
trunk/roofitcore/inc/RooLinkedList.h
File length: 3987 byte(s)
Efficient generation of convoluted variables
--------------------------------------------
o RooConvGenContext
- New generator context that generates physics
model and resolution model separately and returns
the smeared result
o RooConvolutedPdf
- Overload genContext() to use the new efficient
generator scheme if both resolution model and
and physics model support direct generation
of the convolution variable and the resolution
model has no other dependents
- Add protected changeModel() function to allow
RooConvGenContext to change present model on the
fly.
o RooGenContext
- Add option to force consideration for direct generation
of a given set of dependents. Used by RooConvGenContext
to force direct generation of convolution variable when
convoluted with the truth model
o RooTruthModel
- Hand code the 6 basis functions used for B mixing
and decay as special cases. (Significant speed gain)
o RooResolutionModel
- In convolution(), swicth from RooAbsArg::findServer(0) to
RooFormulaVar::getParameter(0)
Collection Storage / General stability improvement
--------------------------------------------------
o RooAbsCollection
- Switch to use RooLinkedList instead of THashList as
internal storage mechanism
o RooLinkedList,RooLinkedListElem,RooLinkedListIter
- New efficient implementation of a linked list
that doesn't try to access it's members when
removing them (nor does any other funny & illegal
things that all TList subclasses can't seem to stop doing)
Miscellaneous fixes
-------------------
o RooAICRegistry
- Fix copy ctor (clone owned RooArgSets)
o RooFormula
- Introduced delayed compilation of TFormula:
formula is compiled only when value is requested
for the first time. (Efficiency gain for RooFormulaVars
used as basis function, which are often not evaluated
at all)
o RooAbsReal
- Fix erroneous warning message in makeProjectionSet()
o RooAcceptReject
- Delete cache in ctor!
o RooListProxy
- Bug fix: overload addOwned()
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.