Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooAbsOptTestStatistic.h File Reference
#include "RooAbsTestStatistic.h"
#include "RooSetProxy.h"
#include "RooCategoryProxy.h"
#include "TString.h"
Include dependency graph for RooAbsOptTestStatistic.h:
This graph shows which files directly or indirectly include this file:

Classes

class  RooAbsOptTestStatistic
 Abstract base class for test statistics objects that evaluate a function or PDF at each point of a given dataset. More...
 

Functions

 ~RooAbsOptTestStatistic () override
 
virtual bool allowFunctionCache ()
 
const char * cacheUniqueSuffix () const override
 
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
double combinedValue (RooAbsReal **gofArray, Int_t nVal) const override
 
void constOptimizeTestStatistic (ConstOpCode opcode, bool doAlsoTrackingOpt=true) override
 
RooAbsDatadata ()
 
static const char * DeclFileName ()
 
RooAbsRealfunction ()
 
void initSlave (RooAbsReal &real, RooAbsData &indata, const RooArgSet &projDeps, const char *rangeName, const char *addCoefRangeName)
 
TClassIsA () const override
 
bool isDerived () const override
 
bool isSealed () const
 
void optimizeCaching ()
 
void optimizeConstantTerms (bool, bool=true)
 
void printCompactTreeHook (std::ostream &os, const char *indent="") override
 
RooAbsOptTestStatistic RooAbsTestStatistic R__DEPRECATED (6, 34, "RooAbsOptTestStatistic is a RooFit implementation detail that should not be instantiated in user code.")
 
bool redirectServersHook (const RooAbsCollection &newServerList, bool mustReplaceAll, bool nameChange, bool isRecursive) override
 
virtual RooArgSet requiredExtraObservables () const
 
 RooAbsOptTestStatistic (const char *name, const char *title, RooAbsReal &real, RooAbsData &data, const RooArgSet &projDeps, RooAbsTestStatistic::Configuration const &cfg)
 
 RooAbsOptTestStatistic (const RooAbsOptTestStatistic &other, const char *name=nullptr)
 
void runRecalculateCache (std::size_t firstEvent, std::size_t lastEvent, std::size_t stepSize) const override
 
void seal (const char *notice="")
 
const char * sealNotice () const
 
bool setDataSlave (RooAbsData &data, bool cloneData=true, bool ownNewDataAnyway=false) override
 
void setUpBinSampling ()
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Variables

RooArgSet _cachedNodes
 ! List of nodes that are cached as constant expressions
 
RooAbsData_dataClone = nullptr
 Pointer to internal clone if input data.
 
RooAbsReal_funcClone = nullptr
 Pointer to internal clone of input function.
 
RooArgSet_funcCloneSet = nullptr
 Set owning all components of internal clone of input function.
 
RooArgSet_funcObsSet = nullptr
 List of observables in the pdf expression.
 
double _integrateBinsPrecision {-1.}
 
RooArgSet_normSet = nullptr
 Pointer to set with observables used for normalization.
 
bool _optimized = false
 !
 
RooAbsData_origData = nullptr
 Original data.
 
RooAbsReal_origFunc = nullptr
 Original function.
 
bool _ownData = false
 Do we own the dataset.
 
RooArgSet_projDeps = nullptr
 Set of projected observable.
 
bool _sealed = false
 Is test statistic sealed – i.e. no access to data.
 
TString _sealNotice
 User-defined notice shown when reading a sealed likelihood.
 
bool _skipZeroWeights = false
 ! Whether to skip entries with weight zero in the evaluation
 

Function Documentation

◆ ~RooAbsOptTestStatistic()

R__DEPRECATED::~RooAbsOptTestStatistic ( )
override

◆ allowFunctionCache()

virtual bool R__DEPRECATED::allowFunctionCache ( )
protectedvirtual

Definition at line 39 of file RooAbsOptTestStatistic.h.

◆ cacheUniqueSuffix()

const char * R__DEPRECATED::cacheUniqueSuffix ( ) const
override

◆ Class()

static TClass * R__DEPRECATED::Class ( )
static
Returns
TClass describing this class

Definition at line 29 of file Class.C.

◆ Class_Name()

static const char * R__DEPRECATED::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t R__DEPRECATED::Class_Version ( )
staticconstexpr
Returns
Version of this class

Definition at line 66 of file RooAbsOptTestStatistic.h.

◆ combinedValue()

double R__DEPRECATED::combinedValue ( RooAbsReal **  gofArray,
Int_t  nVal 
) const
override

◆ constOptimizeTestStatistic()

void R__DEPRECATED::constOptimizeTestStatistic ( ConstOpCode  opcode,
bool  doAlsoTrackingOpt = true 
)
overrideprotected

◆ data()

RooAbsData & R__DEPRECATED::data ( )

Definition at line 104 of file TGWin32VirtualXProxy.cxx.

◆ DeclFileName()

static const char * R__DEPRECATED::DeclFileName ( )
static
Returns
Name of the file containing the class declaration

Definition at line 66 of file RooAbsOptTestStatistic.h.

◆ function()

const RooAbsReal & function ( )

Definition at line 11 of file RooAbsOptTestStatistic.h.

◆ initSlave()

void R__DEPRECATED::initSlave ( RooAbsReal real,
RooAbsData indata,
const RooArgSet projDeps,
const char *  rangeName,
const char *  addCoefRangeName 
)
protected

◆ IsA()

TClass * R__DEPRECATED::IsA ( ) const
override
Returns
TClass describing current object

Definition at line 66 of file RooAbsOptTestStatistic.h.

◆ isDerived()

bool R__DEPRECATED::isDerived ( ) const
override

Definition at line 21 of file RooAbsOptTestStatistic.h.

◆ isSealed()

bool R__DEPRECATED::isSealed ( ) const

Definition at line 24 of file RooAbsOptTestStatistic.h.

◆ optimizeCaching()

void R__DEPRECATED::optimizeCaching ( )
protected

◆ optimizeConstantTerms()

void R__DEPRECATED::optimizeConstantTerms ( bool  ,
bool  = true 
)
protected

◆ printCompactTreeHook()

void R__DEPRECATED::printCompactTreeHook ( std::ostream &  os,
const char *  indent = "" 
)
overrideprotected

◆ R__DEPRECATED()

RooAbsOptTestStatistic RooAbsTestStatistic R__DEPRECATED ( ,
34  ,
"RooAbsOptTestStatistic is a RooFit implementation detail that should not be instantiated in user code."   
)

◆ redirectServersHook()

bool R__DEPRECATED::redirectServersHook ( const RooAbsCollection newServerList,
bool  mustReplaceAll,
bool  nameChange,
bool  isRecursive 
)
overrideprotected

◆ requiredExtraObservables()

virtual RooArgSet R__DEPRECATED::requiredExtraObservables ( ) const
overrideprotectedvirtual

Definition at line 44 of file RooAbsOptTestStatistic.h.

◆ RooAbsOptTestStatistic() [1/2]

R__DEPRECATED::RooAbsOptTestStatistic ( const char *  name,
const char *  title,
RooAbsReal real,
RooAbsData data,
const RooArgSet projDeps,
RooAbsTestStatistic::Configuration const &  cfg 
)

◆ RooAbsOptTestStatistic() [2/2]

R__DEPRECATED::RooAbsOptTestStatistic ( const RooAbsOptTestStatistic other,
const char *  name = nullptr 
)

◆ runRecalculateCache()

void R__DEPRECATED::runRecalculateCache ( std::size_t  firstEvent,
std::size_t  lastEvent,
std::size_t  stepSize 
) const
overrideprotected

Definition at line 57 of file RooAbsTestStatistic.h.

◆ seal()

void R__DEPRECATED::seal ( const char *  notice = "")

Definition at line 23 of file RooAbsOptTestStatistic.h.

◆ sealNotice()

const char * R__DEPRECATED::sealNotice ( ) const

Definition at line 25 of file RooAbsOptTestStatistic.h.

◆ setDataSlave()

bool R__DEPRECATED::setDataSlave ( RooAbsData data,
bool  cloneData = true,
bool  ownNewDataAnyway = false 
)
overrideprotected

Definition at line 92 of file RooAbsTestStatistic.h.

◆ setUpBinSampling()

void R__DEPRECATED::setUpBinSampling ( )
private

◆ Streamer()

void R__DEPRECATED::Streamer ( TBuffer )
override

◆ StreamerNVirtual()

void R__DEPRECATED::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)

Definition at line 66 of file RooAbsOptTestStatistic.h.

Variable Documentation

◆ _cachedNodes

RooArgSet _cachedNodes
protected

! List of nodes that are cached as constant expressions

Definition at line 58 of file RooAbsOptTestStatistic.h.

◆ _dataClone

RooAbsData* _dataClone = nullptr
protected

Pointer to internal clone if input data.

Definition at line 51 of file RooAbsOptTestStatistic.h.

◆ _funcClone

RooAbsReal* _funcClone = nullptr
protected

Pointer to internal clone of input function.

Definition at line 52 of file RooAbsOptTestStatistic.h.

◆ _funcCloneSet

RooArgSet* _funcCloneSet = nullptr
protected

Set owning all components of internal clone of input function.

Definition at line 50 of file RooAbsOptTestStatistic.h.

◆ _funcObsSet

RooArgSet* _funcObsSet = nullptr
protected

List of observables in the pdf expression.

Definition at line 57 of file RooAbsOptTestStatistic.h.

◆ _integrateBinsPrecision

double _integrateBinsPrecision {-1.}
protected

Definition at line 64 of file RooAbsOptTestStatistic.h.

◆ _normSet

RooArgSet* _normSet = nullptr
protected

Pointer to set with observables used for normalization.

Definition at line 49 of file RooAbsOptTestStatistic.h.

◆ _optimized

bool _optimized = false
protected

!

Definition at line 63 of file RooAbsOptTestStatistic.h.

◆ _origData

RooAbsData* _origData = nullptr
protected

Original data.

Definition at line 62 of file RooAbsOptTestStatistic.h.

◆ _origFunc

RooAbsReal* _origFunc = nullptr
protected

Original function.

Definition at line 61 of file RooAbsOptTestStatistic.h.

◆ _ownData

bool _ownData = false
protected

Do we own the dataset.

Definition at line 54 of file RooAbsOptTestStatistic.h.

◆ _projDeps

RooArgSet* _projDeps = nullptr
protected

Set of projected observable.

Definition at line 53 of file RooAbsOptTestStatistic.h.

◆ _sealed

bool _sealed = false
protected

Is test statistic sealed – i.e. no access to data.

Definition at line 55 of file RooAbsOptTestStatistic.h.

◆ _sealNotice

TString _sealNotice
protected

User-defined notice shown when reading a sealed likelihood.

Definition at line 56 of file RooAbsOptTestStatistic.h.

◆ _skipZeroWeights

bool _skipZeroWeights = false
protected

! Whether to skip entries with weight zero in the evaluation

Definition at line 59 of file RooAbsOptTestStatistic.h.