Likelihood class that sums over multiple -log components.
The likelihood is often a product of components, for instance when fitting simultaneous pdfs, but also when using subsidiary pdfs. Hence, the negative log likelihood that we, in fact, calculate is often a sum over these components. This sum is implemented by this class.
Definition at line 25 of file RooSumL.h.
|
| RooSumL (RooAbsPdf *pdf, RooAbsData *data, std::vector< std::unique_ptr< RooAbsL > > components, RooAbsL::Extended extended=RooAbsL::Extended::Auto) |
|
void | constOptimizeTestStatistic (RooAbsArg::ConstOpCode opcode, bool doAlsoTrackingOpt) override |
| Interface function signaling a request to perform constant term optimization.
|
|
ROOT::Math::KahanSum< double > | evaluatePartition (Section events, std::size_t components_begin, std::size_t components_end) override |
|
std::string | GetClassName () const override |
|
const std::vector< std::unique_ptr< RooAbsL > > & | GetComponents () const |
|
ROOT::Math::KahanSum< double > | getSubsidiaryValue () |
|
| 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 | GetClassName () const =0 |
|
virtual std::string | GetInfo () const |
|
virtual std::string | GetName () const |
|
std::size_t | getNComponents () const |
|
std::size_t | getNEvents () const |
|
virtual std::unique_ptr< 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) |
|