Definition at line 32 of file RooAbsL.h.
|
struct | ClonePdfData |
| Convenience wrapper class used to distinguish between pdf/data owning and non-owning constructors. More...
|
|
struct | Section |
| A part of some range delimited by two fractional points between 0 and 1 (inclusive). More...
|
|
|
| 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 void | constOptimizeTestStatistic (RooAbsArg::ConstOpCode opcode, bool doAlsoTrackingOpt) |
| Interface function signaling a request to perform constant term optimization.
|
|
virtual double | defaultErrorLevel () const |
|
virtual ROOT::Math::KahanSum< double > | evaluatePartition (Section events, std::size_t components_begin, std::size_t components_end)=0 |
|
virtual std::string | GetName () const |
|
std::size_t | getNComponents () const |
|
std::size_t | getNEvents () const |
|
virtual RooArgSet * | getParameters () |
|
virtual std::string | GetTitle () const |
|
void | initClones (RooAbsPdf &inpdf, RooAbsData &indata) |
|
bool | isExtended () const |
|
virtual std::size_t | numDataEntries () const |
| Number of dataset entries.
|
|
void | setSimCount (std::size_t value) |
|
|
| RooAbsL (std::shared_ptr< RooAbsPdf > pdf, std::shared_ptr< RooAbsData > data, std::size_t N_events, std::size_t N_components, Extended extended) |
| After handling cloning (or not) of the pdf and dataset, the public constructors call this private constructor to handle common tasks.
|
|
#include <RooFit/TestStatistics/RooAbsL.h>
◆ Extended
◆ RooAbsL() [1/4]
RooFit::TestStatistics::RooAbsL::RooAbsL |
( |
std::shared_ptr< RooAbsPdf > |
pdf, |
|
|
std::shared_ptr< RooAbsData > |
data, |
|
|
std::size_t |
N_events, |
|
|
std::size_t |
N_components, |
|
|
Extended |
extended |
|
) |
| |
|
private |
After handling cloning (or not) of the pdf and dataset, the public constructors call this private constructor to handle common tasks.
Definition at line 54 of file RooAbsL.cxx.
◆ RooAbsL() [2/4]
Constructor that does not clone pdf/data and uses the shared_ptr aliasing constructor to make it non-owning.
This constructor is used for classes where a reference to the external pdf/dataset is good enough (RooSumL and RooSubsidiaryL).
- Parameters
-
inpdf | Raw pointer to the pdf. |
indata | Raw pointer to the dataset. |
N_events | The number of events in this likelihood's dataset. |
N_components | The number of components in the likelihood. |
extended | Set extended term calculation on, off or use Extended::Auto to determine automatically based on the pdf whether to activate or not. |
Definition at line 92 of file RooAbsL.cxx.
◆ RooAbsL() [3/4]
Constructor that clones the pdf/data and owns those cloned copies.
This constructor is used for classes that need a pdf/data clone (RooBinnedL and RooUnbinnedL).
- Parameters
-
in | Struct containing raw pointers to the pdf and dataset that are to be cloned. |
N_events | The number of events in this likelihood's dataset. |
N_components | The number of components in the likelihood. |
extended | Set extended term calculation on, off or use Extended::Auto to determine automatically based on the pdf whether to activate or not. |
Definition at line 76 of file RooAbsL.cxx.
◆ RooAbsL() [4/4]
RooFit::TestStatistics::RooAbsL::RooAbsL |
( |
const RooAbsL & |
other | ) |
|
◆ ~RooAbsL()
virtual RooFit::TestStatistics::RooAbsL::~RooAbsL |
( |
| ) |
|
|
virtualdefault |
◆ constOptimizeTestStatistic()
◆ defaultErrorLevel()
virtual double RooFit::TestStatistics::RooAbsL::defaultErrorLevel |
( |
| ) |
const |
|
inlinevirtual |
◆ evaluatePartition()
virtual ROOT::Math::KahanSum< double > RooFit::TestStatistics::RooAbsL::evaluatePartition |
( |
Section |
events, |
|
|
std::size_t |
components_begin, |
|
|
std::size_t |
components_end |
|
) |
| |
|
pure virtual |
◆ GetName()
std::string RooFit::TestStatistics::RooAbsL::GetName |
( |
| ) |
const |
|
virtual |
◆ getNComponents()
std::size_t RooFit::TestStatistics::RooAbsL::getNComponents |
( |
| ) |
const |
|
inline |
◆ getNEvents()
std::size_t RooFit::TestStatistics::RooAbsL::getNEvents |
( |
| ) |
const |
|
inline |
◆ getParameters()
RooArgSet * RooFit::TestStatistics::RooAbsL::getParameters |
( |
| ) |
|
|
virtual |
◆ GetTitle()
std::string RooFit::TestStatistics::RooAbsL::GetTitle |
( |
| ) |
const |
|
virtual |
◆ initClones()
◆ isExtended()
bool RooFit::TestStatistics::RooAbsL::isExtended |
( |
| ) |
const |
|
inline |
◆ isExtendedHelper()
◆ numDataEntries()
std::size_t RooFit::TestStatistics::RooAbsL::numDataEntries |
( |
| ) |
const |
|
virtual |
◆ setSimCount()
void RooFit::TestStatistics::RooAbsL::setSimCount |
( |
std::size_t |
value | ) |
|
|
inline |
◆ data_
std::shared_ptr<RooAbsData> RooFit::TestStatistics::RooAbsL::data_ |
|
protected |
◆ extended_
bool RooFit::TestStatistics::RooAbsL::extended_ = false |
|
protected |
◆ N_components_
std::size_t RooFit::TestStatistics::RooAbsL::N_components_ = 1 |
|
protected |
◆ N_events_
std::size_t RooFit::TestStatistics::RooAbsL::N_events_ = 1 |
|
protected |
◆ normSet_
std::unique_ptr<RooArgSet> RooFit::TestStatistics::RooAbsL::normSet_ |
|
protected |
◆ pdf_
std::shared_ptr<RooAbsPdf> RooFit::TestStatistics::RooAbsL::pdf_ |
|
protected |
◆ sim_count_
std::size_t RooFit::TestStatistics::RooAbsL::sim_count_ = 1 |
|
protected |
The documentation for this class was generated from the following files:
- roofit/roofitcore/inc/RooFit/TestStatistics/RooAbsL.h
- roofit/roofitcore/src/TestStatistics/RooAbsL.cxx