Common Analysis Framework » SFRAMEWORK » TSStatisticsCalculator

class TSStatisticsCalculator

__________________________________________________________________________________|___________

Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

protected:
voidclear()
virtual voiderror(TString message)
virtual TQFolder*fitPdfToData(RooAbsPdf* pdf, RooDataSet* data, const RooArgSet& constrain, TQTaggable* options = __null)
virtual TQFolder*fitPdfToData(RooAbsPdf* pdf, RooDataSet* data, const RooArgSet& constrain, const TString& options)
virtual voidinfo(TString message)
TQFolder*minimizeNll(const TString& options)
TQFolder*minimizeNll(TQTaggable* options)
voidresetOffset()
voidsetParameterErrors(TQTaggable* options, const TString& prefix)
voidsetParametersConstFloat(const RooArgSet* params, TQTaggable* options)
voidsetParametersConstFloat(const RooArgSet& params, TQTaggable* options)
voidsetParameterValues(TQTaggable* options, const TString& prefix)
voidsetup(const TString& datasetName, TQTaggable* options = __null)
voidsetup(RooAbsPdf* pdf, RooDataSet* data, const RooArgSet& constrain, TQTaggable* options)
virtual voidwarn(TString message)
private:
virtual Bool_tCheckTObjectHashConsistency() const

Data Members

protected:
RooStats::ModelConfig*fModelConfig
RooAbsReal*fNll
TQFolder*fSnapshots
RooWorkspace*fWorkspace

Class Charts

Inheritance Chart:
TSStatisticsCalculator
TSBreakdownCalculator
TSContourScanner
TSFitter
TSHypothesisTest
TSImpactCalculator
TSLikelihoodScanner
TSLimitCalculator
TSSignificanceCalculator

Function documentation

TSStatisticsCalculator(const char* className)
 default constructor
TSStatisticsCalculator(const char* className, RooWorkspace* ws)
 constructor taking workspace as an argument
TSStatisticsCalculator(const char* className, RooWorkspace* ws, TQFolder* snapshots)
 constructor taking workspace as an argument
~TSStatisticsCalculator()
 default destructor
void info(TString message)
 print an info message
void error(TString message)
 print an error message
void warn(TString message)
 print a warning message
Bool_t setWorkspace(RooWorkspace* ws)
 set the workspace
RooWorkspace * getWorkspace()
 obtain the workspace
TQFolder * fitPdfToData(const TString& datasetName, TQTaggable* options = __null)
 run a fit to the dataset with the given name using the given options
void setup(const TString& datasetName, TQTaggable* options = __null)
 setup a fit to the dataset with the given name using the given options
RooArgSet getPOIs(TQTaggable* options)
 get the parameters of interest in a RooArgSet
TQFolder * minimizeNll(const TString& options)
 run the minimizer
TQFolder * minimizeNll(TQTaggable* options)
 run the minimizer
RooArgSet* makeMinosArgSet(RooWorkspace* ws, const vector<TString>& filters)
 collect all variables from a workspace and make them into a RooArgSet suitable to pass to Minos according to the filters given
void setParameterValues(TQTaggable* options, const TString& prefix)
 the parameters in the workspace to the values given by the tags
void setParameterErrors(TQTaggable* options, const TString& prefix)
 the parameters in the workspace to the values given by the tags
TQFolder * fitPdfToData(RooAbsPdf* pdf, RooDataSet* data, const RooArgSet& constrain, const TString& options)
 fit a PDF to a dataset, given constraints and options
void setParametersConstFloat(const RooArgSet& params, TQTaggable* options)
 set parameters to constant or floating depending on the options given
void setParametersConstFloat(const RooArgSet* params, TQTaggable* options)
 set parameters to constant or floating depending on the options given
TQFolder * fitPdfToData(RooAbsPdf* pdf, RooDataSet* data, const RooArgSet& constrain, TQTaggable* options = __null)
 fit a PDF to a dataset, given constraints and options
void clear()
 delete all cached and temporary objects
void setup(RooAbsPdf* pdf, RooDataSet* data, const RooArgSet& constrain, TQTaggable* options)
 setup function to initialize the minimizer
bool loadSnapshot(TQTaggable* options)
 load a snapshot according to the options - if it doesn't exist, create it
void unfoldConstraints(RooArgSet& initial, RooArgSet& final, RooArgSet& obs, RooArgSet& nuis, Int_t& counter)
RooStats::ModelConfig* getModelConfig()
 obtain the modelconfig
RooArgSet getNuisanceParameters(TQTaggable* options)
 obtain the list of nuisance parameters
RooArgSet getNuisanceParameters(RooStats::ModelConfig* mc, RooWorkspace* ws, TQTaggable* options)
 obtain the list of nuisance parameters
const RooArgSet* getPOIs()
 obtain the list of parameters of interest
void resetOffset()
 reset the likelihood offset to the current coordinates
RooAbsPdf* getPdf()
 return the internal Pdf
RooSimultaneous* getSimPdf()
 retrieve the internal Pdf as a RooSimultaneous, returns NULL for any other Pdf type
RooCategory* getIndexCategory()
 retrieve the index category of the simPdf, returns NULL for any other Pdf type
const RooArgSet* getNuisanceParameters()
TSStatisticsCalculator(const char* className)
TQFolder * runCalculation(TQFolder* options = 0)