Log of /trunk/roofit/roofit/src/RooGaussian.cxx
Parent Directory
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: 4652 byte(s)
Diff to
previous 41676
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
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: 4630 byte(s)
Diff to
previous 34064
*** 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
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: 4573 byte(s)
Diff to
previous 25185
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
25185 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 20 14:00:42 2008 UTC (6 years, 5 months ago) by
wouter
File length: 3915 byte(s)
Diff to
previous 24286
o RooCFunction1Binding, RooCFunction2Binding, RooCFunction3Binding, RooCFunction4Binding
- New template for RooAbsReal derived class to bind generic C(++) function with [1234] arguments
to [1234] RooAbsReals representing its parameters
o RooCFunction1PdfBinding, RooCFunction2PdfBinding, RooCFunction3PdfBinding, RooCFunction4PdfBinding
- New template for RooAbsPdf derived class to bind generic C(++) function with [1234] arguments
to [1234] RooAbsReals representing its parameters/observables
o RooTFnBinding
- New RooAbsReal derived class binding a TF[123] to [123] RooAbsReals representing its parameters
o RooTFnPdfBinding
- New RooAbsPdf derived class binding a TF[123] to [123] RooAbsReals representing its parameters
o RooTMathReg
- New utility class, registering all C++ functions in TMath that are relevant for use in RooFit
in function dictionary of RooC[1234]FunctionRef. This allows all RooCFunction[1234](Pdf)Binding
objects that bind TMath function to be persisted succesfully in a RooWorkspace
o RooMathCore(More)Reg
- New utility class, registering all C++ functions in ROOT::Math hat are relevant for use in RooFit
in function dictionary of RooC[1234]FunctionRef. This allows all RooCFunction[1234](Pdf)Binding
objects that bind TMath function to be persisted succesfully in a RooWorkspace
o RooChi2MCSModule
- RooMCStudy add-on module that calculates the chi^2 of each fit w.r.t to a binned version
of the generated toy data and addes the chi^2, ndof and prob(chi2,ndof) to the output
fit parameters dataset
o LinkDef1.h
- Add new classes, notably all required template instances of RooCFunction[1234](Pdf)Binding
to be able to bind all registered TMath and ROOT::Math functions.
Revision
24286 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 16 15:47:04 2008 UTC (6 years, 7 months ago) by
wouter
File length: 3858 byte(s)
Diff to
previous 23539
o Roo2DKeysPdf RooArgusBG RooBCPEffDecay RooBCPGenDecay RooBDecay
RooBifurGauss RooBlindTools RooBMixDecay RooBreitWigner RooBukinPdf
RooCBShape RooChebychev RooDecay RooDstD0BG RooExponential RooGaussian
RooGaussModel RooGExpModel RooKeysPdf RooLandau RooNDKeysPdf
RooNonCPEigenDecay RooNovosibirsk RooParametricStepFunction
RooPolynomial RooUnblindCPAsymVar RooUnblindOffset RooUnblindPrecision
RooUnblindUniform RooVoigtian
- Update style of class documentation header so that class documentation
is picked up again by THtml
- Introduce //___ style separators preceding each member function definition
- Make sure all classes have a one line ClassDef description
Revision
23539 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 24 21:02:13 2008 UTC (6 years, 9 months ago) by
wouter
File length: 3211 byte(s)
Diff to
previous 23134
=== Date: Thu Apr 24 15:20:15 2008 ===
o Various classes
- Fix all -Wshadow compiler warnings
o RooNDKeysPdf
- Fix gcc4.3 compiler warning
Revision
20163 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 1 16:34:16 2007 UTC (7 years, 3 months ago) by
wouter
Original Path:
trunk/roofit/src/RooGaussian.cxx
File length: 2990 byte(s)
Diff to
previous 19826
o RooHistPdf
- Moved from RooFit to RooFitCore because it is used by caching classes
o RooBCPGenDecay,RooBCPEffDecay,RooBMixDecay,RooNonCPEigenDecay
- Adapt to getCoefAnalyticalIntegral interface change in RooAbsAnaConvPdf
o RooBDecay
- Adapt to getCoefAnalyticalIntegral interface change in RooAbsAnaConvPdf
- Implement coefAnalyticalIntegral and getCoefAnalytical integral to forward
class to objects representing the coefficients
- Implement coefVars() so that RooAbsAnaConvPdf can sort out actual
dependents of each coefficient individually
Revision
19330 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 12 20:30:49 2007 UTC (7 years, 6 months ago) by
wouter
Original Path:
trunk/roofit/src/RooGaussian.cxx
File length: 3046 byte(s)
Diff to
previous 18782
o RooArgusBG, RooBifurGauss, RooBreitWigner, RooBukinPdf, RooCBShape, RooDstD0Bg,
RooExponential, RooGaussian, RooHistPdf, RooLandau, RooNovosibirsk, RooVoigtian
- Add default constructor and increment version number to 1
Revision
12083 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 20 15:51:06 2005 UTC (9 years, 7 months ago) by
wverkerke
Original Path:
trunk/roofit/src/RooGaussian.cxx
File length: 3104 byte(s)
Diff to
previous 12064
o Many files
- Replace <iostream> with "Riostream.h" to support compilation on platforms
that do not put iostream classes in namespace std
o RooBCPEffDecay, RooBCPGenDecay, RooBMixDecay, RooNonCPEigenDecay
- Follow signature change in getCoefAnalyticalIntegral(). Do not advertise analytical
summation of coefficients if a ranges is present to let RooRealIntegral sort out
proper summation of subset of states that are in range
o RooGaussModel
- Some fixes for compiler warnings on Windows
Revision
12064 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Jun 16 09:37:28 2005 UTC (9 years, 7 months ago) by
wverkerke
Original Path:
trunk/roofit/src/RooGaussian.cxx
File length: 3134 byte(s)
Diff to
previous 11620
o All .cc files
- Include new global header RooFit.hh
o Roo2DKeysPdf, RooArgusBG, RooBukinPdf, RooCBShape, RooDstD0BG,
RooGExpModel, RooGaussModel, RooKeysPdf, RooNonCPEigenDecay, RooNovosibirsk,
RooPolynomial
- Replace pow() with TMath::Power() to avoid Windows compiler warnings
o RooBifurGauss, RooCBShape, RooGExpModel, RooGaussModel, RooGaussian
- Replace erf() with RooMath::erf() to avoid Windows compiler warnings
- Replace erfc() with RooMath::erfc() to avoid Windows compiler warnings
o RooChebychev
- Adjust p0() function declaration to avoid gcc compiler warning
Revision
10649 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 29 21:15:51 2004 UTC (10 years, 1 month ago) by
wverkerke
Original Path:
trunk/roofit/src/RooGaussian.cxx
File length: 2922 byte(s)
Diff to
previous 10641
o All Classes
- Remove '#include BaBar/BaBar.hh' erroneously introduced by
the BaBar IOstreams migration utilities
o All classes deriving from RooConvolutedPdf
- Follow name change RooConvolutedPdf -> RooAbsAnaConvPdf
o some minor fixes to compile clean with '-Wall -Wno-parentheses'
Revision
4631 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri May 31 01:07:41 2002 UTC (12 years, 7 months ago) by
verkerke
Original Path:
trunk/roofit/src/RooGaussian.cxx
File length: 2407 byte(s)
Diff to
previous 4107
o All PDFs with internal generator implementation
- Follow signature change in RooAbsPdf::getGenerator()
o RooBMixDecay,RooBCPEffDecay,RooBCPSin2bgDecay,RooNonCPEigenDecay
- Do not advertise direct generation of category variables
if staticInitOK is false
Revision
2839 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 24 23:08:56 2001 UTC (13 years, 4 months ago) by
verkerke
Original Path:
trunk/roofit/src/RooGaussian.cxx
File length: 2343 byte(s)
Diff to
previous 2821
o All PDFs implementing analytical integration
- Follow hopefully final migration of getAnalyticalIntegral/
analyticalIntegral signature
o Roo2DKeysPdf
- Temporarily take out histogram writing as it doesn't compile
currently
o RooGaussModel
- Fix logic errors in evaluate() and analyticalIntegral()
which caused deferencing of non-existing parameters
in certain configurations.
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.