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

Definition at line 31 of file RooBinnedL.h.

Public Member Functions

 RooBinnedL (RooAbsPdf *pdf, RooAbsData *data)
 
 ~RooBinnedL ()
 
ROOT::Math::KahanSum< doubleevaluatePartition (Section bins, std::size_t components_begin, std::size_t components_end) override
 Calculate and return likelihood on subset of data from firstEvent to lastEvent processed with a step size of 'stepSize'.
 
- 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 void constOptimizeTestStatistic (RooAbsArg::ConstOpCode opcode, bool doAlsoTrackingOpt)
 Interface function signaling a request to perform constant term optimization.
 
virtual double defaultErrorLevel () const
 
virtual std::string GetName () const
 
std::size_t getNComponents () const
 
std::size_t getNEvents () const
 
virtual RooArgSetgetParameters ()
 
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)
 

Private Attributes

std::vector< double_binw
 !
 
bool _first = true
 !
 
ROOT::Math::KahanSum< doublecachedResult_ = 0
 
std::unique_ptr< RooChangeTrackerparamTracker_
 

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/RooBinnedL.h>

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

Constructor & Destructor Documentation

◆ RooBinnedL()

RooBinnedL::RooBinnedL ( RooAbsPdf pdf,
RooAbsData data 
)

Definition at line 41 of file RooBinnedL.cxx.

◆ ~RooBinnedL()

RooBinnedL::~RooBinnedL ( )
default

Member Function Documentation

◆ evaluatePartition()

ROOT::Math::KahanSum< double > RooBinnedL::evaluatePartition ( Section  bins,
std::size_t  components_begin,
std::size_t  components_end 
)
overridevirtual

Calculate and return likelihood on subset of data from firstEvent to lastEvent processed with a step size of 'stepSize'.

If this an extended likelihood and and the zero event is processed the extended term is added to the return likelihood.

Implements RooFit::TestStatistics::RooAbsL.

Definition at line 88 of file RooBinnedL.cxx.

Member Data Documentation

◆ _binw

std::vector<double> RooFit::TestStatistics::RooBinnedL::_binw
mutableprivate

!

Definition at line 40 of file RooBinnedL.h.

◆ _first

bool RooFit::TestStatistics::RooBinnedL::_first = true
mutableprivate

!

Definition at line 39 of file RooBinnedL.h.

◆ cachedResult_

ROOT::Math::KahanSum<double> RooFit::TestStatistics::RooBinnedL::cachedResult_ = 0
mutableprivate

Definition at line 42 of file RooBinnedL.h.

◆ paramTracker_

std::unique_ptr<RooChangeTracker> RooFit::TestStatistics::RooBinnedL::paramTracker_
private

Definition at line 41 of file RooBinnedL.h.

Libraries for RooFit::TestStatistics::RooBinnedL:

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