Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooFit::TestStatistics::RooSubsidiaryL Class Reference

Definition at line 25 of file RooSubsidiaryL.h.

Public Member Functions

 RooSubsidiaryL (const std::string &parent_pdf_name, const RooArgSet &pdfs, const RooArgSet &parameter_set)
 
void constOptimizeTestStatistic (RooAbsArg::ConstOpCode opcode, bool doAlsoTrackingOpt) override
 Interface function signaling a request to perform constant term optimization.
 
ROOT::Math::KahanSum< doubleevaluatePartition (Section events, std::size_t components_begin, std::size_t components_end) override
 
std::string GetName () const override
 
RooArgSetgetParameters () override
 
std::string GetTitle () const override
 
std::size_t numDataEntries () const override
 Number of dataset entries.
 
- Public Member Functions inherited from RooFit::TestStatistics::RooAbsL
 RooAbsL (ClonePdfData in, std::size_t N_events, std::size_t N_components, Extended extended=Extended::Auto)
 Constructor that clones the pdf/data and owns those cloned copies.
 
 RooAbsL (const RooAbsL &other)
 
 RooAbsL (RooAbsPdf *pdf, RooAbsData *data, std::size_t N_events, std::size_t N_components, Extended extended=Extended::Auto)
 Constructor that does not clone pdf/data and uses the shared_ptr aliasing constructor to make it non-owning.
 
virtual ~RooAbsL ()=default
 
virtual double defaultErrorLevel () const
 
std::size_t getNComponents () const
 
std::size_t getNEvents () const
 
void initClones (RooAbsPdf &inpdf, RooAbsData &indata)
 
bool isExtended () const
 
void setSimCount (std::size_t value)
 

Private Attributes

RooArgSet parameter_set_ {"parameter_set"}
 
std::string parent_pdf_name_
 
RooArgList subsidiary_pdfs_ {"subsidiary_pdfs"}
 

Additional Inherited Members

- Public Types inherited from RooFit::TestStatistics::RooAbsL
enum class  Extended { Auto , Yes , No }
 
- Static Public Member Functions inherited from RooFit::TestStatistics::RooAbsL
static bool isExtendedHelper (RooAbsPdf *pdf, Extended extended)
 
- Protected Attributes inherited from RooFit::TestStatistics::RooAbsL
std::shared_ptr< RooAbsDatadata_
 
bool extended_ = false
 
std::size_t N_components_ = 1
 
std::size_t N_events_ = 1
 
std::unique_ptr< RooArgSetnormSet_
 
std::shared_ptr< RooAbsPdfpdf_
 
std::size_t sim_count_ = 1
 

#include <RooFit/TestStatistics/RooSubsidiaryL.h>

Inheritance diagram for RooFit::TestStatistics::RooSubsidiaryL:
[legend]

Constructor & Destructor Documentation

◆ RooSubsidiaryL()

RooSubsidiaryL::RooSubsidiaryL ( const std::string &  parent_pdf_name,
const RooArgSet pdfs,
const RooArgSet parameter_set 
)

Definition at line 43 of file RooSubsidiaryL.cxx.

Member Function Documentation

◆ constOptimizeTestStatistic()

void RooSubsidiaryL::constOptimizeTestStatistic ( RooAbsArg::ConstOpCode  opcode,
bool  doAlsoTrackingOpt 
)
overridevirtual

Interface function signaling a request to perform constant term optimization.

The default implementation takes no action other than to forward the calls to all servers. May be overridden in likelihood classes without a cached dataset, like RooSubsidiaryL.

Reimplemented from RooFit::TestStatistics::RooAbsL.

Definition at line 77 of file RooSubsidiaryL.cxx.

◆ evaluatePartition()

ROOT::Math::KahanSum< double > RooSubsidiaryL::evaluatePartition ( RooAbsL::Section  events,
std::size_t  components_begin,
std::size_t  components_end 
)
overridevirtual

Implements RooFit::TestStatistics::RooAbsL.

Definition at line 58 of file RooSubsidiaryL.cxx.

◆ GetName()

std::string RooFit::TestStatistics::RooSubsidiaryL::GetName ( ) const
inlineoverridevirtual

Reimplemented from RooFit::TestStatistics::RooAbsL.

Definition at line 32 of file RooSubsidiaryL.h.

◆ getParameters()

RooArgSet * RooFit::TestStatistics::RooSubsidiaryL::getParameters ( )
inlineoverridevirtual

Reimplemented from RooFit::TestStatistics::RooAbsL.

Definition at line 31 of file RooSubsidiaryL.h.

◆ GetTitle()

std::string RooFit::TestStatistics::RooSubsidiaryL::GetTitle ( ) const
inlineoverridevirtual

Reimplemented from RooFit::TestStatistics::RooAbsL.

Definition at line 34 of file RooSubsidiaryL.h.

◆ numDataEntries()

std::size_t RooFit::TestStatistics::RooSubsidiaryL::numDataEntries ( ) const
inlineoverridevirtual

Number of dataset entries.

Typically equal to the number of dataset events, except in RooSubsidiaryL, which has no events.

Reimplemented from RooFit::TestStatistics::RooAbsL.

Definition at line 39 of file RooSubsidiaryL.h.

Member Data Documentation

◆ parameter_set_

RooArgSet RooFit::TestStatistics::RooSubsidiaryL::parameter_set_ {"parameter_set"}
private

Definition at line 51 of file RooSubsidiaryL.h.

◆ parent_pdf_name_

std::string RooFit::TestStatistics::RooSubsidiaryL::parent_pdf_name_
private

Definition at line 49 of file RooSubsidiaryL.h.

◆ subsidiary_pdfs_

RooArgList RooFit::TestStatistics::RooSubsidiaryL::subsidiary_pdfs_ {"subsidiary_pdfs"}
private

Definition at line 50 of file RooSubsidiaryL.h.

Libraries for RooFit::TestStatistics::RooSubsidiaryL:

The documentation for this class was generated from the following files: