[root] / trunk / roofit / roostats / inc / RooStats / ToyMCImportanceSampler.h Repository:
ViewVC logotype

Log of /trunk/roofit/roostats/inc/RooStats/ToyMCImportanceSampler.h

Parent Directory Parent Directory


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

Revision 46081 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 20 13:34:46 2012 UTC (2 years, 4 months ago) by moneta
File length: 8577 byte(s)
Diff to previous 44366
implement the possibility to pass the ConditionalObservables when creating the NLL or doing a fit
In this case the NLL will be computed by normalizing only on the observables and excluding the fglobal observables. 
See http://root.cern.ch/phpBB3/viewtopic.php?f=15&t=15312

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: 8102 byte(s)
Diff to previous 43199
Remove #include "Riostream.h" from roofitcore/inc/RooCacheManager.h, which pulls in using namespace std.
Deal with the consequences.

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: 8012 byte(s)
Copied from: branches/dev/roostats/roofit/roostats/inc/RooStats/ToyMCImportanceSampler.h revision 43195
Diff to previous 42983
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/inc/RooStats/ToyMCImportanceSampler.h
File length: 8012 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.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9