Log of /trunk/roofit/roostats/src/ToyMCImportanceSampler.cxx
Parent Directory
Revision
48992 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 28 15:26:26 2013 UTC (21 months, 3 weeks ago) by
rdm
File length: 20033 byte(s)
Diff to
previous 46081
From Lifeng Sun:
The attached patchset fixes a bunch of typo in the source:
0001-succes-success.patch
0002-preceed-preced.patch
0003-informations-information.patch
0004-childs-children.patch
0005-avaliable-available.patch
0006-writeable-writable.patch
0007-comand-command.patch
0008-unkown-unknown.patch
0009-wierd-weird.patch
0010-wheter-whether.patch
0011-unecessary-unnecessary.patch
0012-splitted-split.patch
0013-registerd-registered.patch
0014-recieve-receive.patch
0015-processsing-processing.patch
0016-ouput-output.patch
0017-mutiple-multiple.patch
0018-lenght-length.patch
0019-interupted-interrupted.patch
0020-independant-independent.patch
0021-inconsistant-inconsistent.patch
0022-expresion-expression.patch
0023-explicitely-explicitly.patch
0024-enviroment-environment.patch
0025-deafult-default.patch
0026-continous-continuous.patch
0027-completly-completely.patch
0028-commited-committed.patch
0029-choosen-chosen.patch
0030-backgroud-background.patch
0031-auxilliary-auxiliary.patch
0032-authentification-authentication.patch
0033-appropiate-appropriate.patch
0034-an-other-another.patch
0035-environement-environment.patch
0036-targetting-targeting.patch
0037-suppported-supported.patch
0038-paramater-parameter.patch
Revision
44428 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jun 1 08:08:39 2012 UTC (2 years, 7 months ago) by
moneta
File length: 19814 byte(s)
Diff to
previous 44366
apply patch provided by Tim Adye:
1) Save fit errors in detailed outputs' RooRealVars, rather than as separate
variables. If withErrorsAndPulls is specified, the asymmetric errors are also
saved. Work round bug #94908 by using RooTreeDataStore in
DetailedOutputAggregator and ToyMCImportanceSampler (can be removed when #94908
is fixed).
2) Fix detailed output dataset name and variable order (dsname_TS0 should be
first variable). Previously SamplingDistributions from importance sampling were
wrong (taken from the first global observable!).
3) Make detailed output for data available via
HypoTestResult::GetAllTestStatisticsData().
4) Don't save detailed output in HypoTestResult if it was not requested.
5) Rationalised the saving and restoring of parameters in ToyMCSampler. The POI
value in the workspace is not overwritten before calling the test stat (restores
behaviour from 5.32).
6) Remove unnecessary dataset copy in ToyMCImportanceSampler.
7) Fix ToyMCImportanceSampler double->int compiler warnings.
8) Fix minor memory leaks in HypoTestCalculatorGeneric, ToyMCSampler, and
ProfileLikelihoodTestStat.
9) Update streamer so PiecewiseInterpolation::setAllInterpCodes works for
objects created with ROOT 5.30.
Revision
44366 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed May 30 15:32:27 2012 UTC (2 years, 7 months ago) by
axel
File length: 19495 byte(s)
Diff to
previous 44266
Remove #include "Riostream.h" from roofitcore/inc/RooCacheManager.h, which pulls in using namespace std.
Deal with the consequences.
Revision
44266 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed May 16 12:32:18 2012 UTC (2 years, 8 months ago) by
moneta
File length: 19474 byte(s)
Diff to
previous 44034
apply some Coverity fixes
improve some error messaging in AsymptoticCalculator and automatically set onesideddiscovery if null snapshot is equal to minimum of parameter at construction time
Revision
43199 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 1 20:17:42 2012 UTC (2 years, 10 months ago) by
moneta
File length: 19261 byte(s)
Copied from:
branches/dev/roostats/roofit/roostats/src/ToyMCImportanceSampler.cxx revision 43195
Diff to
previous 43026
merge from the roostats development branch the new developments from Sven Kreiss:
new ToyMCImportanceSampler
new version of the ToyMCSampler that can use multiple test statistics and "detailed output" of those test statistics.
extension to the FrequentistCalculator that allows the user to manually specify the values for the signal nuisance parameters using SetConditionalMLEsNull/Alt().
make HypoTestResult managing now the SamplingDIstribution for null and alt
Revision
42983 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Mon Feb 13 12:49:05 2012 UTC (2 years, 11 months ago) by
sven
Original Path:
branches/dev/roostats/roofit/roostats/src/ToyMCImportanceSampler.cxx
File length: 19077 byte(s)
This is the second commit: adding ToyMCImportanceSampler and all related changes.
New: ToyMCImportanceSampler.cxx/h
Changed backend: ToyMCSampler.cxx/h, ToyMCStudy.cxx/h
TestStatistic.h:
- new function:
// return detailed output: for fits this can be pulls, processing time, ...
virtual const RooArgSet* GetDetailedOutput() const { return NULL; }
ProfileLikelihoodTestStat:
- OneSidedDiscovery option
- detailed output
- manually set TS label
- new functions:
void SetOneSidedDiscovery(Bool_t flag=true)
virtual void SetVarName(const char* name) { fVarName = name; }
virtual const TString GetVarName() const {return fVarName;}
virtual void EnableDetailedOutput( bool e=true )
virtual const RooArgSet* GetDetailedOutput(void) const
SimpleLikelihoodRatioTestStat:
- new functions:
virtual void EnableDetailedOutput( bool e=true )
virtual const RooArgSet* GetDetailedOutput(void) const
ToyMCSampler:
- removed importance sampling methods from ToyMCSampler and moved to ToyMCImportanceSampler
- for multiple test statistics:
virtual void SetTestStatistic(TestStatistic *testStatistic, unsigned int i)
virtual TestStatistic* GetTestStatistic(unsigned int i) const
virtual RooArgList* EvaluateAllTestStatistics(RooAbsData& data, RooArgSet& nullPOI)
virtual Double_t EvaluateTestStatistic(RooAbsData& data, RooArgSet& nullPOI, int i )
virtual void AddTestStatistic(TestStatistic* t = NULL)
virtual RooDataSet* GetSamplingDistributions(RooArgSet& paramPoint);
virtual RooDataSet* GetSamplingDistributionsSingleWorker(RooArgSet& paramPoint);
HybridCalculator and FrequentistCalculator:
- importance sampling options no longer required
HypoTestCalculatorGeneric.cxx:
- collect detailed output if present
HypoTestResult.cxx/h:
- new functions:
// copy constructor
HypoTestResult(const HypoTestResult& other);
RooDataSet* GetNullDetailedOutput(void) const
RooDataSet* GetAltDetailedOutput(void) const
const RooArgList* GetAllTestStatisticsData(void) const
void SetAltDetailedOutput(RooDataSet* d)
void SetNullDetailedOutput(RooDataSet* d)
void SetAllTestStatisticsData(const RooArgList* tsd)
FrequentistCalculator.cxx/h:
- new functions:
void SetConditionalMLEsNull( const RooArgSet* c )
void SetConditionalMLEsAlt( const RooArgSet* c )
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.